probonopd
3e64e44152
|
2 weeks ago | |
---|---|---|
.github/workflows | 2 weeks ago | |
CMSIS_5@8a64562247 | 3 years ago | |
Synth_Dexed@c9f52741a8 | 2 weeks ago | |
circle-stdlib@3bd135d35a | 2 weeks ago | |
src | 2 weeks ago | |
.gitignore | 2 weeks ago | |
.gitmodules | 2 weeks ago | |
README.md | 4 months ago | |
USBID.sh | 1 year ago | |
build.sh | 2 weeks ago | |
getsysex.sh | 10 months ago | |
submod.sh | 2 weeks ago |
README.md
MiniDexed
MiniDexed is a FM synthesizer closely modeled on the famous DX7 by a well-known Japanese manufacturer running on a bare metal Raspberry Pi (without a Linux kernel or operating system). On Raspberry Pi 2 and larger, it can run 8 tone generators, not unlike the TX816/TX802 (8 DX7 instances without the keyboard in one box). Featured by HACKADAY, Adafruit, and Synth Geekery.
Demo songs
Listen to some examples made with MiniDexed by Banana71 here.
Features
- Uses Synth_Dexed with circle-stdlib
- SD card contents can be downloaded from GitHub Releases
- Runs on all Raspberry Pi models (except Pico); see below for details
- Produces sound on the headphone jack, HDMI display or audio extractor (better), or a dedicated DAC (best)
- Supports multiple voices through Program Change and Bank Change LSB/MSB MIDI messages
- Loads voices from
.syx
files from SD card (e.g., usinggetsysex.sh
or from Dexed_cart_1.0.zip) - Menu structure on optional HD44780 display and rotary encoder
- Runs up to 8 Dexed instances simultaneously (like in a TX816) and mixes their output together
- Allows for each Dexed instance to be detuned and stereo shifted
- Allows to configure multiple Dexed instances through
performance.ini
files (e.g., converted from DX1, DX5, TX816, DX7II, TX802) - Compressor effect
- Reverb effect
- Voices can be edited over MIDI, e.g., using the synthmata online editor (requires additional hardware)
Introduction
Video about this project by Floyd Steinberg:
System Requirements
- Raspberry Pi 1, 2, 3, 4, or 400. Raspberry Pi Zero and Zero 2 can be used but need HDMI or a supported i2s DAC for audio out. On Raspberry Pi 1 and on Raspberry Pi Zero there will be severely limited functionality (only one tone generator instead of 8)
- Raspberry Pi 5 can be used but currently support is experimental: HDMI sound and USB Gadget mode are not available yet, and it is not clear if there are implications for cooling from running MiniDexed. Also, MiniDexed is currently not taking advantage of the higher processing power of the Raspberry Pi 5 yet. Hence, you may consider using one of the less expensive, older Raspberry Pi boards for your first build.
- A PCM5102A or PCM5122 based DAC, HDMI display or audio extractor for good sound quality. If you don't have this, you can use the headphone jack on the Raspberry Pi but on anything but the Raspberry 4 the sound quality will be seriously limited
- Optionally (but highly recommended), an LCDC1602 Display (with or without i2c "backpack" board) and a KY-040 rotary encoder
Usage
- In the case of Raspberry Pi 4, Update the firmware and bootloader to the latest version (not doing this may cause USB reliability issues)
- Download from GitHub Releases
- Unzip
- Put the files into the root directory of a FAT32 formatted partition on SD/microSD card (Note for small SD cards which are no longer sold: If less than 65525 clusters, you may need to format as FAT16.)
- Put SD/microSD card into Raspberry Pi 1, 2, 3 or 4, or 400 (Zero and Zero 2 can be used but need HDMI or a supported i2c DAC for audio out)
- Attach headphones to the headphone jack using
SoundDevice=pwm
inminidexed.ini
(default) (poor audio quality) - Alternatively, attach a PCM5102A or PCM5122 based DAC and select i2c sound output using
SoundDevice=i2s
inminidexed.ini
(best audio quality) - Alternatively, attach a HDMI display with sound and select HDMI sound output using
SoundDevice=hdmi
inminidexed.ini
(this may introduce slight latency) - Attach a MIDI keyboard via USB (alternatively you can build a circuit that allows you to attach a "traditional" MIDI keyboard using a DIN connector, or use a DIN-MIDI-to-USB adapter)
- If you are using a LCDC1602 with an i2c "backpack" board, then you need to set
LCDI2CAddress=0x27
(or another address your i2c "backpack" board is set to) inminidexed.ini
- Boot
- Start playing
- If the system seems to become unresponsive after a few seconds, remove
usbspeed=full
fromcmdline.txt
and repeat (details) - Optionally, put voices in
.syx
files onto the SD card (e.g., usinggetsysex.sh
) - See the Wiki for Menu operation
- For voice programming, use any DX series editor (using MIDI sysex), including Dexed
- For library management, use the dedicated MiniDexedLibrarian software
- If something is unclear or does not work, don't hesitate to ask!
Pinout
All devices on Raspberry Pi GPIOs are optional.
Please see the wiki for more information.
Downloading
Compiled versions are available on GitHub Releases. Just download and put on a FAT32 formatted SD card.
Building
Please see the wiki on how to compile the code yourself.
Contributing
This project lives from the contributions of skilled C++ developers, testers, writers, etc. Please see https://github.com/probonopd/MiniDexed/issues.
Discussions
We are happy to hear from you. Please join the discussions on https://github.com/probonopd/MiniDexed/discussions.
Documentation
Project documentation is at https://github.com/probonopd/MiniDexed/wiki.
Acknowledgements
This project stands on the shoulders of giants. Special thanks to:
- raphlinus for the MSFA sound engine
- asb2m10 for the Dexed software
- dcoredump for Synth Dexed, a port of Dexed for embedded systems
- rsta2 for Circle, the library to run code on bare metal Raspberry Pi (without a Linux kernel or operating system) and for the bulk of the MiniDexed code
- smuehlst for circle-stdlib, a version with Standard C and C++ library support
- Banana71 for the sound design of the Soundplantage performances shipped with MiniDexed
- BobanSpasic for the MiniDexedLibrarian software, MiniDexed performance converter and collection of performances for MiniDexed
- diyelectromusic for many contributions