A "theremin" server for a Raspberry Pi 4.
Find a file
mahlon 7bc47cfc4d Setup espeak TTS. Fix "velocity" -> "gain".
I was originally thinking the velocity sensor would adjust the midi note velocity.
The downside to this is that you have to wait for a note to play to "feel" the volume change.

When changed to alter the gain of the synth itself, it is much smoother -- works for any
sound, even those that have already started playing.

FossilOrigin-Name: 9b5a893d5b6e3aed1e11d0b984b5f498d9b67f55cda304bbef4179944ca6260f
2023-05-12 06:44:09 +00:00
fluidsynth Initial commit. 2023-05-09 03:32:09 +00:00
theremin Setup espeak TTS. Fix "velocity" -> "gain". 2023-05-12 06:44:09 +00:00
gem.deps.rb Initial commit. 2023-05-09 03:32:09 +00:00
README.md Setup espeak TTS. Fix "velocity" -> "gain". 2023-05-12 06:44:09 +00:00

RPi Theremin

This is a quick-n-dirty Theremin daemon for use on the RaspberryPi.

It is designed to be used with a couple of these distance sensors:

https://www.adafruit.com/product/4007

Use 'raspi-config' to configure your default sound output (HDMI, 3.5", etc).

This is intended to be run from daemontools or runit. Quick setup:

# apt install ruby espeak fluidsynth runit
# gem install -Ng
# ln -s /path/to/here/theremin /etc/service
# ln -s /path/to/here/fluidsynth /etc/service