Chord Inversions over known scales
# Chord Inversions
# Coded by Adrian Cheater
# (in a single tweet)
# https://twitter.com/wpgFactoid/status/666692596605976576
# Mike Lockhart made a small mod to loop through all of Sonic Pi's built-in scales
# (73 of them for SP v3.1 !)
live_loop :scaler do
puts "###########################################"
scale_names.each do |s|
puts s
[1, 3, 6, 4].each do |d|
(range -3, 3).each do |i|
play_chord (chord_degree d, :c, s, 3, invert: i)
sleep 0.25
end
end
end
end