Helpful ReplyHelp with Latency Issues

Author
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
2015/03/16 16:20:19 (permalink)

Help with Latency Issues

I have changed nothing on my settings and I'm suddenly having huge issues with pops, crackles, etc and everytime I stop the playback the audio engine drops out. I thought that it might be the latency but I set it to every setting and although setting it higher helped a little with noise the audio engine was still dropping out when I stopped playback. I also tried archiving most of the tracks which again helped but didn't solve the problem. What I suspect it might be is that my Presonus Firebox is dying. I really hope not because that would be a financial stretch for me right now to replace it.  Otherwise I don't have a clue as to why I'm suddenly having all these problems. Any thoughts? I've included screen shots of everything. I'm using Platinum.
 
 
The last and highest latency setting I tried.





#1
benjaminfrog
Max Output Level: -81 dBFS
  • Total Posts : 477
  • Joined: 2006/11/05 12:26:57
  • Location: Minneapolis
  • Status: offline
Re: Help with Latency Issues 2015/03/16 16:58:43 (permalink)
Have you considered using a sample rate lower than 96k?

SONAR Platinum
Windows 10 Pro x64
ASRock Z97 Pro4
i7-4790K 4.0GHz
32GB RAM
Intel® HD Graphics 4600
RME Fireface UFX
http://www.sewardsound.com/
#2
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/16 17:21:45 (permalink)
benjaminfrog
Have you considered using a sample rate lower than 96k?


Yes. It automatically gets kicked back up to 96K


#3
MarioD
Max Output Level: -72 dBFS
  • Total Posts : 901
  • Joined: 2006/04/15 15:59:50
  • Status: offline
Re: Help with Latency Issues 2015/03/16 17:32:29 (permalink)
annifarkle
benjaminfrog
Have you considered using a sample rate lower than 96k?


Yes. It automatically gets kicked back up to 96K






Was this on an old project?

Have you tried to record a new project at 44.1K?



The reason people say the vinyl sounds better is because the music was better.
 
Sonar Platinum, Intel i7 –2600 CPU @ 3.2 GHz, 16 GB ram, 2x2TB internal drives and 1 1TB internal drive, Radeon HD 5570 video card, HP 25" monitor,
Roland Octa Capture, MOTU Midi Express 128, Win 10 Pro

 
www.soundcloud.com/Mario_Guitar
#4
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/16 17:33:48 (permalink)
MarioD
annifarkle
benjaminfrog
Have you considered using a sample rate lower than 96k?


Yes. It automatically gets kicked back up to 96K






Was this on an old project?

Have you tried to record a new project at 44.1K?




No I haven't I will try it. I'll let you know what happens.
#5
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re: Help with Latency Issues 2015/03/16 17:42:25 (permalink) ☄ Helpfulby mettelus 2015/03/16 18:05:14
i concur on lowering your sample rate to 48kHz, though that won't be possible for projects that already have recorded audio in them at the higher rate. Going back and forth can be a pain, so if you have a lot of projects already done at 96k, you might want to stick with that. If and when the time comes that you want to change it, you'll probably need to change the rate in both the interface control panel (with SONAR shut down) and then in SONAR's audio preferences (default rate for new projects).
 
In any case, both your ASIO latency and disk I/O buffers seem exceptionally high unless your projects are really big. My Core 2 Duo laptop runs most projects quite well with the ASIO buffer at 960, and disk Playback buffer at 512kB. And the Input buffer can be a lot lower, like 128kB, if you're only ever recording 2-4 inputs.
 
But for issues that suddenly crop up with no config changes, especially if it's a laptop, I'd look for drivers being enabled that trash your DPC latency (e.g. wireless networking) or CPU performance being throttled down; whenever possible, laptops should always be plugged in with Power Management set to High Performance.

SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
#6
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/16 18:10:33 (permalink)
brundlefly
i concur on lowering your sample rate to 48kHz, though that won't be possible for projects that already have recorded audio in them at the higher rate. Going back and forth can be a pain, so if you have a lot of projects already done at 96k, you might want to stick with that. If and when the time comes that you want to change it, you'll probably need to change the rate in both the interface control panel (with SONAR shut down) and then in SONAR's audio preferences (default rate for new projects).
 
I opened an old project I recorded at 44K and it is stable. So if I erase all the audio from a project can I then reset the the sample rate to 44K? Most of my older projects thankfully are recorded at 44K. 
 
In any case, both your ASIO latency and disk I/O buffers seem exceptionally high unless your projects are really big. My Core 2 Duo laptop runs most projects quite well with the ASIO buffer at 960, and disk Playback buffer at 512kB. And the Input buffer can be a lot lower, like 128kB, if you're only ever recording 2-4 inputs.
I raised them because I kept getting a message from Melodyne that my Buffer size was too low. I've changed them back and We'll see what happens.
 
But for issues that suddenly crop up with no config changes, especially if it's a laptop, I'd look for drivers being enabled that trash your DPC latency (e.g. wireless networking) or CPU performance being throttled down; whenever possible, laptops should always be plugged in with Power Management set to High Performance.
If recording at 44K doesn't permanently solve it then I will look at that next. BTW I'm on a desktop not a laptop.







#7
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/16 18:12:00 (permalink)
Thanks for all the help Guys!
#8
mettelus
Max Output Level: -22 dBFS
  • Total Posts : 5321
  • Joined: 2005/08/05 03:19:25
  • Location: Maryland, USA
  • Status: offline
Re: Help with Latency Issues 2015/03/16 18:12:07 (permalink)
Good drivers will allow SONAR to shift sample rate to conform to the project, so that is why it keeps jumping back up.
 
Bfly's point about "excessively high" is a good one, since extreme values in either direction can cause pops/crackles.
 
The only other things that stuck out is 1) can you lower the latency from 40ms in the FIREBOX UI? and 2) you do not have "Use ASIO Reported Latency checked. I am not sure if that checkbox is forcing the FIREBOX to a higher value on you (never tried that myself, but seems unlikely). The "issue" is the interface is sending SONAR an offset of 8364, but you are telling SONAR to use 0.

ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
#9
mettelus
Max Output Level: -22 dBFS
  • Total Posts : 5321
  • Joined: 2005/08/05 03:19:25
  • Location: Maryland, USA
  • Status: offline
Re: Help with Latency Issues 2015/03/16 18:16:52 (permalink)
FWIW, unless you see (hear) an actual issue with Melodyne, blow off that message. There was a post long ago that it was a workaround during beta testing for an issue that has since been fixed. Adjust buffers based on performance.

ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
#10
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/16 18:38:00 (permalink)
mettelus
Good drivers will allow SONAR to shift sample rate to conform to the project, so that is why it keeps jumping back up.
 
Bfly's point about "excessively high" is a good one, since extreme values in either direction can cause pops/crackles.
 
The only other things that stuck out is 1) can you lower the latency from 40ms in the FIREBOX UI? and 2) you do not have "Use ASIO Reported Latency checked. I am not sure if that checkbox is forcing the FIREBOX to a higher value on you (never tried that myself, but seems unlikely). The "issue" is the interface is sending SONAR an offset of 8364, but you are telling SONAR to use 0.


I can lower the latency. The only reason I had it so high in the picture was that it was the last setting I tried in order to fix the problem. I tried both checking and unchecking the use reported latency and it didn't seem to make any difference. The lower smaple rate though seems to have fixed the issue.


Again thank you for everyone's replies.
#11
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re: Help with Latency Issues 2015/03/16 18:52:38 (permalink)
mettelus
 2) you do not have "Use ASIO Reported Latency" checked.



Good catch. That should definitely be enabled, especially when running a large ASIO buffer. It won't affect anything that happens in real time, but it ensures that all of the input latency is compensated after the fact by sliding the recorded audio earlier so that it's laid down where it would been if there were no latency at all. Without that, any recorded audio is going to sound terribly late on playback.
 
To really get record latency compensation dialed in, you should check the actual round-trip time using the free CEntrance ASIO latency tester (Google it), and enter the difference between what it reports and what SONAR reports for Total Round Trip Latency (RTL) as the Manual Offset in samples. i.e. Manual Offset = CEntrance-Measured RTL - SONAR-Reported RTL. Usually this will be a positive number of 10-50 samples - not hugely important or noticeble most of the time, but nice to know it's exactly right.

SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
#12
bitman
Max Output Level: -34 dBFS
  • Total Posts : 4105
  • Joined: 2003/11/06 14:11:54
  • Location: Keystone Colorado
  • Status: offline
Re: Help with Latency Issues 2015/03/16 22:01:45 (permalink)
Turn off your WiFi (switch or key combo) maybe. Usually problematic to a degree.
 
#13
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/17 01:29:13 (permalink)
brundlefly
mettelus
 2) you do not have "Use ASIO Reported Latency" checked.



Good catch. That should definitely be enabled, especially when running a large ASIO buffer. It won't affect anything that happens in real time, but it ensures that all of the input latency is compensated after the fact by sliding the recorded audio earlier so that it's laid down where it would been if there were no latency at all. Without that, any recorded audio is going to sound terribly late on playback.
 
To really get record latency compensation dialed in, you should check the actual round-trip time using the free CEntrance ASIO latency tester (Google it), and enter the difference between what it reports and what SONAR reports for Total Round Trip Latency (RTL) as the Manual Offset in samples. i.e. Manual Offset = CEntrance-Measured RTL - SONAR-Reported RTL. Usually this will be a positive number of 10-50 samples - not hugely important or noticeble most of the time, but nice to know it's exactly right.


On the test the result was: 832 samples / 17.33 ms
Sonar reported 726  latency a difference of 106, quite a bit more than 10-50. Is that a problem?
#14
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re: Help with Latency Issues 2015/03/17 03:05:55 (permalink)
Not really a problem, but definitely on the high side. Usually the delta is mostly due to unreported D/A/D converter latency which is on the order of .5ms each way. Added hardware buffering for USB interfaces can add to that, but a well-written driver should at least estimate the extra latency, and report that to the host. But it doesn't really matter what the number is. So long as it's consistent at all buffer sizes - as it should be - you can just enter that 106-sample difference as the Manual Offset and everything will be good.
 
 

SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
#15
tbosco
Max Output Level: -72 dBFS
  • Total Posts : 903
  • Joined: 2011/01/06 20:42:22
  • Location: Chattanooga, TN
  • Status: offline
Re: Help with Latency Issues 2015/03/17 05:48:40 (permalink)
I was having a similar issue and in another thread I read a suggestion to delete or rename the Sonar "AUD.INI" file.  I renamed mine to oldAud.ini.  When you start Sonar again, it will create a new one.  This made a huge improvement on my machine, although I don't really know why.
 
lol
 
You find the file under Drive:>Users/Username/App Data/ Roaming/Cakewalk/Sonar Platinum
 
Worth a try.  Good luck.

Cheers!

Tony

SONAR Platinum
JNCS Computer with Asus X99 Motherboard (i7)
Win10 Pro 64bit, 32GB RAM
Motif XF7, Komplete 11, Ozone 7, 
Komplete Kontrol 88 keys,
Softube Console 1,
PreSonus Faderport 8,
Focusrite ISA 430 Mk 2 Mic Pre,
Yamaha HS8s and Sub
Drawmer 3.1 Monitor Controller
Fractal Axe FX 2 XL Guitar Processor
Lots-o-Guitars
#16
TremoJem
Max Output Level: -81 dBFS
  • Total Posts : 479
  • Joined: 2008/04/10 09:42:25
  • Location: NY
  • Status: offline
Re: Help with Latency Issues 2015/03/17 06:46:13 (permalink)
What is the path for the "AUD.INI" file?

Purrrfect Audio LLC Pro Studio, Sonar X3e PE X64, Win7 Pro 64Bit - Dell Inspiron 1760, Sonar 7 PE X64, Win7 Pro 64Bit - iZotope Ozone 5 & Alloy 2 - MOTU Audio Express & 2 MOTU 8Pre - Glyph & Lacie External HDs - Roland A-800Pro - Mackie MR5mkIII - Shure - AKG - Sennheiser
 
Most importantly...not enough time.
 
www.studiocat.com
jim@studiocat.com
 
#17
mettelus
Max Output Level: -22 dBFS
  • Total Posts : 5321
  • Joined: 2005/08/05 03:19:25
  • Location: Maryland, USA
  • Status: offline
Re: Help with Latency Issues 2015/03/17 07:37:21 (permalink)
As Tony mentioned, it defaults to "C:\Users\[Your Username]\AppData\Roaming\Cakewalk\SONAR Platinum"
 
Rather than blindly deleting that file, it is better to rename it to something else (AUD.bak or such) just in case you need to put it back. There have been a few instances where people reported the new one was worse, but is rare.

ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
#18
Kylotan
Max Output Level: -71 dBFS
  • Total Posts : 995
  • Joined: 2007/09/10 17:27:35
  • Location: Nottingham, UK
  • Status: offline
Re: Help with Latency Issues 2015/03/17 07:38:01 (permalink)
Have you installed any new software recently?
 
Is the project bigger than usual? 4GB is arguably too little memory for a 64bit system.
 
Have you looked in Task Manager to see if there are other processes that are competing for CPU use?

Sonar Platinum (Newburyport) / Win 8.1 64bit / Focusrite Scarlett 6i6 / Absynth / Kontakt / Play / Superior Drummer 2 / ESP LTD guitar / etc
 
Twilight's Embrace - gothic/death metal | Other works - instrumental/soundtracks
#19
hockeyjx
Max Output Level: -74 dBFS
  • Total Posts : 839
  • Joined: 2003/12/09 18:36:28
  • Status: offline
Re: Help with Latency Issues 2015/03/17 07:50:02 (permalink)
Agree completely with Kylotan on the amount of memory you have. 4GB is woefully inadequate for a modern-day DAW. Even 8GB would be just ok. 
 
I would disable any network/wifi connection and A/V temporarily to check, and renaming the AUD.INI
and letting the system generate a new one as has been mentioned.
 
Good luck!
post edited by hockeyjx - 2015/03/17 15:57:52

Intel i7 950 Proc, Asus Sabertooth x58 MB, 2 Crucial 128GB SSDs and Seagate 1TBGB drive, 12GB Corsair 1600mhz 8-8-8-24 Memory, Nvidia GeForece 8400 Dual Monitor vid card
Cooler Master Silent Pro 700w Power Supply, Cooler Master Sileo 500


Win 7 64 bit, SPlat 64-bit, Komplete 10 Ultimate, AmpliTube3 and AD2


Tascam FW-1884 and AKAI MPK-49
#20
Cactus Music
Max Output Level: 0 dBFS
  • Total Posts : 8424
  • Joined: 2004/02/09 21:34:04
  • Status: offline
Re: Help with Latency Issues 2015/03/17 11:38:12 (permalink)
This seems straight forward to me. The computer specs are definitely outdated and certainly below what is needed for hi sample rates, high track counts and any fancy processing needed if using a bunch of plug ins. 
You should have no problems if you optimize your system and run at 44.1 or 48. 
 
Also run Latency Mon which like the loop back test, I think is mandatory for setting up a DAW. 
http://www.resplendence.com/latencymon  
 
You can also run DPCLAT test on Windows 7,  won't work on W8. I like it because it's more visual but it doesn't tell you why like the resplendent test does. 
http://www.thesycon.de/deu/latency_check.shtml
 
Also that offset equals issues with your tracks not lining up perfectly. Myself I would add the manual offset and get it closer. We've all been messing around with this and I think it's critical for syncing to be as close as possible for good recordings. Especially if you are using audio a lot for things like bass. Midi is quantized so doesn't matter. 
 
http://forum.cakewalk.com/Lets-all-TEST-our-Interface-driver-for-offset-m3178396.aspx
 
 
 
 
 
 
 

Johnny V  
Cakelab  
Focusrite 6i61st - Tascam us1641. 
3 Desktops and 3 Laptops W7 and W10
 http://www.cactusmusic.ca/
 
 
#21
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re: Help with Latency Issues 2015/03/17 13:29:29 (permalink)
Cactus Music
Midi is quantized so doesn't matter. 
 

 
Just a point of clarification: It's not quantizing that makes record latency correction unnecessary for MIDI, it's that neither MIDI input nor soft-synth rendering are subject to audio input/record latency, and MIDI input latency is fixed at a relatively insignificant 2-3ms.
 

SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
#22
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/17 14:47:22 (permalink)
Thank you to everyone. There's a ton of great information here that should help anyone with latency issues.  I know that I'm bookmarking it in case anything else comes up around the issue for me. For now I seem to be in great shape with just dialing back the sample rate to 48K. Everything is stable. The project I was working on was the only one that i had at the higher rate. I was planning on re-recording the 3 audio tracks anyway, so I deleted them and I was able to reset the sample rate to 48K. Everything is working smooth as silk now. I'm going to see if I can upgrade the memory in my computer. As usual it's always a question of cost.
#23
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re: Help with Latency Issues 2015/03/17 16:03:05 (permalink)
Cool. Go make music!
 
Depending on its vintage and design, your motherboard may not be able to accommodate more RAM. But I wouldn't worry about it. My old workhorse desktop runs great on 4GB. Extra RAM mainly helps with loading lots of heavyweight plugins. I haven't yet built a project that runs into problems. Upgrading to a quad processor would probably yield a much more noticeable performance improvement. Should be piles of used quad machines out there that you can pick up for a song (pun intended).

SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
#24
annifarkle
Max Output Level: -88 dBFS
  • Total Posts : 136
  • Joined: 2007/01/06 22:47:05
  • Location: The Seattle area
  • Status: offline
Re: Help with Latency Issues 2015/03/17 17:27:35 (permalink)
brundlefly
Cool. Go make music!
 
Depending on its vintage and design, your motherboard may not be able to accommodate more RAM. But I wouldn't worry about it. My old workhorse desktop runs great on 4GB. Extra RAM mainly helps with loading lots of heavyweight plugins. I haven't yet built a project that runs into problems. Upgrading to a quad processor would probably yield a much more noticeable performance improvement. Should be piles of used quad machines out there that you can pick up for a song (pun intended).


Good to know. I haven't run into problems yet but when I do I will certainly look into the used ones. Thanks again!
 
#25
Jump to:
© 2024 APG vNext Commercial Version 5.1