i'm unable to switch the instrument. I tried midi.instrument_name('Piano'), midi.instrument_name('Bass'), ... but nothing happened. What's wrong with my code?
Thanks!
patch_change
Posted byAnonymous Userat
2008-07-22 01:14 AM
Try midi.patch_change(channel, patch). The standard patch map is at http://www.midi.org/about-midi/gm/gm1sound.shtml
i'm unable to switch the instrument. I tried midi.instrument_name('Piano'), midi.instrument_name('Bass'), ... but nothing happened. What's wrong with my code?
Thanks!