VOGONS


First post, by florian3

User metadata
Rank Member
Rank
Member

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 attachment fbdb-b.jpg is no longer available

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.

The attachment fpsc-i.jpg is no longer available

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.

The attachment soundcard_w_db.jpg is no longer available

Reply 1 of 7, by aitotat

User metadata
Rank Member
Rank
Member

Wow, I'm really impressed! Great work!

My youtube channel

Reply 2 of 7, by crusher

User metadata
Rank Member
Rank
Member

Wow, this sounds like the real ultimate all-in-one soundcard and daughterboard of my dream!
I hope I can purchase it ready built at some time...

Really very impressive 😀
Keep up your work!

Reply 3 of 7, by igna78

User metadata
Rank Member
Rank
Member

It’s amazing! Cogratulation

Reply 4 of 7, by florian3

User metadata
Rank Member
Rank
Member
crusher wrote on Yesterday, 07:30:
Wow, this sounds like the real ultimate all-in-one soundcard and daughterboard of my dream! I hope I can purchase it ready built […]
Show full quote

Wow, this sounds like the real ultimate all-in-one soundcard and daughterboard of my dream!
I hope I can purchase it ready built at some time...

Really very impressive 😀
Keep up your work!

Thanks, I do have no plans to sell hardware though 😀.
At the moment the availability of the 45F FPGAs I used does not look good. For the daughterboard I had it partially assembled and hand-soldered the ICs.
For the smaller FPGA that is on the soundcard it looks better but that one is not ideal for the daughterboard because it does not fit larger synths (and most of the smaller synths could probably run on an MCU and don't really need an FPGA).

Reply 5 of 7, by crusher

User metadata
Rank Member
Rank
Member
florian3 wrote on Yesterday, 13:02:

Thanks, I do have no plans to sell hardware though 😀.

What a pity 🙁
I think this product is built for the masses and would have a huge interest in retro community.
If you have one for sale some day, feel free to contact me!

Reply 6 of 7, by zaphod77

User metadata
Rank Member
Rank
Member

Please test the db50 emulation with the ff7 xg midi soundtrack, as well as phaze1.mid.

Alternatively, just port s-mu2000 to it, using native engine and native fx in mu basic mode. That will cover any and all retro xg midi.

Reply 7 of 7, by florian3

User metadata
Rank Member
Rank
Member
zaphod77 wrote on Today, 09:42:

Please test the db50 emulation with the ff7 xg midi soundtrack, as well as phaze1.mid.

Alternatively, just port s-mu2000 to it, using native engine and native fx in mu basic mode. That will cover any and all retro xg midi.

I did most of the XG testing with FFVII soundtrack on MAME's implementation and compared to my DB50XG, XR385, SW60XG hardware. Stock MAME had a few problems, so my reference is now a patched version of it. I will do another test run with phaze1.mid, thanks!

So far I had ruled out MU2000 because its hardware won't fit my current hardware's FPGA, ROM storage and RAM. However a port that only supports MU basic might be possible, at least in terms of ROM size.