Yes, I meant the paddle, but doesn't matter.
I didn't make this algorithm myself, I bought it on the store for $25 and it's great.
Nice game! Sadly you don't move with the music, but cool anyway.