You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a General purpose Soundfornt https://www.philscomputerlab.com/uploads/3/7/2/3/37231621/weedsgm3.sf2 and want to access the individual instruments in iOS Objective-C but when I load the soundFont with [_synthesizer loadSoundfontFromFileAtURL:@"weedsgm3.sf2" error:&error] and use noteOn/noteOff commands I hear only the 1st instrument in the list. Using the availableInstruments method from MIKMIDISynthesizer.m returns an empty array. Issuing the commands with different channel values (0-15) does not make any difference.
I have a General purpose Soundfornt https://www.philscomputerlab.com/uploads/3/7/2/3/37231621/weedsgm3.sf2 and want to access the individual instruments in iOS Objective-C but when I load the soundFont with [_synthesizer loadSoundfontFromFileAtURL:@"weedsgm3.sf2" error:&error] and use noteOn/noteOff commands I hear only the 1st instrument in the list. Using the availableInstruments method from MIKMIDISynthesizer.m returns an empty array. Issuing the commands with different channel values (0-15) does not make any difference.
Playing back a mult-track multi-instrument .mid file like https://en.wikipedia.org/wiki/File:MIDI_sample.mid?qsrc=3044#file with [_midiSequencer startPlayback]; does not play the instruments either even though I have loaded the multi-instrument soundFont.
Can someone please let me know how to do this? A working code example will be great:-)
The text was updated successfully, but these errors were encountered: