• 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
built-in (DLS) equivalent of QTMA instruments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: built-in (DLS) equivalent of QTMA instruments?
      • From: William Stewart <email@hidden>
    • Re: built-in (DLS) equivalent of QTMA instruments?
      • From: Jeremy Sagan <email@hidden>
  • Prev by Date: Re: Meta Parameters
  • Next by Date: Re: built-in (DLS) equivalent of QTMA instruments?
  • Previous by thread: Re: terminating thread operation
  • Next by thread: Re: built-in (DLS) equivalent of QTMA instruments?
  • Index(es):
    • Date
    • Thread