Installation for Mostra Sonora i Audiovisual - Convent de Sant Agusti, 2023 - Barcelona.
By Rebecca Anne Peters and Óscar González.
-
Launch
sonic-pi
on a raspberry pi withstartsp.sh
. This is for using sonic-pi without a screen. -
Use sonic-pi-tool (forked from emlyn to interact with sonic-pi server from the command line. You can run a composition with
sonic-pi-tool.py run-file <composition>
-
Install python requirements (python 3 only).
-
We use this adafruit DAC with a Pi-zero. With this we output to a speaker. We also use one
GPIO
(17
) from the pi to control some lights with relays - this control is done withosc
messages from sonic-pi that are listened byasync.py
. ModifySERVER_IP
,SERVER_PORT
andUDP_FILTER
accordingly to listen to yourosc
messages. -
controller.py
is a simple random player using calls tosonic-pi-tool
. It also checks everything is fine on the server side at boot. We use it with a cronjob@reboot
, alongsidestartsp.sh
to spin a server without a screen on a pi zero
That's it!