Monophonic Synth v0.9

Planned features:
?Preset System
?FX section
?Hardware control
?Slide option
?Pitch Bend

General Info:
The synth has five voices. These voices play at the same time and are controlled by the last pressed key.
The synth is set to retrigger notes, meaning that when a new key is pressed the old note is killed and a new note is played. There is currently no slide option.

 

Setup & Use:
By default, the synth will use any midi-device.
You can specify a device or channel to exclusively use by changing the midi_on and midi_off variables. Press a key on your device and copy the adress displayed in the lower-right sub-window.
The default sound is a generic synth sound. You can change the sound by changing the amp, trans and synth values.
The amp values control the volume of the voices and should be between 0 and 2, higher values will clip the signal.
The trans values control the transposition from the pressed key. It goes up and down in semitones. It also handles fine detuning.
The synth values control the synth source used by the voices. This can be any synth supported by Sonic Pi, including external synths.
Additional values:
pwd = Pulse width of the :pulse synth.
res = Resonance for some synths.
The noise channel doesn’t use a note, instead it sets the cutoff to the note + transpose.

 

Here is the code:

https://github.com/DavidsFiddle/Sonic-Pi-Code-Bits/blob/master/Synths/Monophonic%20Synth%200.9

One thought on “Monophonic Synth v0.9

Leave a comment