A GM/GS keyboard or module should be reset at the beginning of each sequence so that the instrument levels, pan settings, reverb and chorus levels and MIDI channels all return to their default values. After this reset, any program changes or controller messages that are subsequently sent should cause the correct result. A GS Reset should be sent in the first measure of the sequence, before any other MIDI data occurs.
Send the following message to perform a GS Reset:
F0 41 10 42 12 40 00 7F 00 41 F7
Send the following message to perform a GS Reset:
F0 41 10 42 12 40 00 7F 00 41 F7