A python synthesizer sort of thing you can play on your computer or laptop keyboard or midi input.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
harrysentonbury d921de87a5 finer attack fade control 2 weeks ago
images added logo jpeg 2 months ago
keyboards dir to keep presets 6 months ago
.gitignore added ignore pycache 3 weeks ago
LICENSE first commit 7 months ago
README.md readme update 3 weeks ago
cutie_dead_synth.py Merge branch 'midotwo' added midi input for cds and finer settings. 3 weeks ago
extra_thing_for_fun.py finer attack fade control 2 weeks ago
port_dialog.py new midi input dialogue 3 weeks ago
styles.css added port dialogue styling 3 weeks ago



Play it on your computer or laptop keyboard

A PyQt5 synthesizeresque. A version of another synth I previously coded with tkinter as the GUI, (quarter-dead-synth).

Toggle between the key of E4 and C4. Swing between sine and triangle waves. Switch sine to an octave lower or an octave higher.

Set Output Device and Blocksize from the dialog accessed from the drop down menu. Maybe for a USB audio interface for example. The blocksize of can be adjusted with the slider.

Configure the keys to match any keyboard

The keyboard configuration is for a qwerty keyboard but you can change that in the Stuff menu. To change the key bindings click on custom keybinder in the stuff drop down menu then Select Key if needed, then just type in the keys in order of the ascending scale. The dialog will automatically close when all the 18 notes has been assigned keys. Next click the Change Key button to update the configuration. From the drop down menu the new custom configuration can be saved as a preset so it can used again next time.

Midi Input

Open Midi Input Port from the drop down menu. select the input name, click Apply Settings in the main window, wait a few seconds, and its ready.


>= python3.7

pip3 install numpy
pip3 install sounddevice
pip3 install mido

Get PyQt5

sudo apt-get install python3-pyqt5

Run cutie-dead-synth

python3 cutie_dead_synth.py


What it sounds like


Plug in a midi keyboard

extra_thing_for_fun.py This is my favourite one. Its not exactly conventional but I think it sounds far far better. It uses simpleaudio. It uses your computer keyboard or plug in a midi keyboard and click the Open Midi Input button and select the input name, wait a few seconds and its ready.

Linux prerequisites for simpleaudio

sudo pip3 install --upgrade pip setuptools
sudo apt-get install -y python3-dev libasound2-dev

simpleaudio and mido

pip3 install simpleaudio
pip3 install mido