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.

Official website: http://sonic-pi.net/

10 questions
7
votes
4 answers

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 there any way to stop this?
R Harrington
  • 311
  • 1
  • 2
  • 14
7
votes
1 answer

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 figure out how to do is play the note repeating…
RPiAwesomeness
  • 3,021
  • 4
  • 31
  • 52
5
votes
4 answers

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 used to Sonic Pi, but I'm having some difficulty…
AJFaraday
  • 153
  • 5
3
votes
1 answer

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 out here…
Bob McBobson
  • 139
  • 2
2
votes
0 answers

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 listening to 4557 and questions whether it's…
thank_you
  • 121
  • 3
1
vote
1 answer

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 @Raspberry_Pi audiophiles - @Sonic_Pi v2.9 will support any…
Clare Macrae
  • 285
  • 2
  • 11
1
vote
1 answer

No analogue audio on Raspi 2B when using Sonic Pi BUT can play .wav's using VLC

Note: Boot pi - launch VLC and play .WAV using active speakers (and headphones) Notice that Sonic Pi will not launch when VLC is running. I put this down to lack of RAM. Close VLC -> launch Sonic Pi -> run basic program on Sonic Pi -> no…
forestDM
  • 21
  • 1
  • 7
0
votes
1 answer

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 osc_message_builder #from scipy.interpolate import…
0
votes
1 answer

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 sample :loop_amen as my first command. I did so and…
RPiAwesomeness
  • 3,021
  • 4
  • 31
  • 52
0
votes
1 answer

Sonic Pi won't play sound from remote python script

I am using Sonic Pi 3.3.1 on my Windows PC and a Python script(Python3.7.2) on my raspberry pi(Raspbian Buster) that detects distance from an HC-SR04-Ultrasonic Sensor .The program then creates a tune with a pitch that ranges higher if the object is…
TERMINATOR
  • 105
  • 4