Hi! Just joined this forum. Started playing with Sonic Pi a weekend ago and for some reason I felt brave enough to record myself doing a live jam.
I uploaded it to Youtube.
It’s messy and unmelodic but hopefully I’ll improve over time. Cheers
The final code is:
use_bpm 100 live_loop :m do sleep 1 end kick = "/home/delfi/Music/Samples/FatDrums/Kick/DIR-KIK.wav" sn = "/home/delfi/Music/Samples/FatDrums/Snare/B83-SN.wav" hh = "/home/delfi/Music/Samples/FatDrums/HiHat/OMT-HAT.wav" ride = "/home/delfi/Music/Samples/TriSamples/Hats & Cymbals/Cymbal Ride 002 Harsh.wav" clap = "/home/delfi/Music/Samples/TriSamples/Snares & Claps/Clap 009.wav" cmaster = 130 live_loop :bass, sync: :m do tick use_random_seed 70 4.times do play (scale :e2, :sehnaz).take(3).shuffle.look sleep 1 end end define :balkan do |d, n, balkan = false| if balkan density d do play n sleep 1 end else density d do play n sleep 0.5 play n + 1 sleep 0.5 end end end live_loop :melody, sync: :m do use_synth :prophet tick use_random_seed 6 use_synth_defaults attack: 0.3, amp: 0.7 note = (scale :e4, :sehnaz).shuffle.look rhythm = (ring 1, 2, 1, 3).look with_fx :lpf, cutoff: cmaster do 3.times do balkan rhythm, note, one_in(2) end 1.times do balkan rhythm, note, one_in(3) end end end live_loop :beat, sync: :m do with_fx :lpf, cutoff: cmaster do sample kick sample ride, amp: 0.2 sleep 1.5 sample sn sleep 0.5 sample kick sleep 1 sample sn sleep 1 end end live_loop :hats, sync: :m do with_fx :lpf, cutoff: cmaster do sleep 0.25 sample hh sleep 0.25 end end