Skip to content

Instantly share code, notes, and snippets.

View cadavincito's full-sized avatar
🎯
Focusing

Cadavinci cadavincito

🎯
Focusing
  • Earth
View GitHub Profile
@darinwilson
darinwilson / sonic_pi_examples.txt
Last active November 12, 2024 19:23
Sonic Pi Examples
##############################################
## Example 1 - play a note
play 60
##############################################
## Example 2 - play 4 random notes
4.times do
play rrand_i(60, 90)
sleep 0.5
@jindrichmynarz
jindrichmynarz / dub_techno_in_sonic_pi.rb
Created December 8, 2015 19:11
Dub techno in Sonic Pi
use_debug false
use_bpm 130
# Our mixer!
master = (ramp *range(0, 1, 0.01))
kick_volume = 1
bass_volume = 1
revbass_volume = 1
snare_volume = 0.5
hats_volume = 0.5