Removed looping (caused bug). Now it is getting duration and right notes when recording. Still don't get playback.