Re: built-in (DLS) equivalent of QTMA instruments?
Re: built-in (DLS) equivalent of QTMA instruments?
- Subject: Re: built-in (DLS) equivalent of QTMA instruments?
- From: William Stewart <email@hidden>
- Date: Fri, 11 Apr 2008 19:44:33 -0700
You just set the patch number on the appropriate channel (typically,
for GS mode this is channel 10). There is a GS sys ex message you can
set as well to put the synth into this mode (which I think it might be
in by default)
On Apr 11, 2008, at 12:13 PM, Joe Strout wrote:
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
_______________________________________________
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