Message: 5
Date: Tue, 26 Sep 2006 14:47:45 -0400
From: Craig Bakalian <email@hidden>
Subject: MusicDeviceBase
To: email@hidden
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset="us-ascii"
Hi,
I am thinking about designing my own DLS using a subclass of the
MusicDeviceBase. But, before I venture on this journey, I have a
couple of questions pertaining to the Audio Unit Class Hierarchy.
When I create the standard Apple DLS I do the standard component code
and connect it to a graph or an output unit. Then I do the standard
mapping of channels and wire the Apple DLS up to a midi controller of
some sort with AUMIDIControllerMapChannelToAU
(midiController,-1,synthUnit,-1,true);
Now what I don't get is the implementation of the MusicDeviceBase as
it is stated in the documentation. When a mapped midi controller is
sending MIDI events to the Apple DLS Syth, what code is being fired
for channel events?
The AULab documentation gives a brief description of how the MusicDevice MIDI routing works:
Is there an array of instrument timbres of some
sort that isn't in the MusicDeviceBase? I think my question is - how
does the Apple DLS Synth relate to the MusicDeviceBase?
It inherits from it.
And I think
this question relates to the structure of the Class Hierarchy. There
is plenty of documentation for effect units, is there more
documentation for Music Devices?