Re: MusicDevice AU Sample Code
Re: MusicDevice AU Sample Code
- Subject: Re: MusicDevice AU Sample Code
- From: Bill Stewart <email@hidden>
- Date: Tue, 08 Oct 2002 10:52:44 -0700
on 7/10/02 11:46 PM, Airy Andri wrote:
>
Le lundi, 7 oct 2002, ` 22:44 Europe/Paris, Pev a icrit :
>
>> It only responds to Midi Note On and Note Off.
>
>> It does not respond to StartNote, StopNote and al the family.
>
>> LogicAudio does not seem to use that.
>
> I was wondering about that from the API - Do you know if this the
>
> intended
>
> behaviour from all hosts? If so, what is the purpose of the StartNote
>
> and
>
> StopNote when the same is covered by the MIDI messages?
>
>
StartNote and StopNote can do more the just Note On and Note Off.
>
It works at a higher level, can work with groups of notes...
Start Note ONLY starts a single note
Stop Note ONLY stops a single note
The use of groups is not that different from MIDI Channels except for the
following:
When you start a note you specify which instrument you use, so there is no
direct association of an instrument with a group. A group then becomes some
logical ordering for the purpose of controlling notes and is *not* tied to a
particular instrument.
This is different from MIDI where a channel is tied (generally at least) to
a particular instrument. But if you split a keyboard, (assign different
instruments to different key ranges) - then you kind of have the same
idea...
>
But since all Audio/Midi apps work with single notes and MIDI messages
>
to send notes to
>
"real" synth (that's the way MIDI works), it seems rather natural to
>
see the first hosts to use the MIDI interface of AU. That's way,
>
dealing with softsynth is the same that dealing with hardsynth : just
>
transmit the MIDI stream to the synth.
Sure - but its actually simpler (and this is how our synth is done) to
implement the control of the synth using the extended API and you get MIDI
for free.
Where going to try and pull out all of this code into the base classes,
which would then leave a simple set of Note type classes for any
implementation of a soft-synth
Bill
>
I'll add the higher level interface to my code as soon as we have a
>
host that support it to test it...
>
>
Airy
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
--
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.