Re: Audio Unit that handle MIDI
Re: Audio Unit that handle MIDI
- Subject: Re: Audio Unit that handle MIDI
- From: Marc Poirier <email@hidden>
- Date: Thu, 26 Feb 2004 00:20:10 -0500 (EST)
Use the Component type code kAudioUnitType_MusicEffect rather than
kAudioUnitType_Effect.
Inherit from AUMIDIEffectBase rather than AUEffectBase.
Add the AUMIDIEffectBase.* and AUMIDIBase.* files to your project.
Override whatever virtual Handle* methods from AUMIDIBase that make sense
for you (e.g. HandleNoteOn, HandleNoteOff, HandleControlChange, etc.).
Marc
On Tue, 24 Feb 2004, Oron Cherry wrote:
>
Hello,
>
>
>
>
I would like to handle MIDI in an AU plug-in.
>
>
>From the skeleton documentation of AU classes I can see that one of the
>
steps required is
>
>
to inherit AUMIDIEffectBase instead of AUEffectBase.
>
>
(I refer to the documentation installed with AU SDK found in
>
Developer/Documentation/CoreAudio/AudioUnits/SDK/Classes/Index.html)
>
>
Well, this is what I did.
>
>
However, since I could find no documentation,
>
>
I can't tell what else is required.
>
>
My goal is to have the AU plug-in run in Logic and receive MIDI events.
>
>
Is this supported at all in AU/Logic or the only way is to write a
>
MusicDevice?
>
>
There, the problem is that the only way to have audio input is via
>
SideChain.
>
>
Any ideas?
>
>
>
>
Thanks,
>
>
Oron
>
_______________________________________________
>
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.
_______________________________________________
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.