WTF, what's with my timing?: SOLVED

Page: < 12345.. > >> Showing page 2 of 9
Author
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 16:00:38 (permalink)

ORIGINAL: memyselfandus

Are there any issues in general like this with just recording audio tracks into sonar with rme fireface 400? and recording guitar into sonar with vsts
playing?



I have an RME FF400 and I also needed to offset my latency by 98 samples. This applies to all audio interfaces with hidden buffers (which some companies don't even bother mentioning in their manuals). Even PCI audio interfaces have hidden buffers. I believe this is why Sonar is not able to calculate the exact buffer offset amount and thus one has to do it manually.

Now, recording while some VSTs are playing shouldn't cause timing problems (at least not on playback) as long as you've taken care of your interface's buffer with a loopback test. Sonar will align everything up automatically. The only problem you'll have is the same problem most people have which is the inherent latency of monitoring through your DAW while recording. But that's soon becoming a non-issue with current and future CPUs.


Take care!
#31
DH123
Max Output Level: -86 dBFS
  • Total Posts : 220
  • Joined: 2008/01/14 23:15:02
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 18:02:57 (permalink)
743 samples!!!!!! GRRRRHHHHHH!!!!

Time to redo some parts . . .

CRAP! This changes everytime I change my buffer size?
#32
...wicked
Max Output Level: -1.5 dBFS
  • Total Posts : 7360
  • Joined: 2003/12/18 01:00:56
  • Location: Seattle
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 18:08:02 (permalink)
Whoah, that's a lot. Mine was 359 and I was having NOTICEABLE timing errors.

Think of it as a 1/4 note delay... built-in... FOR FREE!

===========
The Fog People
===========

Intel i7-4790 
16GB RAM
ASUS Z97 
Roland OctaCapture
Win10/64   

SONAR Platinum 64-bit    
billions VSTs, some of which work    
#33
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 18:23:21 (permalink)

ORIGINAL: DH123

743 samples!!!!!! GRRRRHHHHHH!!!!

Time to redo some parts . . .

CRAP! This changes everytime I change my buffer size?



Yeah, I believe it does, specially if you're using WDM since it doesn't have latency compensation like ASIO. Just calculate the buffer size(s) you use for recording and write it down somewhere. Input the one you need in the buffers offset box and you're done. You don't need to calculate all of them since this doesn't apply to playback.

HTH
#34
Dizzi45Z
Max Output Level: -70 dBFS
  • Total Posts : 1040
  • Joined: 2005/10/26 17:00:20
  • Location: Orem, Utah
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 18:51:08 (permalink)

ORIGINAL: Jose7822


ORIGINAL: DH123

743 samples!!!!!! GRRRRHHHHHH!!!!

Time to redo some parts . . .

CRAP! This changes everytime I change my buffer size?



Yeah, I believe it does, specially if you're using WDM since it doesn't have latency compensation like ASIO. Just calculate the buffer size(s) you use for recording and write it down somewhere. Input the one you need in the buffers offset box and you're done. You don't need to calculate all of them since this doesn't apply to playback.

HTH


This is a really good point here too. I thought I had it adjusted, but I change my buffer to 2040 (or whatever it is) when mixing and then move it back to 512 or less when recording. I was thinking that it would always be a problem, but you are right, I should just always record with a specific buffer size and then I don't think I'll have a problem.


-Dave
Noisebox Studios -Utah Recording Studio
Sonar 8.5 , Melodyne Plug-in, Pro Tools 8 HD2,  Waves Platinum Bundle
Tascam DM-3200 with IF-FW/DM mkII
AMD 64 X2 4400
Mac Pro Quad Xeon 2.6 11GB Ram


#35
DH123
Max Output Level: -86 dBFS
  • Total Posts : 220
  • Joined: 2008/01/14 23:15:02
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 20:48:01 (permalink)
I had Vintage Warmer on the Master bus, the delay changed to 283 in the other direction when I took it off!.

That's about 6 ms, or sitting 6 feet away from the speaker. Never noticed it before.

The bad news is my timing still sucks!! I need another month to woodshed . . .
#36
ba_midi
Max Output Level: 0 dBFS
  • Total Posts : 14061
  • Joined: 2003/11/05 16:58:18
  • Location: NYC
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 23:38:24 (permalink)

ORIGINAL: memyselfandus

Are there any issues in general like this with just recording audio tracks into sonar with rme fireface 400? and recording guitar into sonar with vsts
playing?


FWIW, I'm not having these problems. I can record vocal, instruments or synths and the timing is solid for me.
I did have trouble when I was using a particular plugin on my master bus, but since I switched to a different plugin, the problems have gone away.


Billy Arnell (ba-midi)

http://www.ba-midi.com/music/files
Music gives me life, so I give life Music.
Thanks for listening - Let's Dance to the rhythm of life! :)
#37
ba_midi
Max Output Level: 0 dBFS
  • Total Posts : 14061
  • Joined: 2003/11/05 16:58:18
  • Location: NYC
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/13 23:40:13 (permalink)

ORIGINAL: DH123

I had Vintage Warmer on the Master bus, the delay changed to 283 in the other direction when I took it off!.

That's about 6 ms, or sitting 6 feet away from the speaker. Never noticed it before.

The bad news is my timing still sucks!! I need another month to woodshed . . .


PSP VW 2.x was a problem for me, I stopped using it, went back to version 1.85.

Billy Arnell (ba-midi)

http://www.ba-midi.com/music/files
Music gives me life, so I give life Music.
Thanks for listening - Let's Dance to the rhythm of life! :)
#38
jerry@macwood.com
Max Output Level: -84 dBFS
  • Total Posts : 324
  • Joined: 2004/12/03 02:07:13
  • Location: Redondo Beach
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 01:19:42 (permalink)
I did the loop back test and adjusted the manual thinga ma jig . I though I was don but when I opened up and recorded the next it was back. Is this a do it once and forget it fix or do I have to do it before every session. would running 46 tracks at on time affect it as well? I did not have this problem with sonar 5 PE but now I do with sonar 7.2 PE? I like the newer version but it is aggravating having to drag and nudge every overdub to get it in time!
#39
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 01:31:49 (permalink)
<deleted by user>
post edited by Jose7822 - 2008/02/14 20:29:24
#40
bbdude
Max Output Level: -86 dBFS
  • Total Posts : 248
  • Joined: 2004/04/15 11:34:07
  • Location: Seattle, WA
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 10:04:17 (permalink)
This was mentioned several posts back -- The audio metronome : Is there a confirmed bug with it? Is there a recipe to make it act-up?

I have experienced some timing strangeness when using the metronome in the past, but I have never gone through the timing offset adjustment -- so I guess I'll do that soon. Could it be that the complaints others have made against the metronome are all due to improperly compensated delays in the audio interface, or is there something else going on with it?

Bob the bbdude

RME FF-UFX , RME FF800
DAW PC built by ADK , Core i7 3770 IVB
Sonar X3e Producer, Win 7-Pro 64-bit
#41
ba_midi
Max Output Level: 0 dBFS
  • Total Posts : 14061
  • Joined: 2003/11/05 16:58:18
  • Location: NYC
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 10:06:39 (permalink)

ORIGINAL: bbdude

This was mentioned several posts back -- The audio metronome : Is there a confirmed bug with it? Is there a recipe to make it act-up?

I have experienced some timing strangeness when using the metronome in the past, but I have never gone through the timing offset adjustment -- so I guess I'll do that soon. Could it be that the complaints others have made against the metronome are all due to improperly compensated delays in the audio interface, or is there something else going on with it?



I'm not personally convinced there's a timing problem with the metronome that isn't directly related to the loopback offset.


Billy Arnell (ba-midi)

http://www.ba-midi.com/music/files
Music gives me life, so I give life Music.
Thanks for listening - Let's Dance to the rhythm of life! :)
#42
zapotec
Max Output Level: -87 dBFS
  • Total Posts : 152
  • Joined: 2004/04/27 11:48:47
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 11:28:23 (permalink)
instead of doing this "test/calibration" each time there is a change; could it not be added to the logic within the program? this might be a concideration for Sonar 8?
#43
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 11:33:38 (permalink)

ORIGINAL: zapotec

instead of doing this "test/calibration" each time there is a change; could it not be added to the logic within the program? this might be a concideration for Sonar 8?



Sonar already has this, but only with ASIO drivers. The problem is in how your audio interface reports latency to the application (Sonar in this case). If your interfaces has hidden buffers, like many do, then there's no way Sonar is gonna know about them. That's why you still have to do it manually, even with ASIO.


HTH (Not my name )
#44
DaveT
Max Output Level: -76 dBFS
  • Total Posts : 724
  • Joined: 2003/11/05 18:51:59
  • Location: Oregon
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 11:54:50 (permalink)

ORIGINAL: Jose7822


ORIGINAL: zapotec


Sonar already has this, but only with ASIO drivers. The problem is in how your audio interface reports latency to the application (Sonar in this case). If your interfaces has hidden buffers, like many do, then there's no way Sonar is gonna know about them. That's why you still have to do it manually, even with ASIO.


HTH (Not my name )


Checked my audio setup last night and Sonar reports an offset of 334 using ASIO Lynx drivers.
DaveT
#45
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 12:21:00 (permalink)

ORIGINAL: DaveT

Checked my audio setup last night and Sonar reports an offset of 334 using ASIO Lynx drivers.
DaveT




Right, my FF400 reports an ASIO latency of 301 samples but then I had to perform the loopback test in order to figure out the extra latency of my hidden buffers. In my case, that extra latency was of 98 samples which I inputed in the "Manual Offset" box. Is this what you did?
#46
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 12:46:16 (permalink)
Hey guys!

I think I've got good news for ya. It seems that this is a set once and forget test. I did a little experimentation (I had to ) with different buffer sizes and sampling rates and so far my audio remains sample accurate using the same manual offset as before. I went from 128 buffers to 1024 and from 44.1 KHz to 48 KHz with absolutely no change in recorded latency. Set once and forget - Cool!

Take care!
post edited by Jose7822 - 2008/02/14 20:30:29
#47
DaveT
Max Output Level: -76 dBFS
  • Total Posts : 724
  • Joined: 2003/11/05 18:51:59
  • Location: Oregon
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 12:54:05 (permalink)
Jose,
I didn't run the test you outlined. I don' think I'm suffering from timing issues, but I'll probably run the test just for grins.

My response to the thread was just to confirm that good ASIO drivers (Lynx) will report the offset.

DaveT
#48
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 13:12:29 (permalink)

ORIGINAL: DaveT

Jose,
I didn't run the test you outlined. I don' think I'm suffering from timing issues, but I'll probably run the test just for grins.

DaveT



Please do. I would like to hear about your findings.


Take care!
#49
ru
Max Output Level: -79 dBFS
  • Total Posts : 555
  • Joined: 2007/09/18 14:31:36
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 16:49:21 (permalink)
i used the centrance latency test utility to get these numbers for an emu 1212m.

latency set at 2 ms/ asio reported at 159/ round trip latency at 182 samples (4.13ms)
post edited by ru - 2008/02/15 02:05:53
#50
losguy
Max Output Level: -20 dBFS
  • Total Posts : 5506
  • Joined: 2003/12/18 13:40:44
  • Location: The Great White North (MN, USA)
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 17:55:01 (permalink)
ORIGINAL: ...wicked
Yeah, what a difference 359 samples make!

About 8 msec at 44.1kHz. Yeah, that's enough to destroy "the pocket". You may not notice it on the first monitored take, but as the tracks start to build, it could get screwy.

There was a LONG thread about this a couple years back (in the S5 days) when people first started noticing it. TBH, many noticed it earlier, but it didn't catch any momentum until later in the S5 life-cycle. Believe it or not, many actually insisted that it was either in people's heads, or that it was just sloppy playing chops. That's about the time when the words "round-trip latency" became household terma around here. Ron Kuper finally joined the fray when it became evident that it was in fact very real. That, plus the fact that Cubase paid close attention to this feature, is why we got the adjustment for it put into S6.

And I agree, this should be put near the top of every sticky, README, tip-of-the-day, etc. It should be part of an easy step-by-step wizard, too. It's that fundamentally important.

I also agree about the Audio Metronome. Why has it been so hard for CW to get that right?

Edit: Typos. Sorry, new ergonomic keyboard!
post edited by losguy - 2008/02/14 18:12:07

Psalm 30:12
All pure waves converge at the Origin
#51
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 17:59:12 (permalink)
Ru,

First of all I don't understand your table. Maybe you could explain what's going on in there?

Second, why didn't I think of this before? You're a genius! It's way easier to do this with CEntrance. All that's left, after calculating roundtrip latency, is to do some simple math and voila! You've got your offset number.

Let me explain what I mean:

After taking your measurements using CEntrance, you take the number of samples and substract the ASIO Reported Latency number from it. Now take your buffer size/latency number and substrack that from the remainder. For example, if I set my latency to 256 buffers @ 44.1 KHz in Sonar, it tells me I have an ASIO Reported Latency of 301 samples. My measurement from CEntrance says I have a rountrip latency of 655 samples. So what I'd need to do is take my roundtrip latency number and substract my ASIO Reported latency number from it (655 - 301 = 354). Now I take 354 and substract my buffer size/latency in Sonar, so 354 - 256 = 98!!! If you remember from my previous posts (posts #46) I said I offseted my latency by 98 samples. Cool huh? This way is easier and involves less steps. I will update the latency post to include steps for this.

Thanks!


P.S. Again, the offset number is always the same no matter what buffer size or sampling rate is used. I will develope a formula for WDM driver users as well. This will make things easier for both.
post edited by Jose7822 - 2008/02/14 18:20:54
#52
ru
Max Output Level: -79 dBFS
  • Total Posts : 555
  • Joined: 2007/09/18 14:31:36
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 18:15:16 (permalink)
jose,

glad i could contribute to your helpfulness!

my table headings are as follows: set is what latency is designated at through sonar's asio box. asio rptd is asio reported by sonar. buffers is the playback and record buffers setting in sonar. reading is the centrance readout (at 44.1), thus 88 samples when latency is set at 2.

i think i get why buffer settings of 512/256 and 256/512 give the same readings, but not so sure about 512/512 and 256/256 readings. shouldn't the 256/256 reading be lower than 512/512?

also, when you say something like 'latency to 256 buffers', are you referring to record latency alone?
#53
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 19:30:27 (permalink)
Latency Test Steps have been updated. Check here: http://forum.cakewalk.com/fb.asp?m=1302373


HTH
#54
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 19:44:37 (permalink)
Ru,

You don't wanna change the number of buffers, only their size. The more buffers you introduce, the higher the latency will be (this is on top of raising the buffer size/latency). The default of 2 buffers is just fine. The number you need to change is the buffer size/latency found in your audio interface's Control Panel. You change them different ways depending on the drivers you use. For example, with WDM, each time you change the buffer size on your interface's Control Panel you need to run the Wave Profiler in Sonar so that it reads the correct latency. Otherwise changes won't apply. With ASIO, on the other hand, you can open your audio interface's Control Panel from the Audio dialog window in Sonar by clicking the "ASIO Panel" button. Then, after changing the latency, you click "OK". Next time you open the Audio dialog you will see that changes have applied.




also, when you say something like 'latency to 256 buffers', are you referring to record latency alone?



I'm not sure what you mean by this, but when I talk about latency I'm talking about buffer size (not number of buffers).

Hope this clears it up, if not don't be affraid to ask.


Take care!
post edited by Jose7822 - 2008/02/14 23:32:23
#55
DaveT
Max Output Level: -76 dBFS
  • Total Posts : 724
  • Joined: 2003/11/05 18:51:59
  • Location: Oregon
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 23:20:04 (permalink)
ORIGINAL: DaveT

Jose,
I didn't run the test you outlined. I don' think I'm suffering from timing issues, but I'll probably run the test just for grins.

DaveT



Please do. I would like to hear about your findings.


Take care!


OK, ran the test. After about 6 interations, I found that a manual offset at 105 lined up both tracks. The automatic setting from my Lynx L22 driver was 322, so significant difference. Played back and recorded with a couple of tunes I've been working on. Everything seems to sound OK, might even sound a bit brighter. You always hope that small tweaks might do something good. Maybe wishfull thinking.

Anyway, interesting test. I wonder if anyone else noticed a difference in sound?

DaveT
#56
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/14 23:35:30 (permalink)
Dave,

Thanks for reporting back. It seems that RME and Lynx interfaces need about the same offset in samples, cool! I really doubt that this offset would affect the sound of your recordings though. You might've perhaps done something different than before? I don't know, it's hard to say. All I know is that this test will not change your sound, but fix the timing of your recordings.


Take care!
#57
ru
Max Output Level: -79 dBFS
  • Total Posts : 555
  • Joined: 2007/09/18 14:31:36
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/15 00:05:41 (permalink)
ORIGINAL: Jose7822

Ru,

You don't wanna change the number of buffers, only their size. The more buffers you introduce, the higher the latency will be (this is on top of raising the buffer size/latency). The default of 2 buffers is just fine. The number you need to change is the buffer size/latency found in your audio interface's Control Panel. You change them different ways depending on the drivers you use. For example, with WDM, each time you change the buffer size on your interface's Control Panel you need to run the Wave Profiler in Sonar so that it reads the correct latency. Otherwise changes won't apply. With ASIO, on the other hand, you can open your audio interface's Control Panel from the Audio dialog window in Sonar by clicking the "ASIO Panel" button. Then, after changing the latency, you click "OK". Next time you open the Audio dialog you will see that changes have applied.




also, when you say something like 'latency to 256 buffers', are you referring to record latency alone?



I'm not sure what you mean by this, but when I talk about latency I'm talking about buffer size (not number of buffers).

Hope this clears it up, if not don't be affraid to ask.


Take care!


no no...i understand what's being talked about...my use of the term 'buffers' is just a short way of indicating the playback and record i/o buffer size...i know how to set latency (how do you think i got those test numbers? i mentioned using sonar's asio box in the last comment). i'm not doing anything with the buffers in playback queue.

1] so what i'm wondering is why playback and record buffer size settings of 256 and 256 respectively, gets the same results as 512 and 512. in other words, if a playback is at 512, and record is raised from 256 to 512, the latency increases, as i would expect. but i'd also expect a setting of 256 and 256 to get a lower response than 512 and 512.
do you see what i mean?

2]
...I'm talking about buffer size (not number of buffers)

are you speaking strictly of record i/o buffer size?

3] how will this affect previously recorded material?
post edited by ru - 2008/02/15 00:23:14
#58
Jose7822
Max Output Level: 0 dBFS
  • Total Posts : 10031
  • Joined: 2005/11/07 18:59:54
  • Location: United States
  • Status: offline
RE: WTF, what's with my timing?: SOLVED 2008/02/15 00:22:12 (permalink)
Ru,

You are confusing two different things here. I'm talking about your audio interface's buffers, NOT the disk buffers for playback and recording found in Sonar under Options::Audio::Advanced Tab. Those affect disk activity (the Disk meter). I thought you were originally talking about the Buffers in Playback Queue found under Options::Audio::General Tab. Those are another deal, but you don't have to mess with them either. What I'm talking about I had already explained in post #55. You changed them differently for ASIO and WDM.

I understand the confusion since the term Buffers is being used in different areas. Even though they mean the same thing, you have to differentiate between the different types. In Sonar you basically deal with two types: buffers for Audio and buffers from your HDD.


HTH
post edited by Jose7822 - 2008/02/15 00:41:24
#59
jerry@macwood.com
Max Output Level: -84 dBFS
  • Total Posts : 324
  • Joined: 2004/12/03 02:07:13
  • Location: Redondo Beach
  • Status: offline
RE: WTF, what's with my timing? 2008/02/15 00:36:37 (permalink)
Latency Test



Alright guys! These are the updated steps to get sample accurate recordings:


ASIO only:


1- Snip
HTH

< Message edited by Jose7822 -- 2/15/2008 7:41:02 PM >


Thanks Jose This would be a great utility that shold be included in Sonar I really like the latest version of sonar but I was tweaking with my aardvark 24/96 interface trying to get a lower latency . I suspect I mad eit worse not better so hopefully at least I can measure what I am doing

#60
Page: < 12345.. > >> Showing page 2 of 9
Jump to:
© 2024 APG vNext Commercial Version 5.1