Fix recording (albeit, the recorded notes seem a bit off...)