aupreset values
aupreset values
- Subject: aupreset values
- From: Brad Howes via Coreaudio-api <email@hidden>
- Date: Mon, 18 May 2020 10:31:19 +0200
Hi,
I’m wondering if there is any documentation for the values one finds in an
‘aupreset’ file? In particular the constants for ‘control’, ‘destination’,
'scale’, ‘source’, and ‘transform’ values in a ‘Connections’ array. I suspect
these are all just internal values to the audio units being used. I am using
the modern AVAudioSampler in an iOS app and I would like to offer controls for
the shape of the envelope that is used by the instrument when it generates
output. I know from experiments with AU Lab what destination values to use (I
think):
attack time - 570425244
hold time - 571473920
decay time - 572522496
release time - 573571072
sustain level - 574619649
In AULab there are also some ‘* Factor’ destinations for the above times, but I
am not clear how these affect the final envelope.
As mentioned, my ultimate goal is to allow the user to adjust the filter shape
with performance parameter changes, just like in AU Lab, by performing the
following steps:
Load a soundtont file
Fetch the preset definition from AVAudioSampler via
kAudioUnitProperty_ClassInfo property
Modify preset with the proper parameter definitions and connections as gleaned
from AU Lab presets
Update the AUAudioSampler with the changed preset definition
Does this seem reasonable? Thanks in advance for any doc / reference links you
can provide.
Regards,
Brad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden