python-sonic
python-sonic copied to clipboard
Programming Music with Python, Sonic Pi and Supercollider
This snippet should play BEEP, TB303, BEEP. ``` use_synth(BEEP) play(50) sleep(1) @in_thread def test(): use_synth(TB303) play(50) test() sleep(1) play(50) ``` (See https://sonic-pi.net/tutorial#section-5-4) However, due to the global _current_synth variable, the...
I want to save the sounds created to a file. How can I do it with this client?
I had a look at the code, and the address appears to be hard coded for localhost, i.e.127.0.0.1 I have a pi running sonic-pi, and a separate Linux LMDE PC...
The install instructions seemed confusing to me. I also did a few driveby spelling fixes. Thanks!
Test case: Python: ```python from pythonosc import udp_client sender = udp_client.SimpleUDPClient('127.0.0.1', 4559) sender.send_message('/trigger/prophet', [0, 1, 2]) ``` Sonic Pi: ```ruby live_loop :foo do use_real_time a, b, c = sync "/osc/trigger/prophet"...
Hey guys, Awesome library and really easy to use, also great documentation so thanks! I was wondering if there was any way of implementing the `load_sample` function from sonic pi...
I am using this script inside Blender, and try loading the Python-Sonic using: from psonic import * however, that causes issue with binding. So, I need to use it like...
Good stuff! Might I suggest adding in a with_fx() function? Seems to be the only major omission, and seems easy enough to do.
Hi, I am not sure of the status of this repository, but is the current main branch compatible with v4 of Sonic-Pi? I had a look, and it looks like...
The current version of python-sonic only support sonic-pi v3 as changes have been made to sonic-pi's treatment of non-cue OSC messages. This PR seeks to update python-sonic to support these...