Re: Multichannel AU bus names
Re: Multichannel AU bus names
- Subject: Re: Multichannel AU bus names
- From: Stefan Gretscher <email@hidden>
- Date: Tue, 26 Feb 2008 17:35:47 +0100
A couple of comments regarding Logic:
- unlike AU Lab, Logic currently ignores the element name
Please file a bug against Logic if this feature is important for
your product.
- instead, it uses the name of the plug-in and adds the output number
Logic's built-in plug-ins can provide shorter versions of their
names, much like described by Brian below for other strings.
However this is not possible for AU plug-ins at this point,
resulting in the behaviour observed by Martin.
I'd suggest to file a bug if you feel the AU standard should allow
for length-dependent names for a given plug-in (like it does for
parameter names already).
(and maybe localization of the name could be provided in that same
context.)
- this thread made me aware that Logic currently does not support
kAudioUnitProperty_ParameterIDName
I just filed a bug myself about that (5765687).
Best,
Stefan
Am 14.02.2008 um 23:10 schrieb Brian Willoughby:
Oops. I made a couple of assumptions. First, that UltraBeat has
two different strings for it's output bus, "UltraBeat 3/4" when
there is enough space, and "UB 3/4" when there is less space.
Second, I assumed that Martin wanted the ability to have both short
and long names for his plugin output bus. If someone wanted to do
what I was suggesting, they'd actually need to override the
AUElement class implementation of GetName(), and I wouldn't imagine
that is a supported way to fit bus names into varying amounts of
space.
Seems that Martin really just wants to set the bus names to a string
of his choosing. None of the fancy stuff. So Bill's answer
addresses this directly.
Brian
On Feb 14, 2008, at 10:25, William Stewart wrote:
The bus names will show up in AULab - the AUElement class has the
space for them. All you need to do is set the names. Something like
this in your constructor:
CreateElements(); //makes sure the elements are created first!
GetInput(0)->SetName (CFSTR("My Input Element Name"); // presuming
of course you have an input element
GetOutput(0)->SetName (CFSTR("My Output Element Name");
Bill
On Feb 14, 2008, at 10:03 AM, Brian Willoughby wrote:
On Feb 14, 2008, at 02:55, Martin Saleteg wrote:
I am searching in docs and sources for a place to change the
output names for the busses of multichannel plugins. In Logic 8,
if I have a long plugin name like "My Very Long Plugin", the main
stereo output shows up as "My Very" and due to limited space, the
following output buses will show the same, not very informative.
On the other hand, UltraBeat shows the extra outputs as "UB 3/4",
I would like to implement the same behavior "MVLP 3/4" for my
plugin. What do I need to do?
case kAudioUnitProperty_ParameterClumpName:
{
AudioUnitParameterIDName &name = *(AudioUnitParameterIDName
*)outData;
name.outName = NULL;
if (name.inID && name.inID < sizeof(kParamClumpNames)/
sizeof(kParamClumpNames[0]))
{
if (kAudioUnitParameterName_Full == name.inDesiredLength
|| CFStringGetLength(kParamClumpNames[name.inID]) <=
name.inDesiredLength)
name.outName = kParamClumpNames[name.inID];
else
name.outName = kParamShortClumpNames[name.inID];
name.outName = CFStringCreateCopy(NULL, name.outName);
}
return noErr;
}
_______________________________________________
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
------------------------------------
Stefan Gretscher
plug-in development & 3rd party developer support
phone: (+49)-4101-495-586 (Central European Time)
AU developer support: email@hidden
TDM developer support: email@hidden
Apple GmbH
Geschäftsführung: Georges Guyon de Chemilly
Sitz der Gesellschaft: München
Amtsgericht München, HRB 66158
_______________________________________________
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