MIDI to hUGETracker
Turn a MIDI song into a hUGETracker song file (.uge) for Game Boy music and GB Studio, with each part on one of the Game Boy’s four sound channels. Hear it first, then save it.
Runs on your device
1. Choose a MIDI file
Drop a MIDI file here
or
Files ending in .mid, .midi, .kar, .smf or .rmi.
Chosen file:
2. Put each part on a channel
The Game Boy has four sound channels and each plays one note at a time: Duty 1 and Duty 2 are square waves (good for tunes and harmony), Wave is smoother (good for bass), and Noise is for drums. Tick where each part plays. One part can go on more than one channel, such as a piano’s top notes on Duty 1 and its low notes on Wave.
| Part | Notes | Range | Duty 1 | Duty 2 | Wave | Noise | Octave |
|---|
What each channel plays
3. Listen and save
The preview is a rough copy of the Game Boy’s sound, worked out in your browser. Click the notes picture to choose where the preview starts (while it plays, it jumps there).
Each strip is one channel, named on the left. Thin lines mark each 64 row pattern. With the picture focused, the left and right arrow keys choose where the preview starts.
About the song
Worth knowing
Every note fitted. Nothing was left out.
See the patterns as hUGETracker shows them
Nothing to show yet.
4. Fine tuning (optional)
The defaults work for most songs. Every change here updates the song and the preview straight away.
Song name and timing
How finely the rhythm is kept. More rows keep fast notes exact but use more patterns.
Lower is faster.
Duty 1 sound
Duty 2 sound
Wave sound
Drum sounds (Noise)
Choose a part on the Noise channel to set its drums here.
| Drum in the MIDI | Hits | Game Boy sound |
|---|
More options
For a long song, convert one part at a time. Leave To bar empty to go to the end.
How it works
Your MIDI file is read by your own browser, in the background, and never sent anywhere. The tool lines the notes up on a grid of rows, as a tracker does, gives each Game Boy channel one note at a time, picks drum sounds for the noise channel, and writes a hUGETracker song file (format version 6, the one the current hUGETracker and GB Studio open and save). The preview plays that same file through a small copy of the Game Boy’s sound chip, so what you hear is what you will get, give or take.
Using the song in GB Studio
Put the .uge file in your project’s assets/music folder. GB Studio picks it up, and you can open it in its music editor or play it with the Play Music event. To change it in hUGETracker, open the same file there and save it again.
Why some notes go missing
Each channel plays one note at a time, so when a part plays a chord the tool keeps one note (the highest, unless you choose otherwise) and lists how many it left out. To keep more of a chord, put the same part on a second channel and choose “The second highest note” there, or choose Arpeggio, the classic chiptune trick of flicking quickly between the notes of a chord. The noise channel plays one drum at a time too: kicks and snares win over hi-hats.
Note names and range
The duty channels play from C2 to B7 (MIDI notes 36 to 107). hUGETracker names notes one octave higher than usual: its C-5 is middle C. Notes outside the range are moved by octaves until they fit, unless you choose otherwise under More options.
Tempo
The Game Boy player moves on by a whole number of ticks each row, about 60 ticks a second, so most tempos can only be matched closely, not exactly. The tool picks the nearest speed and tells you the tempo it will really play at. Tempo changes in the song become speed changes (effect F) in the patterns.
What the tool writes into the patterns
Notes with instrument numbers, and only these effects: C (loudness, for note velocity), E (note cut, where a note ends), 0 (arpeggio, if you choose it) and F (speed, for tempo changes). Instruments 1 and 2 are the Duty 1 and Duty 2 sounds; the wave and noise instruments are named, so you can swap them in hUGETracker. A pattern that repeats exactly is stored once and used again in the order list.