I hereby claim:
- I am chrisboyle on github.
- I am chrisboyle (https://keybase.io/chrisboyle) on keybase.
- I have a public key whose fingerprint is EE61 16FF 05A7 83D6 E617 6B45 17B1 CA7D 6408 9528
To claim this, I am signing this object:
# Run this in Sonic Pi: https://sonic-pi.net/ | |
# Sick of Losing Soulmates by Dodie: https://youtu.be/mHUIoikgKT0 | |
# Inspired by Deerful's cover: https://youtu.be/sfaEBsloiQk | |
use_synth :pluck | |
use_bpm 75 | |
define :tab do |t| | |
t.split('').map {|n| note(:e2) + n.to_i } | |
end |
# riff(:c4, '5313555 333 555 ') | |
def riff(tonic, melody) | |
t = note(tonic) - 1 | |
ring(*(melody.split('').map {|c| n = c.to_i; n.zero? ? :r : note(t + n)})) | |
end |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: