Main product image for OPL2 Audio Board
Product image 1 for OPL2 Audio Board
Product image 2 for OPL2 Audio Board
Product image 3 for OPL2 Audio Board
Product image 4 for OPL2 Audio Board
YM3812 OPL2 FM-synthesizer board for Arduino and Raspberry Pi compatible dev boards
Synth

OPL2 Audio Board

Sold by Cheerful Electronic

$34.54

No tax for United States [change]
Do you want a kit with all the parts to assemble the board yourself, or do you want it fully assembled and tested ready to go?
An extra OPL2 chip and DAC you can use as spare or to experiment with
3D printed enclosure with 4 screws
Stock available: 10
Check
Original Design
This product was designed by Cheerful Electronic. By buying this product you support original hardware creators.

The OPL2 Audio Board is a synthesizer board for your Arduino, Teensy, Raspberry Pi or basically any board with an SPI interface and a few extra IO pins! It uses the classic YM3812 OPL2 sound chip. The same chip that was used on the Adlib and Sound Blaster sound cards. You can use it to play back music of your favorite classic DOS games on a real chip, compose your own tunes and whacky sound effects, or build your own synthesizer and play around with the YM3812's FM-synthesis.

You control the OPL2 Audio Board using the Arduino OPL2 library that communicates with the board using SPI. The library includes a number of examples, such as a tune player, players for various vidoe game music formats, drum and MIDI examples, to help you get up and running quickly.

Here is some inspiration for your projects

  • Build your own retro synthesizer or MIDI keyboard. You can use the Piano Board to add a small piano keyboard.
  • Play simple tunes from a string that resembles the QBasic PLAY command
  • Play vintage video game music files (DRO, IMF)
  • Play Reality Adlib Tracker (RAD) files
  • Use it as a real OPL2 with DosBox
  • Use it as a MIDI device (requires Teensy 2.0++ or later)
  • Use it as a synthesizer together with the OPL3BankEditor by Wohlstand
  • Library includes instrument defintions from Adlib, The Fat Man (many DOS games), Windows 3.1 Sound Blaster drivers

What about the hardware and software?

You can choose to get a board fully assembled and tested or as a kit to assemble yourself. For kits I always test the ICs before sending! The kit is very easy to assemble and the software library comes with a bunch of examples to get you started within an hour.

The software is very easy to use and extend so you can incorporate it into your own projects without too much hassle. The OPL2 library allows you to:

  • Get easy access to all of the OPL2 registers
  • Every OPL2 setting is exposed as a separate function
  • Load predefined instruments or create your own
  • No need to do any bit twiddling, or calculate register offsets

Since I don't like to discriminate between development platforms the software is the same for Arduino and Raspberry Pi like boards. It is easy to switch between target platforms by changing a variable. By default platform is set for Arduino, Teensy, Node MCU, etc. For Raspberry Pi, Orange Pi and other Pi like boards an installation script is provided that will take care of all the hard work to compile and install the library.

Audio quality of the OPL2 Audio Board is great, although I recommend using it with active (amplified) speakers for the best results.

Before shipping the chips in each kit or assembled board are tested to confirm that they are 100% working. Please be aware that the YM3812 chip is no longer in production and therefore you will receive chips that may have been recycled, but tested to be fully functioning.

Enclosure

I now also offer a 3D printed enclosure for your OPL2 Audio Board. The enclosure comes as two parts printed in stylish Vertigo Grey PLA and 4 screws. Please note that if you order an assembled board with the enclosure that you will still have to put the board into the enclosure yourself.

If you want to print the enclosure yourself then you can download the STL files here: https://www.printables.com/model/263388-opl2-audio-board-enclosure/files.

Links to code and documentation

Documentation (github.com)

Code (github.com)

Shipping policy

Orders will be shipped through PostNL within 1 week of ordering

This product does not ship to United States.
Here are some extras that might be useful for your project!
Build your retro synthesizer with the OPL2 Audio Board and the Piano Keyboard

The seller

Cheerful Electronic

Cheerful Electronic logo

Helmond, Noord-Brabant, Netherlands
0 orders since Mar 18, 2026
We create innovative electronics projects and kits for makers and enthusiasts worldwide. Our projects are designed to work with Arduino and compatible development boards, making them perfect for both beginners and experienced electronics enthusiasts.