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
|
|
|
|
|
2011-07-26 22:49:39 +00:00
|
|
|
// Loop to set channel volume to 80 (not channel 1)
|
2009-05-17 22:34:44 +00:00
|
|
|
|
2011-07-26 22:49:39 +00:00
|
|
|
Set Channel 0xb1
|
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
|
|
|
|
|