c=[51,52,53]################ ?? W H Y ?? ##########
k=[c]
play_chord [51,52,53], sustain: 2, release: 0# this works
play_chord(k[0])############################## this works
play_chord(k[0]), sustain: 2, release: 0 ##### gives error
If you remove the parentheses around the chord it works:
play_chord k[0], sustain: 2, release: 0
YES ! … Thank You !
I missed that when a variable
represents an array , the brackets
are included .
1 Like