• 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
Core Audio and Soundfonts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Audio and Soundfonts


  • Subject: Core Audio and Soundfonts
  • From: Bryan Brooks <email@hidden>
  • Date: Wed, 28 Nov 2007 13:23:33 -0800 (PST)

I'm writing a program that is using user specified SoundFonts to play Midi using an instrument from that SoundFont.  I'm trying to compile a list of the instruments contained within the SoundFont.  I'm messing around in the example provided in CoreAudio/SimpleSDK/PlaySoftMIDI.  I thought by using:

UInt32 bankNum = 0;
UInt32 sizeBankNum = sizeof(bankNum);

 AudioUnitGetProperty(synthUnit, kMusicDeviceProperty_InstrumentCount, kAudioUnitScope_Global, 0, &bankNum, &sizeBankNum);

I would be able to get the number of instruments contained within the SoundFont.  Am I wrong in this assumption?  If I am does anyone have any suggestions.

Thanks
Bryan


Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
 _______________________________________________
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: Core Audio and Soundfonts
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Problem adding a background NSImageView in a Cocoa View AU?
  • Next by Date: Re: Core Audio and Soundfonts
  • Previous by thread: Re: Problem adding a background NSImageView in a Cocoa View AU?
  • Next by thread: Re: Core Audio and Soundfonts
  • Index(es):
    • Date
    • Thread