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

Re: built-in (DLS) equivalent of QTMA instruments?


  • Subject: Re: built-in (DLS) equivalent of QTMA instruments?
  • From: Jeremy Sagan <email@hidden>
  • Date: Fri, 11 Apr 2008 22:39:12 -0400

Hello Joe,

I believe, and I could be wrong since I haven't dealt with this code in a very long time, with the default setting of Apple's DLSMusicDevice there are drum kits on bank number 1. So if you send a MIDI controller bank change (to bank 1) followed by a MIDI program change you will get drum sounds.

Jeremy

On Apr 11, 2008, at 3: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


References: 
 >built-in (DLS) equivalent of QTMA instruments? (From: Joe Strout <email@hidden>)

  • Prev by Date: built-in (DLS) equivalent of QTMA instruments?
  • Next by Date: Re: built-in (DLS) equivalent of QTMA instruments?
  • Previous by thread: built-in (DLS) equivalent of QTMA instruments?
  • Next by thread: Re: built-in (DLS) equivalent of QTMA instruments?
  • Index(es):
    • Date
    • Thread