• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subject: MusicDevice/HandleNoteOne/Render
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subject: MusicDevice/HandleNoteOne/Render


  • Subject: Re: Subject: MusicDevice/HandleNoteOne/Render
  • From: William Stewart <email@hidden>
  • Date: Tue, 28 Jun 2005 11:10:36 -0700


On 28/06/2005, at 6:49 AM, 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)??

All of the HandleNoteOn(*) calls are just vectored down for you from HandleMIDIEvent and they all pass on the sample offset. So, unless you need to do something in particular these calls are a more convenient way to handle these messages I think.


These calls can/will be called multiple times if there are multiple events to be scheduled for any particular render call of course.

And are there any hosts yet working with the StartNote(*)/StopNote (*) calls?

None that I know of, however, the base classes we provide vector both ways of start/stop-ing notes to single calls


Bill


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.


Daan Hermans AudioNerdz _______________________________________________ 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

--
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
________________________________________________________________________ __


_______________________________________________
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


References: 
 >Subject: MusicDevice/HandleNoteOne/Render (From: Daan Hermans <email@hidden>)

  • Prev by Date: Re: Question about kAudioDevicePropertyStreamFormatMatch in a user space driver
  • Next by Date: Re: Subject: MusicDevice/HandleNoteOne/Render
  • Previous by thread: Re: Subject: MusicDevice/HandleNoteOne/Render
  • Next by thread: Re: Subject: MusicDevice/HandleNoteOne/Render
  • Index(es):
    • Date
    • Thread