I am making a video for my students about how to use arrays and rings.
I made the following example of an array where I was anticipating it to only play each note in the array once and then produce rests as it went through the remaining number of times since this is the behavior I have seen when using arrays in this way
21.times do
play [60, 67, 64, 70, 72, 74, 76].tick
sleep 0.25
end
However, to my surprise, after playing each note once it went back to the beginning of the array and played all the notes again, just like it would if it was a ring.
Is this a new feature to 3.2? Did I miss something?