Neat concept! We tried to do a rhythm-like mechanic in an old jam so I know how fiddly it can be to get music and code to cooperate. I agree with some other comments that sometimes it feels a bit out of sync, but I think it's a pretty good entry especially if this is your first jam. nice job.