Hey! Ive been messing and having fun with Sonic Pi for a week, after reading some helpful threads here and watching how nice the community looked i finally decided to register!
I work in robotics, but my main studies were digital arts, i started experimenting with electronic music with chipmusic, using LSDJ and a DMG, but i switched to FL studio and renoise after some time.
I cant word myself about how beautiful i find this software, but im hooked for the fun.
Right now im working on syncing with visuals and p5js, but also reading more and more info about the software and ruby, as i just grasped some basics.
Some little beat i did:
use_bpm 80
live_loop :metr do
sleep 1
end
live_loop :arp, sync: :metr do
use_synth :kalimba
speed = 0.25
amp = 1.4
click = 0.8
4.times do
use_octave [0,-1,2,1].choose
play (chord, :f4, :minor7).choose, release: rrand(0.4,0.8), amp: amp, clickiness: click, sustain: 0
sleep speed
end
4.times do
play (chord, :f3, :minor7).tick, release: rrand(0.4,0.8), amp: amp, clickiness: click, sustain: 0
sleep speed
end
4.times do
use_octave [0,-1,2,1].choose
play (chord, :db4, :major7).choose, release: rrand(0.4,0.8), amp: amp, clickiness: click, sustain: 0
sleep speed
end
4.times do
play (chord, :db4, :maj9).tick, release: rrand(0.4,0.8), amp: amp, clickiness: click, sustain: 0
sleep speed
end
end
live_loop :drums, sync: :metr do
4.times do
sample :drum_cymbal_closed, amp: rrand(0.4,1), rate: rrand(1,4)
sleep 0.25
sample :drum_cymbal_closed, amp: rrand(0.2,0.4), rate: rrand(3,4)
sleep 0.125
sample :drum_cymbal_closed, amp: rrand(0.4,1), rate: rrand(1,4)
sleep 0.25
end
sleep 2
end
live_loop :kck, sync: :metr do
sample :bd_klub, amp: 2
sleep [1,2].choose
3.times do
sample [:perc_snap2, :perc_snap, :perc_trill, :perc_impact1, :elec_wood, :elec_beep, :elec_blip].choose, amp: rrand(0.3, 0.8), rate: rrand(1,8)
sleep 0.25
end
sample :bd_klub, amp: 2
sleep 0.25
end
live_loop :snare, sync: :metr do
sleep 1
sample :drum_snare_soft, amp: 2
sleep 1
end