Firmware & scripts to play SNDH files on YM2149 chip
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md Fix images paths Oct 15, 2016
main.c Fix compilation errors on recent GCC (> gcc 7 ?) versions Jul 23, 2018
sndh-stats.py Add some tools to play with sndh files Sep 27, 2016
stream-sndh-2.py Cleaning output of stream-sndh-2.py Oct 12, 2016
stream-sndh.py
stream-ym.py Some cleanup Oct 12, 2016
ym2149-pic-v2.png Adding schematic & updated README Oct 15, 2016
ym2149-schematic-v2.png Adding schematic & updated README Oct 15, 2016
ym2149.c
ym2149.h Have chip play the music ! Sep 22, 2016

README.md

Title: ym2149-sndh

Atmega 328P Firmware code + Python scripts to play YM and SNDH files on the YM2149.

To build the and flash the firmware:

$ make flash

The repository includes a couple of scripts:

  • stream-ym.py to play YM files on the YM2149 chip
  • stream-sndh.py to play SNDH files on the YM2149 chip
  • stream-sndh-2.py to play SNDH files on the YM2149 chip.

The stream-sndh-2.py is faster than stream-sndh.py but consumes more CPU. It can be useful to play some 'digi' sounds.

Not all SNDH files are currently supported. More optimization would be required.

The design supported is the following one:

YM2149 schematic V2

YM2149 driven by Arduino Nano V2

A video of the YM2149 playing a Relix tune is available on Youtube.