Skip to content

Instantly share code, notes, and snippets.

@ARival
Last active May 23, 2019 23:29
Show Gist options
  • Save ARival/877c341f2d449bba056b048bcb91a065 to your computer and use it in GitHub Desktop.
Save ARival/877c341f2d449bba056b048bcb91a065 to your computer and use it in GitHub Desktop.

MOD2GBT Guide

Frequencies

MOD2GBT supports use of notes from C3 to B8.

Instruments

CHANNEL RANGE NOTES
1 1-4 Pulse Channel. Both channels 1 and 2 use the same instruments.
2 1-4 Pulse Channel.
3 8-15 Wave Channel. Volume is usually a bit lower than other channels.
4 16-31 Noise Channel. Pitch doesn't change with frequency (always C5).

Effects

EFFECT NAME NOTES
0xy Arpeggio x = 2nd note and y = 3rd note, in semitones. Only works in channels 1, 2 and 3
Bnn Jump to pattern Jump to specific pattern nn (hex)
Cnn Volume Sets the volume to nn (in hex). Valid values from 00h to 40h. Channel 3 can only be set to 0%, 25%, 50% and 100%. Others can be set in a range of 0-Fh.
Dnn End Pattern Ends this pattern and jumps to position nn (in decimal) in next pattern. If used on the last step of a pattern it will jump two patterns, not one!
E8n Pan Sets the panning to n (in hex). 0-3 = Left, 4-B = Center, C-F = Right.
ECn Cut Note Cut Note after n ticks. If n > speed or n = 0, it won't work.
Fnn Speed Sets speed to nn (in hexadecimal). Valid values are 01h to 1Fh. The higher the value, the slower the song. BPM speed not supported.

Effects are limited in channel 3 when setting a new note (only half of them are available). It shouldn't be a problem since the effects that can't be used are control commands that can be used by other channels.


  • You should set volume and instrument whenever you put a new note!! *
  • You should set instrument whenever you change volume in CH3!! *
  • You should always put an instrument whenever you use arpeggio!! *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment