First post, by florian3
In the last three months I built a waveblaster daughterboard and a soundcard based on Lattice ECP5 FPGAs. I thought I would share where I am at with the project.
I used AI tools throughout the project, including for the RTL, firmware tooling and board design.
The daughterboard is a full size waveblaster board with an up to 44k LUT FPGA, 32MB parallel NOR, and 512KB-2MB SRAM.
The decision to use parallel NOR was mainly made because it seemed the best fit for my initial goal to build a board that supports MT32 and SC55.
The daughterboard currently supports the following synth emulations, only one can be active, switched via MIDI commands:
- Roland SC55, SC55mkII, SC88, SC88Pro, SC8820, MT32/CM32L, CM64
- Creative/E-Mu Waveblaster CT1900, CT1910, E-Mu 8000 1MB ROM
- Kurzweil VGM (AVM Summit, Mac Wave Maker), MA-1 (Turtle Beach Pinnacle, AVM Apex)
- Yamaha FB01, DB50XG, MU100, OPL4 (Logitech Soundman Wave, Audiotrix Pro with effects board)
- ICS Wavefront with Yamaha YSS225 effects (Turtle Beach Tropez Plus)
- Ensoniq Soundscape S-2000 (incl. Elite effects, but I don’t have the Elite sound ROM)
- Orchid Soundwave 32 (Prosonus and Invision ROMs)
- Korg NS5R
I am still looking to add support for MU80, Proteus 1 and Korg AG10/05RW and maybe some more low-end synths like QS1000.
The current hardware does not have enough storage for all sound ROMs and FPGA bitstreams at the same time.
An interesting finding was that newer firmware for the Soundscape (.CO0) includes the code for the effects processor of the Soundscape Elite, even though the Elite uses firmware (.CO2) that matches its sound ROM. While I don’t have an Elite I added emulation of the ES5510 effects processor based on MAME to run the Classic ROM with effects.
Unlike the Soundscape Elite the Turtle Beach Tropez Plus controls its effects processor globally and not via MIDI CC91, CC93, so I added a “Tropez Plus Plus” mode the handles CC91, CC93. Here are some recordings of these modes: https://www.fptr.net/recordings/Duke_Nukem_3D … -Preparation_D/
The Roland emulation is mostly based on Nuked’s work + SC88 is based on gearmulator.
OPL4 is based on OpenMSX
Yamaha is based on MAME + custom
Wavefront is based on MAME + custom
Soundscape is based on MAME
Orchid, Waveblasters, Kurzweil and Korg are custom
Some other open source FPGA cores such as fx68k, TG68, T80 and the SH-2 core from Saturn MiSTer are also used.
My plan is to share the RTL at some point. It is currently tied to my prototype hardware.
Accuracy varies. It tries to be bit-accurate with the reference software implementation. Everything that is custom tries to match the hardware as captured at the DAC, but most are not bit-accurate with effects added. Some (like OPL4) I have not compared at all against real hardware yet.
These synth bitstreams generally run the original firmware on FPGA implementations of the processors, so firmware and sample ROMs must be provided as assets. Uploads are done via the board’s UART. Combined with the sound card below that’s about 400kB/s, so it’s not too bad when switching ROM sets for the larger synths.
There is currently no support for displays or buttons, only MIDI commands.
I started working on the sound card after the synth emulation and it will require a lot more testing. The board was initially mainly designed as a “carrier” for the daughterboard to provide faster ROM uploads and a MIDI return channel.
The current prototype is a 16bit ISA card. It has an FPGA with 24k LUTs, a Pico 2 MCU, some flash, 0-8MB SRAM, 2 ADCs for 4 line-ins.
The ISA interface is connected to the FPGA, I wired up almost all ISA signals, way more than needed because I thought they might be useful someday. The MCU does not do much: parts of MPU401 and some management, switching between FPGA bitstreams and mixer settings.
It currently supports Adlib, SB Pro 2.0, SB16 (no ASP), WSS, OPL3, PAS, PAS16 (not its MIDI), Adlib Gold (with effects board, w/o MIDI), GUS ACE, IBM Music Feature, ESFM, CQM, Tandy 3 voice, CMS, SSI-2001. Not all of those fit into the same FPGA bitstream, so I have various combinations. It also supports MT32+SB and SC55+SB without the daughterboard.