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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]
  • aupreset values Brad Howes via Coreaudio-api

Reply via email to