Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » Python Midi Package » Instrument
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: Python Midi Package

Instrument

Posted by Anonymous User at 2008-07-17 06:28 PM
Hey Guys,

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 by Anonymous User at 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