My name is Drond and I’m from Sweden and I have been using Sonic Pi for like the last 8 hours hours. I have almost finished reading parts of the tutorial for the program. Some parts I will probably have to read again, others not.
Anyway here are some code i wrote today. Still a beginner and some concepts are kinda tricky to understand. You may use it as you want to except to laugh at it. Now i need a break and I gonna close the application. But I will open it up tomorrow
use_bpm 124 in_thread do loop do cue :kick sleep 1 end end in_thread do loop do cue :hats sleep 0.25 end end in_thread(name: :kick) do loop do with_fx :distortion, distort: 0.3 do sync :kick kick_sample = :bd_haus #dry kick sample kick_sample #add some reverb with_fx :reverb, room: 0.55, amp: 0.8 do sample kick_sample, amp: 0.60 end #add some echo with_fx :echo, amp: 0.15, mix: 1, phase: 0.25, decay: 2 do sample kick_sample, amp: 0.5 end end end end in_thread(name: :hats) do hat_sample = :drum_cymbal_open loop do sync :hats 2.times do sleep 0.25 end 1.times do sample hat_sample, attack: 0.1, sustain: 0, release: 0.1 sleep 0.25 end 1.times do sleep 0.25 end end end