AU parameter names and units
AU parameter names and units
- Subject: AU parameter names and units
- From: Frank Schoep <email@hidden>
- Date: Thu, 15 Feb 2007 12:23:28 +0100
Hello,
I've got two questions regarding Audio Unit development again, I'm
expanding the capabilities of my "diatonic" pitch shifter and I've
bumped into two problems.
First I have the precision of my pitch parameters: using the unit
"semi-tones" AU Lab displays values like "-0.51" or "0.11" but it
chops off any extra digits after that. If I use "cents" AU Lab shows
"-51" and "11" but chops off any decimal digits so you do not get any
extra precision it seems.
Is there a way to flag the parameter (different unit?) or hint AU Lab
to show more digits?
Second, I have parameters named "unison", "minor second", "fourth"
and so on to set the pitch per note. It would be very useful to be
able to add the absolute note (C, C#, F) to the parameter name, but
those depend on the value of the root note. The current parameter
layout is like this:
scale root: [ C ], [ C# ], [ D ] ... [ B ]
unison: -1200 ... +1200 Cents
minor second: -1200 ... +1200 Cents
...
major seventh: -1200 ... +1200 Cents
Is there a way to change (multiple) parameter names on the fly?
I've looked into Technical Note TN2104 and the AU Programming Guide,
but both talk about parameter values and not parameter names.
http://developer.apple.com/technotes/tn2002/tn2104.html
http://developer.apple.com/documentation/MusicAudio/Conceptual/
AudioUnitProgrammingGuide/TheAudioUnitView/chapter_5_section_7.html
Thanks in advance for your help.
With kind regards,
Frank Schoep
[The attachment Diatonic Shifter.png has been manually removed]
_______________________________________________
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