top of page
2021 — Ym2413+instrumentsbin
Unlocking FM Synthesis: The Ultimate Guide to the YM2413 and the Mysterious "instruments.bin"
Understanding YM2413 instruments.bin: Unlocking OPLL Sound Synthesis
Technical Report: Analysis of YM2413 FM Synthesis and the instruments.bin Parameter Set
Why can't you just rename a .wav file to .bin ? Because the YM2413 speaks a very strict hardware language. ym2413+instrumentsbin
FILE *f = fopen("instruments.bin", "wb"); fwrite(&voice, 1, sizeof(voice), f); fclose(f); return 0; Unlocking FM Synthesis: The Ultimate Guide to the
2. The Software: instruments.bin
- 9 channels (6 melodic + 3 rhythm)
- 15 built-in instruments (piano, organ, trumpet, etc.)
- 1 custom instrument (user-defined via a 8-byte patch)
- 4 operators per instrument (in 2×2 configuration)
- Supports percussion mode (bass drum, snare, tom, cymbal, hi-hat)
bottom of page