• 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: AU instrument on top of complete MIDI synth
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU instrument on top of complete MIDI synth


  • Subject: Re: AU instrument on top of complete MIDI synth
  • From: William Stewart <email@hidden>
  • Date: Mon, 19 Jun 2006 17:58:28 -0700

MusicDeviceBase and you can overwrite the Render method - should be a simple enough place to plugin your code to do what you want.

The AUKernelBase is implemented for AUEffectBase - which is for effects, not instruments, so doesn't apply here.

Bill

On 19/06/2006, at 3:10 PM, Phil Burk wrote:

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:
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: 
 >AU instrument on top of complete MIDI synth (From: Phil Burk <email@hidden>)

  • Prev by Date: Re: Streaming Graph to file without a sound
  • Next by Date: Re: Monitoring input level
  • Previous by thread: AU instrument on top of complete MIDI synth
  • Next by thread: Surround info please
  • Index(es):
    • Date
    • Thread