Major Scales by rotary-o

loop{j=(gets.sum-i=$_[0]-2)%5/2
puts (i..i+6).map{|k|''<<k%7+65<<%W(\xe2\x99\xaf #{} \xe2\x99\xad \xf0\x9d\x84\xab \xf0\x9d\x84\xaa)[j+=8[k-i]]%j-=18[k%7]}*' '}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page