built-in (DLS) equivalent of QTMA instruments?
built-in (DLS) equivalent of QTMA instruments?
- Subject: built-in (DLS) equivalent of QTMA instruments?
- From: Joe Strout <email@hidden>
- Date: Fri, 11 Apr 2008 13:13:38 -0600
I'm trying to replace some older code that relied on the (now
deprecated) QuickTime Music Architecture with direct CoreAudio code.
The goal is just to be able to play a note with a given instrument,
note number, and velocity. (And please excuse any terminology gaffes
in the following -- I'm not an expert on MIDI, nor on audio in general.)
I've found that when I iterate over the instruments returned by the
default audio unit, I find 234 entries. These include several
different banks for different variations of each instrument, but if I
just look at the ones where the bank select MSB and LSB are 0, then
these seem to match up to GM instruments 0-127 as played by QTMA.
However, QTMA also provided one or more drum kits, using instrument
numbers in the range 16385-16512. I don't seem to find any drum kits
when iterating through the default audio unit.
Backwards compatibility with existing code is important here, so can
anyone tell me how I would get the same drum kit sounds that QTMA
produces with instrument 16385, using CoreAudio directly?
Thanks,
- Joe
_______________________________________________
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