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 (
Never miss a thing. Make Yahoo your homepage.
_______________________________________________
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