The following minimal file crashes MMA:
Tweaks DefaultDrum=0(Similar for
DefaultTone and
DefaultVoice)
Traceback (most recent call last):
File "/home/jv/bin/mma", line 84, in <module>
import MMA.main
File "/home/jv/src/mma/MMA/main.py", line 157, in <module>
MMA.parse.parseFile(f)
File "/home/jv/src/mma/MMA/parse.py", line 96, in parseFile
parse(f)
File "/home/jv/src/mma/MMA/parse.py", line 165, in parse
simpleFuncs[action](l[1:])
File "/home/jv/src/mma/MMA/tweaks.py", line 46, in setTweak
MMA.pat.defaultDrum = MMA.midiC.decodeVoice(opt)
UnboundLocalError: local variable 'MMA' referenced before assignment