Questions tagged [sonic-pi]

A free live coding synth for everyone originally designed to support computing and music lessons within schools. Use code to compose and perform in classical and contemporary styles ranging from Canons to Dubstep.

Filter by
Sorted by
Tagged with
0
votes
1answer
37 views

hc-sr04 stops on python after a very short while. F5 (run) and it works again, but only for a very short time again

Here's the code, it communicates with Sonic Pi, don't know if that matters: import RPi.GPIO as GPIO import time import signal import sys from pythonosc import udp_client from pythonosc import ...
0
votes
1answer
213 views

How to make Sonic Pi play a specific buffer after boot?

I made a theremin using the instructions on raspberrypi.org. I want to be able to use this as a real instrument i.e. I only need to power on the Pi and everything will work without using a screen and ...
4
votes
1answer
265 views

How to make sense of this Raspberry Pi project guide for building a theremin?

I have just started out using a Raspberry Pi, and for my first project, I wanted to build a pseudo theremin using an ultrasonic motion detector and other electronic components (requirements are laid ...
5
votes
3answers
9k views

White noise through audio jack

I have been using Sonic Pi recently and have been annoyed by a persistent stream of white noise. This has happened on both Raspbian and Ubuntu MATE 16.04 for Raspberry Pi, using SENNHEISER MX356s. Is ...
5
votes
4answers
805 views

Sonic Pi, defining my own classes

Just a bit of background information, I'm a Ruby developer, and familiar with Object Orientated techniques. I've also got a history of playing with code and music, a long-running hobby. I'm getting ...
1
vote
1answer
473 views

How do I get Sonic Pi 2.9 working with Pi-DAC+?

I have: a Raspberry Pi 2 2015-11-21-raspbian-jessie a Pi-DAC+ board connected - and with headphones plugged in I read on Twitter that Sonic Pi 2.9 should support this: Great news for @...
1
vote
0answers
109 views

Sonic Pi Application Open But Not Listening to 4557 Port

I have Sonic Pi launched on my GUI desktop and am attempting to access it's local server via terminal to run some code in Sonic Pi. Whenever I attempt this the terminal tells me that Sonic Pi is not ...
5
votes
1answer
4k views

Can Sonic-Pi play a continuous MIDI tone/note?

I've been messing around with Sonic-Pi lately, trying to figure out various things. One thing I'm finding I want to be able to do is play a continuous MIDI tone/note. However, the closest thing I can ...
0
votes
1answer
161 views

Sonic Pi returning errors for crucial functions

I have recently messed around with Sonic Pi and I have got it to play MIDI notes (via play ??.) However, I am attempting to follow the guide to SonicPi in the MagPi issue 23 and it told me to enter ...