fixed velocity bug in add_note