MIDI: Using Two Separate Graphs and Synths
MIDI: Using Two Separate Graphs and Synths
- Subject: MIDI: Using Two Separate Graphs and Synths
- From: Peter <email@hidden>
- Date: Mon, 23 Jan 2006 10:47:04 +1100
I have a Midi player application that allows a midi file to be played
either through the internal synth (using a simple AUGraph) or to an
external device ( using an endpoint).
I would now like to be able to route a users external keyboard through
to the same device so that a user can 'play along' with a file being
played. I have done some experiments where I can receive events from
the keyboard via a callback and re-send them to another external device
or to the internal synth, but I haven't really managed to combine the
two.
At the moment, to send to the internal synth I have two entirely
separate graphs and synths. This seems to work well but is this OK or
would it be better to merge the two graphs? If so, how is this done?
Also, if they are merged, how do I prevent the midi file from changing
the instrument that the user has selected for his external device, or
vice versa?
thanks!
Peter
www.fracturedSoftware.com
Rondo - Midi Made Easy
_______________________________________________
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