MusicDevice and soundfonts
MusicDevice and soundfonts
Hello,
I am trying to use the MusicDevice for soundfont2 in OS 10.1.5 and all I get
is silence.
I am trying to use it directly as an audiounit. I have other apple
audiounits working properly. I can get a valid instruments count and
instrument name, so I know that the soundfont is at least semi-loaded.
The big thing (I think) is that I am using solely the MIDI protocol. I do
not use prepare instrument. What am I doing wrong?
MusicDeviceMIDIEvent(m_audioUnit, status, midiData[1], midiData[2],
deltaFrames);
I render the audiounit with:
AudioUnitRenderSlice(m_audioUnit, 0, &theTime,
output, &myAudioBuffer);
also the time field I use I set up myself and only fill in and set the
kAudioTimeStampSampleTimeValid flag.
Thanks,
Jeremy
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.