Debug fixes, add preliminary amplitude to wav
For note flight, but may be unnecessary