planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Just what is plug-in "delay compensation" supposed to do?!?
I'm running Sonar X3e, (64-bit), on a clean and otherwise fast, low-latency system. You may be able to reproduce this issue yourselves, if you want. I inserted Rob Papen's Blue II synth, and used "Guitar Groove 2", which has a nice, delay-based groove that's sync'ed to the song's tempo (in this case, 60 BPM). (Anything with a sharp attack and bult-in, tempo-sync'ed delay should work.) I used Sonar's own "ProChannel" compressor and EQ to tame and tweak the sound a bit. It seemed to play in time with the other tracks. But when I added another instance of RP Blue II (using the same factory preset but no compression, EQ or other processing) and played both at the same time, live, via my MIDI controller, the original one was obviously delayed by the compressor and/or EQ. Turning off Sonar's compressor and EQ on the original synth helped put the otherwise identical synths and tracks back in sync again.
No third-party effects were used, and while I've heard similar "smearing" and other phase issues just from using the effect sends in Sonar (even with no effects on the sends!), I didn't really expect it from the compressor and EQ (though I guess I should have). So, what is "enable delay compensation" supposed to do for the VST? Per the manual, I left it where it is for each VST, but if Sonar's own effects are adding that much delay to the track, I don't know what to do!
And yes, the search engine for this forum sucks (as others have noted), so if this has been asked and answered any time other than the one hit Google showed me from 2008, I apologize. Thanks.
Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|
SilkTone
Max Output Level: -59.5 dBFS
- Total Posts : 1566
- Joined: 2003/11/10 17:41:28
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 01:47:57
(permalink)
It depends a lot on the type of effect. Some types of effects will always introduce a delay and it cannot be avoided. A simple example would be a compressor that has a "look ahead" feature. Well, there is no way to look ahead into the future, so the only way to do it is to delay the output signal so that the algorithm can apply the compression on the delayed audio based on the non-delayed audio. But that will cause all other tracks to become out of sync with your track that has the compression on it. To get everything back into sync, the host has to then delay all other tracks by the same amount. So it asks each plugin how much it is delaying the audio, and then applies an artificial delay to all other tracks so that things once again line up. Other types of DSP algorithms that cause delays are FIR filters, which will delay the signal by half the number of samples compared to the number of coefficients it has. FIR filters are "digital" filters which cannot be recreated by analog circuits, while IIR filters are the ones simulating analog filters. Convolution reverbs also cause delay (but the fancy ones use complicated tricks to work around the issue, resulting in zero-latency).
post edited by SilkTone - 2015/04/08 02:16:35
Windows 10 Pro x64, SONAR Platinum 64-bitFocusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MDNVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
|
planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 02:51:10
(permalink)
Thanks, SilkTone. I pretty much knew that stuff. I guess I should have asked why Sonar's own "ProChannel" effects are adding so much latency that it's clearly, audibly noticeable. I could understand it if a third-party plug-in didn't "play nice" with Sonar and allow it to compensate for whatever delay the plug-in creates. But these are Sonar's own plug-ins! How did this get released like this?!? And how am I supposed to work with this?!? What's the work-around? Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|
mudgel
Max Output Level: 0 dBFS
- Total Posts : 12010
- Joined: 2004/08/13 00:56:05
- Location: Linton Victoria (Near Ballarat)
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 03:06:09
(permalink)
Do you have Use Plugin Delay Compensation turned on?
I make use of ProChannel plugins and other Cakewalk VST2 plugins and don't experience this.
Are you using the plugins in the monitoring chain? It may not be plugin delay but system latency in connection with your PC and sound card settings?
Mike V. (MUDGEL) STUDIO: Win 10 Pro x64, SPlat & CbB x64, PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz. Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2. Monitors: Adam A7X, JBL 10” Sub. Audio I/O & DSP Server: DIGIGRID IOS & IOX. Screen: Raven MTi + 43" HD 4K TV Monitor. Keyboard Controller: Native Instruments Komplete Kontrol S88.
|
planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 04:38:34
(permalink)
mudgel Do you have Use Plugin Delay Compensation turned on?
I make use of ProChannel plugins and other Cakewalk VST2 plugins and don't experience this.
Are you using the plugins in the monitoring chain? It may not be plugin delay but system latency in connection with your PC and sound card settings?
Have you tested this yourself though? Try the steps I outlined earlier, and if you use a delay on the plucked instrument sound, make sure it's built into the instrument, and not added as another VST effect. Play them both live (via MIDI) at the same time, and I bet you'll hear a difference between the "processed" instrument and the unprocessed one. (We're talking something on the order of 40-50 milliseconds, at least, if I had to guess.) I don't know where I can turn compensation on or off for Sonar's own plug-ins in the ProChannel. I can hit the "PDC" button, and try that, I guess. But yes, I'm using them in the "monitoring" chain of the VST, though as I said, I'm playing both instances of the softsynth via MIDI at the same time. The output of one goes through the compressor and EQ in ProChannel; the other has nothing on the output. I'm not using any plug-ins on my audio device's monitoring chain. This is all happening within Sonar, and only with two instruments (really, one that's loaded twice) and no effects other than ProChannel's compressor and EQ. Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|
mudgel
Max Output Level: 0 dBFS
- Total Posts : 12010
- Joined: 2004/08/13 00:56:05
- Location: Linton Victoria (Near Ballarat)
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 05:09:06
(permalink)
If I was having problems in real world use then I'd have a reason to construct some test to try and find the cause of the issue. But I dont. I suggest you do some more reading of the Sonar reference manual under PDC Plugin and delay compensation is controlled in Preferences/Audio/Playback and Recording and also Synch and Caching There is also a toggle for PDC in the appropriate module in the Control Bar.
post edited by mudgel - 2015/04/08 07:32:20
Mike V. (MUDGEL) STUDIO: Win 10 Pro x64, SPlat & CbB x64, PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz. Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2. Monitors: Adam A7X, JBL 10” Sub. Audio I/O & DSP Server: DIGIGRID IOS & IOX. Screen: Raven MTi + 43" HD 4K TV Monitor. Keyboard Controller: Native Instruments Komplete Kontrol S88.
|
bitflipper
01100010 01101001 01110100 01100110 01101100 01101
- Total Posts : 26036
- Joined: 2006/09/17 11:23:23
- Location: Everett, WA USA
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 09:12:07
(permalink)
40-50 ms is huge. I can't imagine any equalizer having such latency. Makes me wonder if this has anything at all to do with PDC. I'll bet if you froze the two synth tracks (leaving the fx bin active) they'd be in perfect sync. Do you just notice this effect when playing the synths live, or do you also hear the lag during playback?
 All else is in doubt, so this is the truth I cling to. My Stuff
|
SilkTone
Max Output Level: -59.5 dBFS
- Total Posts : 1566
- Joined: 2003/11/10 17:41:28
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 11:01:29
(permalink)
Ah ok sorry, I guess I misunderstood your question. But 40 -50 ms does sound excessive. I'll try your steps and see if I can repro it.
Windows 10 Pro x64, SONAR Platinum 64-bitFocusrite Scarlett 18i8 USB, ASRock Z97 Pro4, Haswell 4790k @ 4.4GHz32GB DDR3/1600, 500GB SSD (OS) + 256 GB SSD + 3TB MDNVIDIA GTX-1070, 40" 4K Monitor + 1 Monitor in ISO booth
|
Sanderxpander
Max Output Level: -36.5 dBFS
- Total Posts : 3873
- Joined: 2013/09/30 10:08:24
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 13:16:05
(permalink)
I don't know the way you set this up, but one thing that may have an effect is that PDC can't be calculated correctly if you alter something that changes the delay of the plug while the transport is running.
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 17:40:28
(permalink)
I can't replicate a problem using two instances of Z3ta 2 with a patch that includes a tempo-synced delay, one with a full complement of Prochannel FX on its track, and the other completely dry. Can you reproduce a problem without Blue II in the mix?
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
|
planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 17:48:37
(permalink)
bitflipper 40-50 ms is huge. I can't imagine any equalizer having such latency. Makes me wonder if this has anything at all to do with PDC. I'll bet if you froze the two synth tracks (leaving the fx bin active) they'd be in perfect sync. Do you just notice this effect when playing the synths live, or do you also hear the lag during playback?
I didn't record the tracks, because it was hard enough to play the part properly with one track so far off from the other. (And yes, I could simply apply the same ProChannel settings to the second synth, but that doesn't "solve" the problem; it only masks it.) The original track was recorded, and seemed to be in time with the other recorded tracks. But when I also played that synth live with the new one, it was delayed. I really hadn't noticed anything this bad in any other project I've ever done. I've had some latency when tracking, but I adjust it using the ASIO settings. This isn't about that, though--this is just from running the synth's output through Sonar's own compressor and EQ. I'll try freezing the tracks to see if they line up. And you're right, they probably will. But that doesn't help me the next time I want to record two synths at the same time, where one has some compression and EQ applied and the other doesn't. Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|
Wouter Schijns
Max Output Level: -85 dBFS
- Total Posts : 259
- Joined: 2013/01/30 10:29:18
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 17:54:06
(permalink)
agreeing bitflipper that should not be PDC related (and the PDC toggle is there to bypass the compensation on live inputs, If I'm correct). I thought the same like you on the Pro Channel and Pre/post button fe, but I tested it, and also imo sends don't add latency (exported a song with/without sends and then imported into new project, flip phase button then and silence...so they're the same). I found sometimes I heard a latency that was not when I export/bounced, maybe I'm just thinking I hear latency or it's just there in realtime monitoring, don't know. A high-end bounce/export option with measured (not reported) actual latency compensation in Sonar would be great I think, but then still I'm not sure if compensating latency is something you'd always want. Maybe in a project with 15 tracks without latency, 1 track with fe a background sound has latency effect..it would sound better to leave the latency just on the 1 background sound and not put it on all tracks....I just don't know. I just don't know if alligning everything 100% erases the latency effect to your ears, probably not.
|
planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 18:06:38
(permalink)
Here's what I found: In a new file, added the second instance of the same synth, but with no ProChannel effects. Same problem as I described earlier, and this is with ASIO set to 4ms. I hit the "PDC" button, which did line up the synths, and did remove the delay from the "processed" synth. (I hadn't hit the "PDC" button before this, because I have never noticed the issue to be this bad.)
However, disabling PDC had no effect: the synths were still locked together and playing at the same time, just as if PDC was still enabled! Toggling PDC on or off after the first time I enable it seems to make no difference.
But the bottom line is that after I enable PDC once, I can play the two synths together with no audible delay on the processed one. I have no idea why disabling it doesn't seem to alter "delay compensation", but at this point, I don't really care.
Thanks for the suggestions, everyone! Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|
Sanderxpander
Max Output Level: -36.5 dBFS
- Total Posts : 3873
- Joined: 2013/09/30 10:08:24
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 18:13:02
(permalink)
Did you turn it off on purpose? It has always been on by default for me.
Glad it's working for you now!
|
planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 18:15:36
(permalink)
Sanderxpander Did you turn it off on purpose? It has always been on by default for me.
Glad it's working for you now!
I never changed it from X3e's default settings. Up until this issue, I didn't even know where to find the button! So it's supposed to be enabled (and lit up) by default? Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|
Wouter Schijns
Max Output Level: -85 dBFS
- Total Posts : 259
- Joined: 2013/01/30 10:29:18
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 18:28:40
(permalink)
From what I've read, the PDC is there for bypassing latency compensation on Live Inputs. It affects only the monitoring while delay on recording/bouncing/export still is compensated. I don't know if it bypasses delay compensation on VST recording. But either way, if it helps you can turn it on because what you record is not changed/moved, that's how I understand it.
|
planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/08 22:15:07
(permalink)
Wouter Schijns From what I've read, the PDC is there for bypassing latency compensation on Live Inputs. It affects only the monitoring while delay on recording/bouncing/export still is compensated. I don't know if it bypasses delay compensation on VST recording. But either way, if it helps you can turn it on because what you record is not changed/moved, that's how I understand it.
That was my understanding too. But all I know is that if I enable it at least once, it doesn't seem to matter what I do with it after that--the latency induced by Sonar's own effects is compensated for, and I can at least play the synth! Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|
Sanderxpander
Max Output Level: -36.5 dBFS
- Total Posts : 3873
- Joined: 2013/09/30 10:08:24
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/09 01:59:27
(permalink)
Sorry, I mistook what the button was for, as Wouter said, it is only for live inputs. Plugin Delay Compensation is on by default on all plugins is what I meant. You can turn it off per plugin in the plugin manager.
I guess toggling the button makes Sonar recalculate the correct value for the plug you're using? Glad you got it working now!
|
Kylotan
Max Output Level: -71 dBFS
- Total Posts : 995
- Joined: 2007/09/10 17:27:35
- Location: Nottingham, UK
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/10 14:02:55
(permalink)
Yes, Sonar messes up the delay compensation sometimes when settings change during playback. I posted about this last year sometime, but because this forum software is shocking and/or old posts have been deleted, I can't point you at the thread, sorry. Generally speaking, stopping playback and resuming it fixes the problem, as it is able to recalculate the plugin delay compensation. But a send or plugin enabled during playback may end up slightly out of sync with other plugins.
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
|
planetearth
Max Output Level: -75 dBFS
- Total Posts : 763
- Joined: 2004/12/26 14:22:32
- Location: Tampa, FL
- Status: offline
Re: Just what is plug-in "delay compensation" supposed to do?!?
2015/04/11 21:48:54
(permalink)
That helps, thanks. I thought it was just me, or that I was doing something wrong. Glad to see it's just another bug in Sonar! Steve
SONAR Platinum ▪ NI Komplete, Korg DLC, Arturia V5 Collection, Dimension Pro, IK Multimedia & other synths ▪ Les Paul, Peavey and Yamaha guitars. Listen to some of my stuff here: https://soundcloud.com/shadowsoflife . Comments from other SONAR users are always welcome!
|