Project page... https://www.retroimperfections.com/wavepi/
Discussion Forum... https://www.vogons.org/viewtopic.php?f=62&t=65908
WavePi aims to be a Open Source, all in one synth solution for older PCs that lack the grunt to use modern synthesizer software.
Meant mainly to be a drop-in replacement for a Waveblaster daughterboard for a SoundBlaster card for the 90’s, however it can also be configured for several different uses. You can connect to any Midi port, or even through serial to the host machine. This device can also act as a standalone synth in a professional music stack. Plug it into a Midi Keyboard or Guitar and use it to rock out!
I use it to play old games on my MS-DOS pc with improved music, but I also built one for my Mom to practice piano with on a old 90’s Yamaha Midi keyboard I found at goodwill. (My synth sounds far more realistic than the built in synth) I decided to keep the project 100% open source in hopes that this project will continue on long after I am no longer able to work on it.
The components required for this are simple.
- Small computer running Linux (preferably debian). 1gb ram or greater is strongly recommended for best results.
- Midi interface of some kind (USB, Serial, etc…)
- DAC of some kind to pump out the audio with
- Something to send it Midi data with (MS-DOS games, Midi Instrument, etc…)
The hardware I am developing this project with is as follows…
- Raspberry Pi 3B+ running Raspbian.
- Serial 2 Midi interface wired into Waveblaster header on MS-DOS PC
- USB DAC plugged into the Ras Pi
- Intel 486 DX2 PC running MS-DOS 6.22 and a Soundblaster 16 with the Rasp Pi wired into it for Midi Data and power.
I will be making a rasbian image for the ras pi 3, but I want to add a few more features first.
The installation instructions are as follows, keep in mind that the project is in beta state right now.
- Install debian based os on your synth device. For Raspberry Pi's I strongly recommend raspbian lite (no gui = more ram)
- (OPTIONAL) I highly recommend enabling openssh-server so you can remotly manage the files and whatnot using putty and filezilla -- sudo apt install openssh-server -yy && sudo systemctl enable ssh
- (OPTIONAL)update rasbian to latest firmware and whatnot. -- sudo rpi-update
- Update other packages -- sudo apt update && sudo apt upgrade -yy && reboot
- configure audio levels -- alsamixer
- (optional, but STRONGLY recommended) change default password for pi user. -- passwd
- Use wget to download latest WavePi release -- wget https://github.com/t9999clint/WavePi/archive/v0.9.0.tar.gz
- use tar to extract the archive -- tar xzf v0.9.0.tar.gz
- rename extracted folder to WavePi -- mv WavePi-0.9.0 WavePi
- change to WavePi directory -- cd WavePi
- make it executable -- chmod +x ./install.sh
- run install-munt.sh as root to compile and install munt to your system. Go get some coffee this will take a bit. -- sudo ./install.sh
- copy over soundfonts and munt rom files to appropriate folders using filezilla or something.
- change to the configs subfolder -- cd ../configs
- use aplay to get your alsa device number. -- aplay -l
- edit main.cfg file and modify the device numbers to match your hardware -- nano main.cfg
- edit the 000.cfg and modify the soundfont settings to match the soundfont you downloaded. -- nano 000.cfg
- (optional) create more config files by copying the 000.cfg and configure them for other soundfonts. -- cp 000.cfg 003.cfg
- reboot -- sudo reboot
Now there are two ways to control WavePi, either by using the wavepi command, or by sending it special sysex messages.
- wavepi 000 : By entering in a 3 digit number it will attempt to load a config file matching that number in the sonfigs folder. if no file is found it will attempt to load the default config instead (usually 000.cfg).
- wavepi configfile.cfg : By entering a config file, must have .cfg as an extention and contain no spaces in it's filepath/name, wavepi will load that instead of using a numbered config in the config folder.
- wavepi soundfont.sf2 : By entering a .sf2 file, wavepi will start it up using the soundfont.sh script. (all files cannot contain spaces in it's name or folder path)
- wavepi stop : By entering this command, wavepi will check what synth is currently running and stop it using the pkill -P PID command. (please note that the script is smart enough to only allow one synth to run at a time, if you start a synth while one is already running, it'll stop the currently running one first)
- These messages are using the same format as the ones that Falcosoft MidiPlayer uses. F0 66 04 00 F7 is for config 000, F0 66 04 09 F7 is for config 009 (there is currently a bug that limits this to only 000-009)
- This can be sent from MS-DOS using this script... https://downloads.kor.ninja/Music/wavepi/sysex.zip