2023-05-09 03:32:09 +00:00
|
|
|
|
|
|
|
|
# RPi Theremin
|
|
|
|
|
|
2023-05-24 03:08:39 +00:00
|
|
|
This is a quick-n-dirty "Theremin" daemon for use on the RaspberryPi.
|
2023-05-09 03:32:09 +00:00
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
2023-05-24 03:08:39 +00:00
|
|
|
This is intended to be run from daemontools or runit. Quick setup as root:
|
2023-05-09 03:32:09 +00:00
|
|
|
|
2023-05-24 03:08:39 +00:00
|
|
|
# apt install ruby espeak fluidsynth runit motion netcat
|
|
|
|
|
# systemctl stop/disable/mask motion
|
2023-05-09 03:32:09 +00:00
|
|
|
# gem install -Ng
|
2023-05-24 03:08:39 +00:00
|
|
|
# ln -s /etc/service /service
|
2023-05-09 03:32:09 +00:00
|
|
|
# ln -s /path/to/here/theremin /etc/service
|
2023-05-24 03:08:39 +00:00
|
|
|
# ln -s /path/to/here/motion /etc/motion
|
2023-05-09 03:32:09 +00:00
|
|
|
# ln -s /path/to/here/fluidsynth /etc/service
|
|
|
|
|
|
2023-05-24 03:08:39 +00:00
|
|
|
For this project, there was an available Pi camera (v2). After enabling it in
|
|
|
|
|
raspi-config, I also fired up 'motion' with the included configuration file, to
|
|
|
|
|
capture people using the theremin and to say hello.
|
|
|
|
|
|
|
|
|
|
# ln -s /path/to/here/motion /etc/service
|
|
|
|
|
# (enable motion support in the config file)
|
|
|
|
|
|
|
|
|
|
It will save images for 2 weeks with the current motion.conf. Season to taste.
|
|
|
|
|
|
|
|
|
|
This was mounted on a manniquin named "Maude" (the bod), as a goofy/fun
|
|
|
|
|
interactive instrument.
|
2023-05-09 03:32:09 +00:00
|
|
|
|
2025-06-28 18:00:16 -07:00
|
|
|
[Video!](https://www.youtube.com/embed/XA8rTEksU_4?si=KQ8yKGgNmrucsmaD)
|