• SONAR
  • Can someone help with a MIDI problem?
2013/09/15 15:02:58
jrfrogers
I'm trying to use my Yamaha PSRE213 keyboard to generate a midi track to use with Dimension Pro.
 
I have a beat I'm using from session drummer, that's fine. I play the beat, and try to record a midi track along with it from the yamaha, and it does record, but the notes are late. I mean to say, I hit them on time, but they seem to get recorded late. I can see them in the piano roll view, and also hear how late they are. I do have other audio guitar tracks in the project and they are fine.
 
I have midi out on the yamaha to midi in on my octa-capture.
 
Any thoughts? 
 
Thank you,
Sam
2013/09/15 17:08:47
Jesse G
In audio options inside of Sonar, change your buffer size....usually sliding it to the left will help.  slide it a little at a time and save your settings and then check by playing your Yamaha with a soft synth.
 
Peace.
2013/09/15 17:18:13
MarioD
 {edit} I was typing this at the same time as Jesse as we both typed the same thing so I deleted my message.
2013/09/15 18:48:05
slartabartfast
So the OP seems to be saying the actual midi event (as opposed to the audible sound from the softsynth it triggers) is showing up late on the midi track/piano roll. It is not clear to me why that problem should be solved by making the audio buffer smaller. A too large midi buffer maybe. That sounds more like a symptom of delay compensation from a plugin on another track being applied to the midi track he is recording on to keep it in synch with playback.  Another possibility is a quantization setting that might push a slightly delayed key press/note on into to next partial beat.
2013/09/16 08:01:34
2:43AM
To the OP: If you're working a lot of MIDI, then you really need to consider experimenting and tweaking the Full Chase Lock: Timing Offset value (in msec) located within Sync and Caching in the Preferences. I use external hardware heavily with mucho-MIDI. I am tweaked at +15 msec in order for MIDI and recorded audio to line up.
 
This is the best settings adjustment for MIDI tweaks, more so than MIDI or disk buffers, etc.
 
And you really didn't say what's producing the sound from the Yamaha input. Are you triggering a softsynth or external synth?
 
So set up a simple project and do some timing tests. Use the metronome or a beat with exact timing in wave/rex file.  Set your hardware or softsynth to play a patch with zero attack and a short release. Listen with your ears to first catch the timing difference and start tweaking from there. Then when you're close, either bounce down or record the incoming audio and compare the two, audio tracks.  Zoom in to the sample-level (and change time mode to samples in the Transport Module) and use the Now Time Bar to see the starts of the waves. If you're within a hundred-or-so samples, then you're probably not going to get much better than that!
2013/09/16 11:06:44
konradh
"Why" is something I cannot answer; however, the audio buffer (in my case the ASIO buffer) makes a huge difference in latency (delay).
 
When tracking (recording) I go to Preferences | Drivers | Asio panel and, using the slider, set the value low (like 64 or 128) so there is almost no lag.
 
When mixing or using Meloldyne, I go back to the same place and set it to 1024.
 
If you hear crackling or if the audio stops, the buffer is too low.  The trick is to make it as low as possible during recording without too much annoying static so you don't have a lag (delay) when recording vocals or MIDI.
 
During mixing and editing, you want it back at a higher value so the audio is not messed up.
 
This advice has been shared by me and many others here because this problem is one of the most common in DAW recording.  You could have a different issue, but I will bet this is it.
 
>>You could also have a MIDI buffer issue.  I had to INCREASE (not decrease) mine to keep from Sonar from missing notes on playback.
 
Good luck! 
 
PS If Jim says anything different below, listen to him.   He is way smarter technically than me, although I am obviously more beautiful and talented.   Seriously, he's the dude on this stuff.
2013/09/16 11:11:52
Jim Roseberry
Hi Sam,
 
Do you have any other MIDI devices (that can generate MIDI notes)?
If so, connect one to the OctaCapture's MIDI input... and see if you experience the same "lag" when recording MIDI.
2013/09/16 22:11:26
jrfrogers
Thanks everyone.
Since I'm using ASIO, the Audio buffer size is grayed out. I changed the buffer size on my Octa-Capture to the minimum setting and did a quick test. That seems to have solved the problem, but I need to test a little more. I will try the tweak that 2:43AM mentioned if I need to.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account