Re: Music Device and channel handshake
Re: Music Device and channel handshake
- Subject: Re: Music Device and channel handshake
- From: Makira <email@hidden>
- Date: Mon, 31 Jan 2005 18:11:19 -0500
>> So I guess you mean it's not a valid value to set ? Meaning a -1 or -2
>> value
>> means any positive value excluding zero? The documentation could be
>> clearer.
>
> The docs here I think are very clear.
>
> Zero is nothing - how can it be either positive or negative?
[...]
>
> Correct - but even so, setting a stream format with a num channels == 0
> is not sensible.
In general, I agree, but in some rare case it might be useful:
- an enveloppe analyser AU with {{1,0}, [1,1}}. In the 1->0 case, it just
displays the current enveloppe, in the 1->1 case it could also output that
value.
- a soft synth that can optionaly be modulated by an input {{0,1}, [1,1}}.
In the 0->1 case it works normally and in the {1,1} case it works with some
internal parameters modulated by the input sound.
While this is very hypothetic, it would be nice to support. That's why I was
wondering about -1 and -2 specifially excluding 0. Even a {0,0} AU unit
could be useful: a MIDI event generator taking into account any information
not based on input and outputs (midi events, beat and tempo, etc.).
But then again, these are extreme, unlikely cases.
Thanks for the quick answer,
Antoine
_______________________________________________
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