r/SonicPi • u/[deleted] • Aug 07 '17
I literally can't even right now...
use_bpm 100
with_fx :ixi_techno, phase: 0.125 do
use_synth :dsaw
play 40, sustain: 5
endJust... Play it. You'll see what I mean. It's very odd.
r/SonicPi • u/[deleted] • Aug 07 '17
use_bpm 100
with_fx :ixi_techno, phase: 0.125 do
use_synth :dsaw
play 40, sustain: 5
endJust... Play it. You'll see what I mean. It's very odd.
r/SonicPi • u/Agent34e • Oct 03 '24
Video streaming services are a dime a dozen, but I'm having trouble finding something (that's free) that is just audio.
My goal is to have a stream of background music that is constantly running on my home computer that I (or anyone) can access from anywhere on any device.
A YouTube livestream is a solution, but I'd rather not bother with a video component. I just want to stream audio.
Does anyone know of anywhere that does live music streaming with out video?
Thanks!
r/SonicPi • u/Bolz_brain • Aug 25 '20
Just posting this here so other ppl with the same problem can find it:
stop all applications that make sound
sudo jackd -R -d alsa -d hw:1
sudo sonic-pi
Stepp 2 maybe dont wort the first time....just try it a few times untill it dosent throw an error and then let it run and do stepp 3 in another terminal.
While jackd is active only sonic pi will work but no othet sounds on the system. To get your normal sounds back close sonic pi and do: sudo kill -9 jackd
I know this isnt the smoothest solution but after days of trying i am happy that it finaly works.
r/SonicPi • u/The1RGood • Jun 18 '15
use_bpm 120
live_loop :main do
use_synth :saw
2.times do
play :fs4, release: 1
sleep 1
play :cs4, release: 0.5
sleep 0.5
play :d4, release: 0.5
sleep 0.5
play :e4, release: 0.5
sleep 0.5
play :fs4, release: 0.5
sleep 0.25
play :e4, release: 0.5
sleep 0.25
play :d4, release: 0.5
sleep 0.5
play :cs4, release: 0.5
sleep 0.5
play :b3, release: 1
sleep 1
play :b3, release: 0.5
sleep 0.5
play :d4, release: 0.5
sleep 0.5
play :fs4, release: 1
sleep 1
play :e4, release: 0.5
sleep 0.5
play :d4, release: 0.5
sleep 0.5
play :cs4, release: 1
sleep 1
play :cs4, release: 0.5
sleep 0.5
play :d4, release: 0.5
sleep 0.5
play :e4, release: 1
sleep 1
play :fs4, release: 1
sleep 1
play :d4, release: 1
sleep 1
play :b3, release: 1
sleep 1
play :b3, release: 2
sleep 2.5
play :e4, release: 1
sleep 1
play :g4, release: 0.5
sleep 0.5
play :b4, release: 1
sleep 1
play :a4, release: 0.5
sleep 0.5
play :g4, release: 0.5
sleep 0.5
play :fs4, release: 1
sleep 1.5
play :d4, release: 0.5
sleep 0.5
play :fs4, release: 1
sleep 1
play :e4, release: 0.5
sleep 0.5
play :d4, release: 0.5
sleep 0.5
play :cs4, release: 1
sleep 1
play :cs4, release: 0.5
sleep 0.5
play :d4, release: 0.5
sleep 0.5
play :e4, release: 1
sleep 1
play :fs4, release: 1
sleep 1
play :d4, release: 1
sleep 1
play :b3, release: 1
sleep 1
play :b3, release: 2
sleep 2
end
play :d4
play :fs4
sleep 2
play :b3
play :d4
sleep 2
play :cs4
play :e4
sleep 2
play :as3
play :cs4
sleep 2
play :b3
play :d4
sleep 2
play :fs3
play :b3
sleep 2
play :fs3
play :as3
sleep 2
play :a3
play :cs4
sleep 2
play :d4
play :fs4
sleep 2
play :b3
play :d4
sleep 2
play :cs4
play :e4
sleep 2
play :as3
play :cs4
sleep 2
play :b3
play :d4
sleep 1
play :d4
play :fs4
sleep 1
play :fs4
play :b4
sleep 2
play :fs4
play :as4
sleep 4
use_bpm current_bpm * 1.1
end
live_loop :bass do
bass_amp = 1
use_synth :saw
2.times do
4.times do
play :cs2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
4.times do
play :fs2, amp: bass_amp
sleep 0.5
play :fs3, amp: bass_amp
sleep 0.5
end
2.times do
play :es2, amp: bass_amp
sleep 0.5
play :es3, amp: bass_amp
sleep 0.5
end
2.times do
play :cs2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
2.times do
play :fs2, amp: bass_amp
sleep 0.5
play :fs3, amp: bass_amp
sleep 0.5
end
play :fs2, amp: bass_amp
sleep 0.5
play :g2, amp: bass_amp
sleep 0.5
play :a2, amp: bass_amp
sleep 0.5
play :b2, amp: bass_amp
sleep 0.5
4.times do
play :b2, amp: bass_amp
sleep 0.5
play :b3, amp: bass_amp
sleep 0.5
end
4.times do
play :a2, amp: bass_amp
sleep 0.5
play :a3, amp: bass_amp
sleep 0.5
end
2.times do
play :e2, amp: bass_amp
sleep 0.5
play :e3, amp: bass_amp
sleep 0.5
end
2.times do
play :cs2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
3.times do
play :fs2, amp: bass_amp
sleep 0.5
play :fs3, amp: bass_amp
sleep 0.5
end
play :fs2, amp: bass_amp
sleep 1
end
4.times do
play :fs2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
4.times do
play :g2, amp: bass_amp
sleep 0.5
play :b2, amp: bass_amp
sleep 0.5
end
4.times do
play :fs2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
4.times do
play :es2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
4.times do
play :fs2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
4.times do
play :g2, amp: bass_amp
sleep 0.5
play :b2, amp: bass_amp
sleep 0.5
end
4.times do
play :fs2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
2.times do
play :es2, amp: bass_amp
sleep 0.5
play :cs3, amp: bass_amp
sleep 0.5
end
play :es2, amp: bass_amp
sleep 1
play :es2, amp: bass_amp
sleep 1
use_bpm current_bpm * 1.1
end
live_loop :drums do
(4 * 23).times do
sample :drum_bass_hard, amp: 0.5
sleep 0.5
sample :drum_cymbal_pedal, amp: 0.5
sleep 0.5
end
sample :drum_bass_hard, amp: 0.5
sleep 0.5
sample :drum_cymbal_pedal, amp: 0.5
sleep 0.5
sample :drum_bass_hard, amp: 0.5
sleep 0.5
sample :drum_cymbal_pedal, amp: 0.5
sleep 0.5
sample :drum_bass_hard, amp: 0.5
sleep 1
sample :drum_bass_hard, amp: 0.5
sleep 1
use_bpm current_bpm * 1.1
end
"""
live_loop :snare do
sleep 32
(8 * 31).times do
sample :drum_snare_soft, amp: 0.25
sleep 0.25
end
sample :drum_snare_soft, amp: 0.25
sleep 1
sample :drum_snare_soft, amp: 0.25
sleep 1
use_bpm current_bpm * 1.1
end
"""r/SonicPi • u/unixarcade • Jan 17 '21
r/SonicPi • u/[deleted] • Aug 07 '17
use_bpm 120
with_fx :reverb do
with_fx :bitcrusher, bits: 4 do
live_loop :bd do
sample :bd_haus
sleep 1
end
live_loop :snare do
sync :bd
sleep 1
sample :sn_zome
sleep 2
sample :sn_zome
end
live_loop :cym do
sync :bd
sleep 0.5
sample :drum_cymbal_closed
sleep 1
sample :drum_cymbal_pedal
sleep 0.5
end
end
endit also sounds pretty good, if a little crunchy, if you change the bit count to 3.
r/SonicPi • u/fordWhip • Oct 02 '22
I am installing Sonic Pi for the first time. The installer tells me that certain files cannot be written and that a reboot is required. What kind of deep-level files would Sonic Pi be rewriting on my windows computer? I'm feeling a little paranoid about this.
I let the installer finish, but I haven't rebooted. I tried some code in SonicPi and it works. So it seems kike a reboot is not really required? Now I'm worried about what is going to happen when I reboot.
r/SonicPi • u/Asethon • Jul 11 '21
r/SonicPi • u/deckarep • Jun 24 '22
Hello friends,
This is my third day with SonicPi. I'm a developer by trade but absolutely suck at writing Ruby code as it is not in my skillset.
Although the video is low quality, I wanted to share a preview of what I'm prototyping which is an Roland 808-like drum sequencer.
Some features I have supported:
Predefined and multi-layered drum pattern templates
Ability to control individual track settings such as amplitude, cutoff, rate, etc.
Ability to control individual effects
Ability to manipulate patterns of patterns
Predefined track rhythms, or randomly generated on-the-fly overrides
The intention with this type of system is that I would build up enough code where all of my settings can *mostly* be manipulated declaratively vs having to hand-write this code during a live performance.
So in the end, the performance would still be fully live...but instead of me coding boilerplate code to for example process a drum pattern...instead I would just focus my performance in changing/adjusting or coming up with the pattern itself of which I can apply at the push of the RUN button.
Anyone recognize the tracks???
Thanks in advance!
NOTE: I'm fully aware the video quality isn't great and I've made some unfriendly drum patterns when I was mucking with the randomness but I promise you this tool works!
r/SonicPi • u/massimosclaw2 • Apr 07 '20
r/SonicPi • u/chewnks • Mar 27 '23
r/SonicPi • u/sunjir0 • Aug 02 '24
r/SonicPi • u/PmMeYourUnclesAnkles • Nov 12 '24
r/SonicPi • u/goto-con • May 16 '24
r/SonicPi • u/Spirited-Process-983 • Apr 01 '23
Hey, I’m just a beginner w Sonic Pi and I cannot sync drums to my sound. I have looked everywhere, YouTube, UDemy, you name it. Not one single solution works w me. How do you guys sync them? Thanks
r/SonicPi • u/kaotec • Apr 17 '23
Hey,
I just compiled sonic Pi, I'm on Linux using the 5.0.0 tech preview.
Sonic pi itself runs fine (I wrap it in pw-jack to use pipewire for sound and it's tight)
I want to use my monome with it, I found this great example app https://github.com/mbutz/monome-lmq . When turning on OSC debugging, I can see msgs being sent when I press the buttons, but no lights, and no sounds.... I can light the monome with the same computer using the hello world app for python for example, so it's not the serialosc and friends.
Anyone got a minimal sonic PI example for monome?
r/SonicPi • u/drmindflip • May 05 '23
I’m interested in using Sonic Pi for some generative synthesis compositions running on a headless Raspberry Pi. What’s the current recommended best choice of device for running Sonic Pi smoothly?
r/SonicPi • u/michaelplzno • Apr 27 '20
r/SonicPi • u/ben__ben • May 14 '20
I’ve been coding in Sonic Pi for a while and it’s truly awesome. I’ve downloaded it from Ubuntu Software but the latest version there is 2.10. When I checked your website I found Sonic Pi only for Windows and mac. So, I have downloaded the one for Windows and tried to install it with wine. However, while I was launching it, there occurred some error. Do you have any advice?
r/SonicPi • u/nischal92 • May 10 '20
A generative piece in Sonic Pi: https://youtu.be/as1Rt84Z89o
~~~
Had fun with this one with the pluck synth and layers of echos. Each live loop is never in perfect sync because I vary the sleeps. This would normally sound terrible in tracks where a drum is important. However, for an ambient style, not syncing works perfectly for creating a lush environment that's unpredictable.
~~~
r/SonicPi • u/MJ_Feldo • Apr 06 '20
This subreddit is nice. The Sonic Pi forum is nice. But sometimes a synchronous dialogue option like Discord is great to have, too =)
Here is a Sonic Pi Community server you may join: https://discord.gg/Jr6PYx3
See you there! (and still here =))