This project is a hardware Video Game Music (VGM) player that uses a genuine YM2612 synthesizer chip + SN76489AN PSG. This project is driven by an STM32 “Blue Pill” board, chosen for it’s ample speed, I/O, and best of all, price!
Included in this repository is the source code for the project, all of the schematic files, and a completed Ki-CAD printed circuit board /w Gerber files. Feel free to produce your own board!
Information about the main sound chips and VGM
The YM2612 is a 6-channel FM synthesizer IC that was most prominently featured in the Sega Genesis (AKA Megadrive) home video game console. The YM2612 was also featured in the FM-Towns home computer and the Sega C2 Arcade System. The YM2612 also had a CMOS alias that is functionally identical named the YM3438. The SN76489 is a 3-channel + 1 noise channel programmable sound generator (PSG) that was popular with several early video game systems and home computers. Most notably, the SN76489 was featured in the Sega Master system, the predecessor to the Genesis. To allow for backwards compatibility, Sega included a clone of the SN76489 in their new Genesis consoles. Programmers and sound designers could leverage the SN76489 to add three more square wave channels to the YM2612’s 6-channels of FM synth, creating 9 channels + 1 noise channels in total. While this player was designed with the Genesis in mind, it can play back any VGM files designed for the Master System, FM-Towns PC, C2 machine, or any other machine that used the YM2612/YM3438 and/or the SN76489. This project synthesizes music from .VGM files in real time on genuine hardware. There is no emulation here.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Maker Business — To make it through a tough business cycle, layoffs should be a last resort
Wearables — Hot glue’s undo button
Electronics — Servo Pulses
Python for Microcontrollers — Python on Microcontrollers Newsletter: CircuitPython 6.2.0 released, and More! #Python #Adafruit #CircuitPython @micropython @ThePSF
Adafruit IoT Monthly — ESP Earrings, RP2040 WiFi, and more!
Microsoft MakeCode — Mechanical Coin Bank
EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey
New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NEW PRODUCT – Adafruit ItsyBitsy RP2040
No comments yet.
Sorry, the comment form is closed at this time.