vladasyn
Max Output Level: -69 dBFS
- Total Posts : 1092
- Joined: 2005/02/05 00:33:23
- Status: offline
Help me solve this mistery with latency
Hey there I have this song, made in 2008 with Sonar Producer 8 on Windows XP machine. At that time I was not using any software synths because I had severe latency issue- would take significant time for synth to respond when pressing the keys. This song only uses hardware synths, and has about 70 audio tracks. All midi tracks removed by now. At that time I noted different issues with the song, for example, my Yamaha Motif XS drum pattern would get recorded with delay- I could not match anything to those drum tracks. So today I am trying to fix the song and manually move all the audio tracks at the beginning of the measure to start exactly on time, and it gets cleaner, song sounds ok. Now days I use Windows 8 computer, Sonar PX3 and huge collection of software synths. I do not have any audible latency issues with software synths. So I insert soft synth in to this song, and- have huge latency delay. The synths not responding on time just as it was back on the old system. Almost in panic, I open one of the recent songs, insert the same synth, and it sounds perfectly on time. Testing it in this old song- it has latency. Very audible delay- can not miss it. Checking all the settings- can not find anything. My question is, what could cause latency in this particular project and how do I fix it? It was recorded in Sonar P8, had latency issue on old computer, and now opened in Sonar X3, sounds fine, but latency issue persists, but not an issue with any new projects made on this 2013 Windows 8 64 bit computer. The old song was in 16/41.4, now it set to 24/41.4. All MIDI clocks activated. What do I miss- what is going on? Is it some kind of wiring issue of old Sonar 8? How do I make it go away? I need to update the song and use some newer sounds from software synths. Thank you.
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 03:07:10
(permalink)
☄ Helpfulby mettelus 2014/04/02 19:47:43
Dollars to donuts there's a plugin using a look-ahead buffer (e.g. convolution reverbs like Perfect Space, SONAR's Linear Phase plugins, Transient Shaper, etc) that's causing SONAR to apply Plugin Delay Compensation to all the other tracks to keep them in sync with the delayed output of the track/bus with the plugin. You can bypass this on live input monitored tracks, but the best course of action would be to remove the plugin from the project (possibly substituting something else that doesn't need PDC) until after all the audio and MIDI has been recorded and the added latency won't matter.
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
|
robert_e_bone
Moderator
- Total Posts : 8968
- Joined: 2007/12/26 22:09:28
- Location: Palatine, IL
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 10:26:20
(permalink)
☄ Helpfulby vladasyn 2014/04/03 13:11:55
I COMPLETELY agree, concur, flat out go along with, and think it to be so, what Mr brundlefly has posted. What happens if you load this project and hit 'E' on your computer keyboard? (This has a key binding to toggle 'Bypass All Effects' off/on). If your latency issues clear up immediately after bypassing the effects, then one or more of them is likely meant for mixing/mastering, and will require the ASIO Buffer Size to be set WAY higher. In addition, these kinds of plugins make it just about impossible to use while tracking (recording), because of the need to crank up the ASIO Buffer Size to accommodate them. Some folks have to turn their ASIO Buffer Size up to 1024 or even higher, depending on the plugins used during mixing/master, but that is fine, since you aren't concerned with recording at that point. Soooo, low latency through a small ASIO Buffer Size and lean plugins during tracking, and then high latency through a large ASIO Buffer Size and look-ahead processing plugins (and CPU-hungry ones) during mixing/mastering. You will for the rest of time be adjusting your ASIO Buffer Size back and forth, as you switch back and forth between recording and mixing/mastering. It is the nature of it. Bob Bone
Wisdom is a giant accumulation of "DOH!" Sonar: Platinum (x64), X3 (x64) Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22 Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64 Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms
|
vladasyn
Max Output Level: -69 dBFS
- Total Posts : 1092
- Joined: 2005/02/05 00:33:23
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 12:53:27
(permalink)
Thank you for your reply. I suspect it has to be some kind of compensation delay, also I did not look at my buffers settings... Back on old system I had to have pretty large buffer settings for the FireWire audio mixer to work properly. But Buffers are global settings, it is not per project setting, right? The Sonar X3 on the new computer with Presonus StudioLive 24 is set to low buffer, like 256 or 512 at max. It is interesting idea about forward looking plugin... I do not see any "Mastering" plugins, other than Multiband Compressor on Vocals- the old one that came with Sonar and can be found under Direct X. When I stop audio, I still have tale from reverb audible for a second and the Stop operation feels slightly delayed. I can try to get rid of Multiband Compressor- the only one considered to be Mastering plugin... I do not have that many effects- may be 10 or 15 Compressors- not multiband- the regular once that came with Sonar. Audio is not delayed. When I press Play, Audio starts right away. I find delay in recorded audio tracks when I use microscope- I can see that recording started and then spikes on wav image appear- slightly later, so I had to manually drag all the drum tracks to the beginning of the track. I thought that it must be related to long audio cables and Yamaha Motif's sequencer playback response time. That is separate issue from the new problem of software synths that I insert today and that have 3 seconds delay. I open another project in the same Sonar program with the same global settings and these same software synths working perfectly, but in this one song (and possibly other old songs recorded with Sonar 8- did not test it yet), I have delay in plugins response. So it is not Audio playback that waits for plugin. Audio starts, plugin sound responds late.
|
shawn@trustmedia.tv
Max Output Level: -54 dBFS
- Total Posts : 2136
- Joined: 2008/12/06 09:41:18
- Location: Hastings, MN
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 13:38:10
(permalink)
have you tried ASIO4ALL?it fixed my onboard ASIO latency issues... www.asio4all.com -Shawn
Studio SONAR X3. Axiom 25 midi controller, DUNE 2, Producer Content, Good Times, Bandlab Mojo
|
robert_e_bone
Moderator
- Total Posts : 8968
- Joined: 2007/12/26 22:09:28
- Location: Palatine, IL
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 13:46:55
(permalink)
1. ASIO Buffer Size needs to be small when you are recording, in order to avoid latency issues and dropouts. 2. ASIO Buffer Size usually needs to be changed to be really big when doing mixing or mastering. 3. Yes, the ASIO Buffer Size is a global setting. It will need to be changed from small to large as needed when working on either recording or tracking, and this will ALWAYS be the case, forever. If the project you are working on right now is still having tracking (recording) being done, then avoid the presence of plugins that use Look-Ahead processing, and keep your ASIO Buffer Size SMALL. If the project you are working on right now is finished with recording and now in the process of being mixed, go ahead and add whatever Look-Ahead plugins you want, and adjust your ASIO Buffer Size to be as big as is needed until the playback does so without dropouts. This ASIO Buffer Size at this point may be 1024 or even higher. 4. I asked you to do a test, where you toggle 'Bypass All Effects' by hitting the letter 'E' on your computer keyboard, to see if your effects plugins are what is causing you trouble. If dropouts go away whe effects are bypassed, then one or more effects is causing the dropouts, due to its requirements needing a larger ASIO Buffer Size than was specified. This usually occurs during recording, when a plugin that uses Look-Ahead processing is loaded while recording is still occurring. If this is the case REMOVE the plugin and swap it for something else, just until the recording is finished. Once mixing begins, the plugin can be loaded back into the project, and with adjusting the ASIO Buffer Size upward until playback works properly, it should be fine. BUT PLEASE DO THE TEST and post back. Bob Bone
Wisdom is a giant accumulation of "DOH!" Sonar: Platinum (x64), X3 (x64) Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22 Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64 Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms
|
robert_e_bone
Moderator
- Total Posts : 8968
- Joined: 2007/12/26 22:09:28
- Location: Palatine, IL
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 13:48:56
(permalink)
shawn@trustmedia.tv have you tried ASIO4ALL?it fixed my onboard ASIO latency issues... www.asio4all.com -Shawn
ASIO4ALL is at best a band aid for systems that do not have a dedicated audio interface, and would not apply here, as she has a nice audio interface. Her issues appear to be really a matter of which plugins she is using, and what settings she has for her ASIO Buffer Size. Bob Bone
Wisdom is a giant accumulation of "DOH!" Sonar: Platinum (x64), X3 (x64) Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22 Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64 Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms
|
CJaysMusic
Max Output Level: 0 dBFS
- Total Posts : 30423
- Joined: 2006/10/28 01:51:41
- Location: Miami - Fort Lauderdale - Davie
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 16:15:08
(permalink)
Start tasking one thing out of the signal chain at a time until it stops. This is a great way to troubleshoot your problem and it will only take a few minutes to do. CJ
|
vladasyn
Max Output Level: -69 dBFS
- Total Posts : 1092
- Joined: 2005/02/05 00:33:23
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 16:43:47
(permalink)
One thing out of the signal chain? You mean, effects? Robert, thank you for the "E" suggestion and your detailed post. You saying to just press E to bypass effects? I have to try that. If I press E again, it will turn them back on? The issue is not dropouts or delay in audio. Yes, I am in mixing stage, but I want to add few parts from softeare synths. It is not recording of audio, it will be recording MIDI notes. I do not know how to tell which plugins use forward looking anything. But note that no other projects have this issue. These same plugins work fine in mixing, recording and doing whatever I need in other projects. No need to change the buffers. This project was using pitch shifter and few Cakewalk reverb instances- Reverbs are gone due to switch from 32 bit to 64 bit system. There was something wrong with this project- it's MIDI clock and triggering of Motif's sequencer and the turn around from the time MIDI sequencer was triggered a pattern by note to the time Audio gets recorded- it was like Motif's sequencer would start playing but by the time it goes over audio cables, it appears slightly behind. It makes sense to me that something would affect the software synths tho. How can effects on the tracks affect software synth latency if it has enough memory? I used to have latency issue in all projects on old system, this is why I could not use soft synths when everybody started to use them. Now that problem is gone, but it persists in this one project. In fact few weeks ago I was mixing one of the old projects with new software synth and there was no latency. It is just this one project, and latency is overwhelming- when I play MIDI note on MIDI controller, I can count to 3 before I hear the sound. I will try E trick but I have feeling that it must be something else. Think more. :)
|
CJaysMusic
Max Output Level: 0 dBFS
- Total Posts : 30423
- Joined: 2006/10/28 01:51:41
- Location: Miami - Fort Lauderdale - Davie
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 16:58:32
(permalink)
One thing out of the signal chain? You mean, effects? Yea, and if there is anything else, do those also. Just take one thing out at a time until it stops and you have solved your issue CJ
|
vladasyn
Max Output Level: -69 dBFS
- Total Posts : 1092
- Joined: 2005/02/05 00:33:23
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 17:09:17
(permalink)
I dont know what I would take. I have the same effect- Compressor from Sonar on every track. Nothing major to take off. I sent you a PM. :)
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 18:07:07
(permalink)
vladasyn It is just this one project, and latency is overwhelming- when I play MIDI note on MIDI controller, I can count to 3 before I hear the sound. When latency gets that bad, it's usually an indication that some plugin or the synth itself has gotten into a bad state. On the rare occasions I've encountered that kind of severe latency it was usually because the CPU got overloaded due to a confluence of heavy soft synth load with a too-small ASIO buffer and/or high DPC latency. But it was always temporary and just cycling the audio engine on an off would usually take care of it. But if it's so project-specific, the bottom line is that some feature of that project is causing the problem and the easiest way to troubleshoot it is to make a copy and start tearing it down one plugin/track/bus at a time until the issue goes away. If it goes away suddenly, as is likely, whatever you removed last is the culprit. Sometimes you can speed the process by using a "binary" approach where you delete half the tracks and if the problem persists, you delete half of the remainder and so on. If the problem goes away at some point, you undo that deletion, and delete half of that problematic group. Keep going until you've isolated the problem child.
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
|
robert_e_bone
Moderator
- Total Posts : 8968
- Joined: 2007/12/26 22:09:28
- Location: Palatine, IL
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 18:22:49
(permalink)
1. YES, hitting E again will turn effects back on. PLEAS PLEASE PLEASE run this test, as it will immediately indicate if there is a problem with one or more of the effects plugins. 2. If you are trying to record additional parts, then you MUST pay attention to the buffer requirements for the plugins you have loaded. For recording to work properly, you cannot have plugins that induce high latency, and you have to have an ASIO Buffer Size small enough to keep your Total Roundtrip Latency down around 10 milliseconds. Otherwise, you will experience what you are experiencing. 3. Please list exactly what plugins are present in this project, AND please list your current ASIO Buffer Size, as well as the Sonar-reported Total Roundtrip Latency. Bob Bone
Wisdom is a giant accumulation of "DOH!" Sonar: Platinum (x64), X3 (x64) Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22 Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64 Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms
|
jb101
Max Output Level: -46 dBFS
- Total Posts : 2946
- Joined: 2011/12/04 05:26:10
- Status: offline
Re: Help me solve this mistery with latency
2014/04/02 19:40:44
(permalink)
Please try disabling all your effects to see if it is caused by a look-ahead or CPU intensive effect, as brundlefly suggested in post #2. This should only take seconds to try.. Have you tried this? If not, then brundlefly's binary approach is a good idea. This should only take a minute or two. Have you tried this? Which of these have you actually tried?
|
vladasyn
Max Output Level: -69 dBFS
- Total Posts : 1092
- Joined: 2005/02/05 00:33:23
- Status: offline
Re: Help me solve this mistery with latency
2014/04/03 01:15:53
(permalink)
Sorry it took so long to test it- had to wait for everybody to go sleep before I could get to music... The E trick worked! It is caused by the effects! But which once? Can not tell what causing it. I have T-Racks CSR Plate and CSR Reverbs. There is option to have "Insert" presets and "Send" presents. If I am on a track, I am using Insert, right? Also turning them off is not changing the soft synth response time. I disabled effects chain with Izotope Nectar, Sonitus:fx Compressor, Multiband Compressor and Reverb (old effects that came with Sonar). Disabled Pitch Shifter and Akustix- no improvement. I have 16 instances of Sonitus:fx Compressor. I guess I will go ahead and disable (not delete but turn the button off) all of them and see if it helps... How do I lessen these compressors? Should I put one instance on the BUS and then assign those 16 tracks that using it to the BUS? I used to do it but it was long time ago. in fact- I realized that I did it on this song because I see compressor on the bus. I can delete those Compressors, and assign individual track outputs to the BUS, and BUS out to Master. Is it right way to do it? Ok, so I turned off all effects but this time not by E, but by pressing blue power button on effect. And Latency is still there. I dont get it. So E is a different operation than turning effects off one at a time? Also- now what? Pressing E makes latency go away, so it caused by effects, yet turning effects off does not fix it. I do not want to delete all effects. Any thoughts will be appreciated. Thank you.
post edited by vladasyn - 2014/04/03 01:22:15
|
forkol
Max Output Level: -87 dBFS
- Total Posts : 182
- Joined: 2008/04/12 01:06:19
- Status: offline
Re: Help me solve this mistery with latency
2014/04/03 02:04:06
(permalink)
It could be that pressing the little blue button only disables it, but it could still be processing, kinda like the mute button works. I would look for it via either freezing the track OR removing them one-by-one, testing and then undo the delete. I had a similar issue, and I ended up tracking it down to R-Mix. If I had to make a complete SWAG, I would thing it could be Izotope Nectar, since it would be the kind of thing that needs quite a bit of look-ahead. EDIT: And I also checked out Akustix. This could be the culprit as well. It's trying to some spectral noise processing, which sounds like it would take quite a bit of time latency-wise as well.
post edited by forkol - 2014/04/03 02:10:30
|
vladasyn
Max Output Level: -69 dBFS
- Total Posts : 1092
- Joined: 2005/02/05 00:33:23
- Status: offline
Re: Help me solve this mistery with latency
2014/04/03 02:48:34
(permalink)
Found it. It is Izotope Breath control. So I guess I can only use it after everything is done? You, guys, awesome! Would not find it without you! Thank you.
|
robert_e_bone
Moderator
- Total Posts : 8968
- Joined: 2007/12/26 22:09:28
- Location: Palatine, IL
- Status: offline
Re: Help me solve this mistery with latency
2014/04/03 04:54:35
(permalink)
Yeah - the nature of what some effects do introduces massive latency, and this is the downside of beginning the mix process and adding such effects, then having to flip back into the recording process. Learning which effects can produce this situation is part of the 'art' of audio engineering - you learn and remember, and over time build up a good awareness, and this is just part of that process. I am VERY pleased you stuck with this and were receptive enough to work through the frustration of it all. I would recommend that you create a document on your system that lists plugins that cause these latency issues during recording, adding to it as you discover additional ones, so that you can more quickly avoid using them when doing initial tracking, and also know to temporarily swap them out if you have to go back for additional tracking after beginning the mixing process. Bob Bone
Wisdom is a giant accumulation of "DOH!" Sonar: Platinum (x64), X3 (x64) Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22 Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64 Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms
|