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
499 B
499 B
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