This is a fun one! I've never played a platformer quite like this before. It reminds me a bit of Celeste or 1001 Spikes where you have to memorize a fairly specific movement pattern to get through a very tricky or time-sensitive area.
If you expand this idea after the jam, I bet you could add some really cool mechanics that let you use consumable items to hear the melody again, or maybe regain health if you reach difficult/secret areas. I'd also really enjoy playing an easy mode where I could hear the melody multiple times, or only need to go back one level if I lose all my health. Overall, great work on this jam entry!