This is probably a very straight forward question but I don’t know how to do it… I simply need to get the number behind a note name. The only way I have found is the following.
live_loop :test do
note = :a1
puts note + 0
sleep 1
end
But I am wondering if there is a method or similar I can call on note that will return the integer value behind :a1