Created
November 2, 2018 20:27
-
-
Save sinewalker/1c8dcadfdf3df3f56a8c96bcd8b953ae to your computer and use it in GitHub Desktop.
Chord Inversions over known scales
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment