2009-05-17 22:34:44 +00:00
|
|
|
// Synth initialize. This is my personal file
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
|
2009-05-17 22:34:44 +00:00
|
|
|
// GM Reset. May or may not be a good idea. See reset.mma for comments.
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2009-05-17 22:34:44 +00:00
|
|
|
MIDI 0xF0 0x05 0x7E 0x7F 0x09 0x01 0xF7
|
|
|
|
|
|
|
|
// Loop to set channel volume to 80
|
|
|
|
|
|
|
|
Set Channel 0xb0
|
2006-11-10 08:07:56 +00:00
|
|
|
10
|
|
|
|
MIDI $Channel 0x07 0x50 // channel volume == 80
|
|
|
|
Inc Channel
|
2009-05-17 22:34:44 +00:00
|
|
|
If LE $Channel 0xbf
|
2006-11-10 08:07:56 +00:00
|
|
|
goto 10
|
|
|
|
Endif
|
|
|
|
|
|
|
|
MIDI 0xb0 0x07 0x7f // set track 0 volume to max
|
|
|
|
|
|
|
|
// Give a moment of rest to make sure everything takes.
|
|
|
|
// Probably not needed for most syths, but doesn't hurt.
|
|
|
|
|
|
|
|
beatadjust 1
|
|
|
|
|