Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU instrument on top of complete MIDI synth



Hello,

I am writing an AU Instrument on top of our existing MIDI synthesizer. I want to just pass it MIDI events and harvest mixed audio out the back. I will handle all the voice allocation in my code.

I looked at the SinSynth example from the CoreAudio SDK. But it just implements note synthesis and lets CoreAudio do the voice allocation. That won't work.

I have looked at the AU docs and it really isn't very clear how to do this. I implemented this using VST and it was trivial. A few questions:

1) Should I extend MusicDeviceBase or AUMIDIBase classes?

2) In SinSynth, the Render method only does one note at a time. Should I override a Render() method or the AUKernelBase Process() method?

3) Are there any AU instrument example programs that handle their own MIDI events?

Thanks,
Phil Burk



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.