Re: Subject: MusicDevice/HandleNoteOne/Render
Re: Subject: MusicDevice/HandleNoteOne/Render
- Subject: Re: Subject: MusicDevice/HandleNoteOne/Render
- From: Olivier Tristan <email@hidden>
- Date: Tue, 28 Jun 2005 16:02:34 +0200
Daan Hermans wrote:
Hi (first post here),
I am currently working on what must be probably my third try in
porting the Delay Lama to an AU-instrument. In the VST version we got
a list of midi (or VST) events from the host, used our own written
code to place these in the comming process buffer and handled them
sample-accurate with our smoother.
In order to build something similair in AU, I come accros some
questions. Most important is: should I overwrite
HandleMIDIPacketList(*) or HandleMidiEvent(*) functions from
AUMIDIBase in order to be able to process several MidiEvents, coming
in the same buffer. Or can I just use the HandleNoteOn(*) and other
midi functions with their inStartFrame value. And how does this work
when there are more then one midiEvents of the same type in one
Rendering buffer (this especialy was the case with our use of the
pitch-controller to have 14 bit control over the vowel position in our
vst version)?? And are there any hosts yet working with the
StartNote(*)/StopNote(*) calls?
I'm currently reading how to work with the XCode debugger, so I can
get into more of these kinds of things via the back-door and have a
little peak myself, but any hints on using the debugger (basically
just for stepping through code as it is running) are welcome.
But handling more then one event of the same type within one rendering
frame is the biggest ? I have at the moment.
Any help appreciated.
Hi,
Just inherit from MusicDeviceBase and redefine HandleMidiEvent, it will
be just like processEvents when events are VstMidiEvent except that data
has been already split in AU.
Hope this helps
--
Olivier Tristan
Ultimate Sound Bank
_______________________________________________
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