@Ignatz - Ok, but it doesn’t seem to play anything for me…
Anyway, I’m much stupider than I thought. The problem was that I was thinking about it all wrong. I had no clue you could change the pitch and the volume of a sound simply by changing sound.pitch and sound.volume… for some dumb reason I thought that once a sound was already being played, there was no possible way to change anything about it, but I was completely wrong. Oh well, problem solved now! Thanks @Ignatz and @yojimbo2000 for the suggestions!
By the way, to any developers of Codea:
For me, doing sound.loop = true doesn’t actually make the sound loop, however all the other variables I described before change the sound just fine. It doesn’t really matter though since you can just set whether the sound loops when calling the sound function. Fantastic app by the way, I love that multitouch actually works.