• SONAR
  • Slight delay when I hit the play/spacebar
2013/06/17 02:30:54
vicsant
Hi,
 
Running Sonar X2a on a new Win7 i7 64 bit system setup.
 
I am experiencing a slight delay of a few ms when I hit the play/spacebar.
This happens on a new project with just one audio track or an older project with many tracks.
 
Playback used to be instantaneous is my previous setup.
 
Is there a setting I have to tweak in Preferences or the aud.ini file to correct this?
 
Thanks,
 
Vic
2013/06/17 04:47:28
KPerry
Playback buffer size in Preferences/Audio?
2013/06/17 08:05:12
emwhy
Vic do what KPerry said, under Preferences/Audio/Sync And Caching there's a parameter called Playback I/O Buffer size. My is at 512, I think the default is 128 and may be too small. BTW what type of audio interface are you using?
 
2013/06/17 08:23:15
jb101
I agree with everyone about buffer size.
Also, do you have any effects on the track, or busses? Some induce latency. If you do, try pressing e on your computer keyboard to disable effects, and see if it improves.
2013/06/17 08:46:41
vicsant
emwhy
Vic do what KPerry said, under Preferences/Audio/Sync And Caching there's a parameter called Playback I/O Buffer size. My is at 512, I think the default is 128 and may be too small. BTW what type of audio interface are you using?
 


Thanks guys for your replies. Will check my buffer settings. I'm using the Quad Capture...great interface!
2013/06/17 09:55:19
bitflipper
Think about how buffering works: rather than sending data directly to your audio interface, it's instead written into a buffer. Only when the buffer is full of data does the driver pull out that data and blast it to the interface. While it's doing that, a second buffer is being filled up with the next chunk of data. This is how we assure an uninterrupted stream of numbers going out to the interface.
 
The rate at which the buffer fills depends on the sample rate. At 44.1KHz, a new sample is written every 22.7 microseconds. Simple multiplication will tell you how long it'll take to fill the buffer. If the buffer is 512 samples in size, it'll take 512 x 0.0000227 seconds to fill it, or 11.6 milliseconds. That means there will always be an 11.6-millisecond delay before playback is actually heard. It also explains why the lag is shorter at higher sample rates (at 96KHz there's only a 5.3ms delay).
2013/06/17 11:03:05
John
Bit's back, YEH!!!!!!
2013/06/18 01:49:35
jimusic
Ya - Bit's Back. How the back Bit?
2013/06/18 16:21:02
brconflict
Yeah, but psht! He's got no reward points!  (kidding).
He's got it right, though. Buffering works just like that. Ok, but seriously, how do I get the buffer to start filling up before I click the Play button? Cakewalk should figure that one out. har har
 
No disrespect intended to the OP. Trust me, I went through the same futility.
Freeze your tracks, and you can lower your buffer number.
2013/06/18 17:04:29
Beepster
This happens to me but it's because my audio drive falls asleep. I thought I had set all that stuff up properly but it does indeed take a snooze if I walk away for a while. Just takes a couple seconds to get going but I really should get around to fixing it as it occasionally will whitescreen for a moment as well. Doesn't seem to actually hurt anything though.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account