Latency issues - new computer

Author
ULTRABRA
Max Output Level: -81 dBFS
  • Total Posts : 484
  • Joined: 2009/07/07 05:27:34
  • Location: Helsinki, Finland
  • Status: offline
2013/03/17 03:22:04 (permalink)

Latency issues - new computer

I just got myself set up on a new PC --- everything seems fine, except I have noticeable latency when playing soft synths (which I did not have in my old PC).

Driver mode is set to ASIO, and buffer size is 64 --- same result on 128 and 256. 

Midi controller (using a Yamaha Motif XS7) and MOTU Ultralite soundcard drivers, all updated.       

DPC latency checker, all green showing under 150 us (which I am presuming is OK?).

I don't know what else I should check - any suggestions? 

PC specs in signature.


post edited by ULTRABRA - 2013/03/17 03:35:04

HP Z420, Intel Xeon E5-1620@ 3600MHz, 8GB RAM,  Windows 7 Pro 64-bit, Soundcard : Focusrite Saffire 24, & Sonar : Producer X3    
My Soundcloud
#1

19 Replies Related Threads

    swamptooth
    Max Output Level: -53 dBFS
    • Total Posts : 2229
    • Joined: 2012/04/16 15:44:21
    • Status: offline
    Re:Latency issues - new computer 2013/03/17 03:44:06 (permalink)
    if you have asio4all installed for whatever reason, uninstall it because it hijacks the recording latency adjustment in prefs/audio/sync and caching.  another thing to look at is whether the patch you're using has a short attack time.  in prefs/audio/config file set threadschedulingmodel to 2 and minimizedriverstatechanges to 3.  since you're using a usb audio interface, and i'm guessing usb-midi turn off usb power state management in windows power settings. 

    if that doesn't work, delete your aud.ini file, there may be junk in it and reset prefs as above.

    how's audio playback??? any problems there?  it could also be helpful to mention a specific synth/patch that you're experiencing this with because there are a ton of us here who will load it up ourselves and see if we can recreate the issue.

    hth.
     
    edit - oh, yeah - make sure all your gear is hooked up to usb 2.0 buses and not 3.0...
    post edited by swamptooth - 2013/03/17 03:50:25

     
    Arvid H. Peterson
    Sonar X3E Prod / X2A  / X1PE | Cubase 9.5.1 | Reason 9.5 | Sibelius7 | Pure Data
    Native-Instruments Komplete 10 Ultimate and a smattering of other plugins
    Home-brewed VSTs 
    Toshiba Satellite S855-S5378 (16GB RAM, modified with 2x 750GB HDDs, Windows 8.1 x64)  
    Samson Graphite 49, M-Audio Oxygen 49, Korg nanoPAD2, Webcam motion tracking programs 
    M-Audio Fast Track Ultra
    Member, ASCAP   


    #2
    ULTRABRA
    Max Output Level: -81 dBFS
    • Total Posts : 484
    • Joined: 2009/07/07 05:27:34
    • Location: Helsinki, Finland
    • Status: offline
    Re:Latency issues - new computer 2013/03/17 04:53:00 (permalink)
    Thanks Swamptooth for the advice.   Turned out to be that the midi keyboard which is connected by USB worked fine in another USB slot... I'm not sure why there was a difference but maybe this USB 2.0 and 3.0 like you suggest above, so thanks for that.

    By the way, my audio interface is firewire, not USB (its older Ultralite Mk-3 which was only firewire).

    HP Z420, Intel Xeon E5-1620@ 3600MHz, 8GB RAM,  Windows 7 Pro 64-bit, Soundcard : Focusrite Saffire 24, & Sonar : Producer X3    
    My Soundcloud
    #3
    swamptooth
    Max Output Level: -53 dBFS
    • Total Posts : 2229
    • Joined: 2012/04/16 15:44:21
    • Status: offline
    Re:Latency issues - new computer 2013/03/17 04:57:14 (permalink)
    the usb 3 connections are blue plugs, so that's how you tell the diff.. sometimes oems have other hardware sharing usb slots too.  glad you got it all sorted. :D

     
    Arvid H. Peterson
    Sonar X3E Prod / X2A  / X1PE | Cubase 9.5.1 | Reason 9.5 | Sibelius7 | Pure Data
    Native-Instruments Komplete 10 Ultimate and a smattering of other plugins
    Home-brewed VSTs 
    Toshiba Satellite S855-S5378 (16GB RAM, modified with 2x 750GB HDDs, Windows 8.1 x64)  
    Samson Graphite 49, M-Audio Oxygen 49, Korg nanoPAD2, Webcam motion tracking programs 
    M-Audio Fast Track Ultra
    Member, ASCAP   


    #4
    ULTRABRA
    Max Output Level: -81 dBFS
    • Total Posts : 484
    • Joined: 2009/07/07 05:27:34
    • Location: Helsinki, Finland
    • Status: offline
    Re:Latency issues - new computer 2013/03/18 17:09:46 (permalink)
    Well - unfourtunately my problem came back again ... I've been working on a song, and all seems to be fine.  After a while I notice a small but distinct latency  - pressing my Midi keyboard short delay before hearing soft synth sound.   Seems that placing Ozone 5 on the Master Bus causes it.   Seems only some of the Ozone presets does it, not just an instance of Ozone on its own.  My PC is pretty powerful (or so I thought ...) --- should this be happening?   And is there something I can do about it?

    HP Z420, Intel Xeon E5-1620@ 3600MHz, 8GB RAM,  Windows 7 Pro 64-bit, Soundcard : Focusrite Saffire 24, & Sonar : Producer X3    
    My Soundcloud
    #5
    jb101
    Max Output Level: -46 dBFS
    • Total Posts : 2946
    • Joined: 2011/12/04 05:26:10
    • Status: offline
    Re:Latency issues - new computer 2013/03/18 17:59:37 (permalink)
    There can be two types of plug-ins that can cause this:-
     
    CPU intensive plugs like convolution reverbs (Perfect Space)
     
    Look Ahead effects, such as the PC Concrete Limiter.
     
    Apart from disabling them, there's not a lot you can do.  Only use effects like this when you've finished tracking.  If you have to use them, disable them if you need to record something.  Keyboard shortcut "E" turns off all effects.  I simply disable the specific effects that I know cause latency.  Do not disable PDC.
     
    If it's a convolution reverb, use something like Pantheon or Breverb when tracking, and replace it when you've finished.

     Sonar Platinum
    #6
    kristoffer
    Max Output Level: -82 dBFS
    • Total Posts : 406
    • Joined: 2010/08/18 15:25:37
    • Location: Bergen, Norway
    • Status: offline
    Re:Latency issues - new computer 2013/03/18 18:01:29 (permalink)
    I had this problem (with Sonar 8.5) and the latency increased as I got further in the project. 

    There is a "feature" in 8.5 - when you experience problems, could you try to press Ctrl+D?
    This is the "plugin delay compensation override?

    A lot of information about timing in this thread

    SonarPlatinum/X3e Producer
    HW:
    ~Pod HD pro~Pod X3~JTV-69 US~Tascam FW1884~BEYERDYNAM​IC DT770 PRO~Røde NTK~MaschineMikro~ADAM ARTist5
    W10 - i7 920 - Intel DX58SO2 - Nvidia NVS450 Quad - 12GB OCZ Gold 1600Mhz RAM - Noctua NH-D14 - Corsair TX950w PSU
    - Corsair MX200 500GB OS/Programs - OCZ Agility 3 SSD (Audio) - WD Black 1TB
    #7
    jb101
    Max Output Level: -46 dBFS
    • Total Posts : 2946
    • Joined: 2011/12/04 05:26:10
    • Status: offline
    Re:Latency issues - new computer 2013/03/18 18:06:17 (permalink)
    kristoffer


    I had this problem (with Sonar 8.5) and the latency increased as I got further in the project. 

    There is a "feature" in 8.5 - when you experience problems, could you try to press Ctrl+D?
    This is the "plugin delay compensation override?

    A lot of information about timing in this thread
    The problem with disabling PDC is that it can cause more problems than it solves.  Tracks that weren't out of time may become so.  If a plug in needs PDC, then disabling it will cause that plug in to go out of time.
     
    You may find that drum plugs or synths will suddenly be all over the place.  Disabling PDC should not be used to solve latency issues.

     Sonar Platinum
    #8
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency issues - new computer 2013/03/18 20:49:13 (permalink)
    Try to see if the problem occurs without any effects.  That will distinguish between a system issue and one caused by a plugin. 'E' on the keyboard should do this.

    If it works properly with no plugins, then load them one at a time until you find the offending one.

    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  
    #9
    ULTRABRA
    Max Output Level: -81 dBFS
    • Total Posts : 484
    • Joined: 2009/07/07 05:27:34
    • Location: Helsinki, Finland
    • Status: offline
    Re:Latency issues - new computer 2013/03/19 15:58:45 (permalink)
    Thanks for the replies - its Ozone 5 on my Master bus that is causing the issue.    And its only if I load up some of the presets.    Ozone 5 on a track (which I would not normally do, this was just to see what happened, and I have anyway Alloy for that) does not cause the latency. I'm sure I read on here of other users having Ozone on the Master ... I wasn't expecting this - am I doing something wrong or is this normal?

    HP Z420, Intel Xeon E5-1620@ 3600MHz, 8GB RAM,  Windows 7 Pro 64-bit, Soundcard : Focusrite Saffire 24, & Sonar : Producer X3    
    My Soundcloud
    #10
    Jim Roseberry
    Max Output Level: 0 dBFS
    • Total Posts : 9871
    • Joined: 2004/03/23 11:34:51
    • Location: Ohio
    • Status: offline
    Re:Latency issues - new computer 2013/03/19 16:50:14 (permalink)
    Latency comes from two sources:
    • Audio Interface (determined by the ASIO buffer size)
    • Latent plugins


    If you have a latent plugin inserted anywhere in the project, automatic plugin-delay-compensation will delay ALL other audio to keep things 100% in sync.  Thus, don't use latent plugins when tracking... oruse the global PDC bypass button (in the Control Bar) to temporarily disable PDC while tracking.


    Best Regards,

    Jim Roseberry
    jim@studiocat.com
    www.studiocat.com
    #11
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency issues - new computer 2013/03/19 20:39:43 (permalink)
    Jim Roseberry


    Latency comes from two sources:
    • Audio Interface (determined by the ASIO buffer size)
    • Latent plugins


    If you have a latent plugin inserted anywhere in the project, automatic plugin-delay-compensation will delay ALL other audio to keep things 100% in sync.  Thus, don't use latent plugins when tracking... oruse the global PDC bypass button (in the Control Bar) to temporarily disable PDC while tracking.

    In general terms, yes, but it can also come from background services that periodically 'spike' the latency, as well as some hardware devices - such as wireless devices, and I believe insufficient memory for the given project can also cause latency/dropout issues.  Sometimes things like antivirus software, or that sort of thing.


    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  
    #12
    jimkleban
    Max Output Level: -64 dBFS
    • Total Posts : 1319
    • Joined: 2008/11/09 09:42:45
    • Status: offline
    Re:Latency issues - new computer 2013/03/19 21:01:37 (permalink)
    I assume you have at least 8 threads... there is a parameter in AUD.INI that allows you to set the MAX workers threads that SONAR will reserve for SONAR.  

    I know this sounds counter-intuitive, but try and free up two threads for the OS overhead by setting this parm to 5 instead of ZERO.  ZERO will take all the available threads by default (if you have 4 cores, multi threading it will take all 8 for SONAR).

    I think that SONAR is choking the rest of the system thus causing your issues.  Just try this setting and see if it helps.

    It did for me and I just posted a helpful hint yesterday on this forum.

    Good luck,
    Jim

    The Lamb Laid Down on MIDI
    www.lldom.com
     
    Studio Cat Custom i7 with Thunderbolt (wonderful system built and configured by our own Jim R)
    Apollo Duo (via TB)
    UAD Quad
    UAD Duo
    WIN 8.1 x64 with 32 GB Ram
    4 SSD for programs and sample libraries
    Splat (latest version)
    #13
    slartabartfast
    Max Output Level: -22.5 dBFS
    • Total Posts : 5289
    • Joined: 2005/10/30 01:38:34
    • Status: offline
    Re:Latency issues - new computer 2013/03/19 21:07:37 (permalink)
    am I doing something wrong or is this normal?



    http://www.izotope.com/products/audio/support/ozone.html#5

    #14
    Jim Roseberry
    Max Output Level: 0 dBFS
    • Total Posts : 9871
    • Joined: 2004/03/23 11:34:51
    • Location: Ohio
    • Status: offline
    Re:Latency issues - new computer 2013/03/20 06:11:55 (permalink)
    In general terms, yes, but it can also come from background services that periodically 'spike' the latency, as well as some hardware devices - such as wireless devices, and I believe insufficient memory for the given project can also cause latency/dropout issues.  Sometimes things like antivirus software, or that sort of thing.



    Hi Bob,


    FWIW, You're confusing "audio latency" and "DPC latency".
    Effectively working at low audio latency is dependent on having low/consistent DPC latency... but they are two completely different things.   

    Audio latency only comes from two sources:
    • Audio Interface (ASIO buffer size)
    • Latent Plugins (automatic plugin delay compensation causes all audio to be delayed by the total amount of latency from all inserted latent plugins - doesn't matter where they're inserted)


    Best Regards,

    Jim Roseberry
    jim@studiocat.com
    www.studiocat.com
    #15
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency issues - new computer 2013/03/20 07:22:55 (permalink)
    Sorry - Jim - I wasn't thinking and posted that in a hurry to catch a bus.  You are indeed quite correct.  I was referring to DPC latency and should have added the distinction.  I did not compose my post very well.

    To the original poster: certain plugins, such as Ozone 5, can drastically affect latency - such as those with 'look-ahead' processing.  Some plugins are intended for use in mastering, so you may want to substitute plugs until ready for mastering, and then swap them out at that point.

    Here is another thread on this, from the forum: 

    http://forum.cakewalk.com/tm.aspx?m=2575641

    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  
    #16
    jimkleban
    Max Output Level: -64 dBFS
    • Total Posts : 1319
    • Joined: 2008/11/09 09:42:45
    • Status: offline
    Re:Latency issues - new computer 2013/03/20 10:10:10 (permalink)
    As far as soft synths go, there is a buffer for MIDI as well within SONAR... set too low and you get MIDI dropouts... as you set it higher, the MIDI latency increases as well... you need to find the sweet spot between the two.  If I set mine at 256, I get the MIDI note dropout.  At 512, the MIDI plays back fine but adds real time latency (un useable for me).

    So, what I have had to do, is use an older LAPTOP and install my softsynths on it (as well as my main DAW).  I have a MIDI splitter coming from my MIDI keyboard and send one signal to the DAW for MIDI recording and the other MIDI to the extra laptop.

    This laptop only runs the softsynth so I can monitor my MIDI performance in real time.  I mix my DAW audio and the LAPTOP audio through my external mixer so I can hear all the music at the same time.  

    THis way my MIDI performance is in sync with my DAW project and I can monitor the soft synth in real time.

    Just one of those workarounds.  In essence, I am using the laptop as a synth hardware unit but I am recording my MIDI in real time.  I then go to my DAW and link the soft synth to the newly recorded MIDI track and go on with mixing.

    I don't know any other way to eliminate the dreaded MIDI delay with soft synths trying to record MIDI in real time using the sounds of the soft synth.

    The above works flawlessly for me by the way.

    Jim


    The Lamb Laid Down on MIDI
    www.lldom.com
     
    Studio Cat Custom i7 with Thunderbolt (wonderful system built and configured by our own Jim R)
    Apollo Duo (via TB)
    UAD Quad
    UAD Duo
    WIN 8.1 x64 with 32 GB Ram
    4 SSD for programs and sample libraries
    Splat (latest version)
    #17
    ULTRABRA
    Max Output Level: -81 dBFS
    • Total Posts : 484
    • Joined: 2009/07/07 05:27:34
    • Location: Helsinki, Finland
    • Status: offline
    Re:Latency issues - new computer 2013/03/26 05:32:08 (permalink)
    Thanks for all the replies, very helpful.   Everything is working fine, except when I try Ozone 5 on the Master Bus whilst tracking.   So do I understand right, that Ozone 5 is a "latent plugin", meaning that it will add the latency whatever the computer power?   So even if I had double the computer power it would not make any difference?   
    Jim Roseberry


    Latency comes from two sources:
    • Audio Interface (determined by the ASIO buffer size)
    • Latent plugins


    If you have a latent plugin inserted anywhere in the project, automatic plugin-delay-compensation will delay ALL other audio to keep things 100% in sync.  Thus, don't use latent plugins when tracking... oruse the global PDC bypass button (in the Control Bar) to temporarily disable PDC while tracking.



    HP Z420, Intel Xeon E5-1620@ 3600MHz, 8GB RAM,  Windows 7 Pro 64-bit, Soundcard : Focusrite Saffire 24, & Sonar : Producer X3    
    My Soundcloud
    #18
    Bristol_Jonesey
    Max Output Level: 0 dBFS
    • Total Posts : 16775
    • Joined: 2007/10/08 15:41:17
    • Location: Bristol, UK
    • Status: offline
    Re:Latency issues - new computer 2013/03/26 06:42:14 (permalink)
    For what it's worth Ultra, I can't do any tracking on my system if I have my usual chain of TRackS plugs in the master buss - the buss needs to be bypassed before latency becomes a non-issue.

    Also, I try when possible to complete all my tracking before I start mixing (sometimes it's difficult not to!) and I have resorted to globally bypassing all Fx plugs ('E'), then do my recording before enabling the Fx again.

    I don't think it matters what your computer specs are - once you have any latent plugs in your project, recording will not be possible until they are bypassed.

    CbB, Platinum, 64 bit throughout
    Custom built i7 3930, 32Gb RAM, 2 x 1Tb Internal HDD, 1 x 1TB system SSD (Win 7), 1 x 500Gb system SSD (Win 10), 2 x 1Tb External HDD's, Dual boot Win 7 & Win 10 64 Bit, Saffire Pro 26, ISA One, Adam P11A,
    #19
    slartabartfast
    Max Output Level: -22.5 dBFS
    • Total Posts : 5289
    • Joined: 2005/10/30 01:38:34
    • Status: offline
    Re:Latency issues - new computer 2013/03/26 12:41:14 (permalink)
    So do I understand right, that Ozone 5 is a "latent plugin", meaning that it will add the latency whatever the computer power?



    from the FAQ linked in my first post:


    "Does Ozone offset the audio by some delay time?
    Ozone's digital processing modules will insert a delay into Ozone's output. Many host applications will compensate for this delay if you enable "Delay compensation" in Ozone's General Options tab. Ozone's Dynamics and Loudness Maximizer also use lookahead algorithms to intelligently predict and interpolate the waveform. This lookahead time is on the order of a few milliseconds.

    You can also compensate for the delay manually after applying Spectron to your audio. To see the total delay Ozone is currently inserting into its output, see the General Options tab."

    So, yes, it is a "latent plugin," to use your terminology, inserting delay and in some cases using a lookahead buffer which really cannot be compensated for in real time.
    #20
    Jump to:
    © 2025 APG vNext Commercial Version 5.1