Double system sound and sync drift? - Page 2 at DVinfo.net
DV Info Net

Go Back   DV Info Net > The Tools of DV and HD Production > All Things Audio

All Things Audio
Everything Audio, from acquisition to postproduction.

Reply
 
Thread Tools Search this Thread
Old August 12th, 2008, 08:26 PM   #16
Inner Circle
 
Join Date: Mar 2005
Location: Hamilton, Ontario, Canada
Posts: 5,742
Quote:
Originally Posted by Carlos E. Martinez View Post
Today I was discussing this drift question with a friend of mine that works with video, and he tells me that when shooting with several cameras they go to "free run" and then jam sync them all to the same clock. They then go their separate ways and shoot without any links.

So he asked me why there should be any drift in these audio machines, which are basically digital based and shouldn't "slip-away" as DAT or MD discs might do.

Isn't any clock reference recorded along with the audio and why isn't it as accurate as that on the video cameras?
Because any clock is subject to manufacturing tolerances, different temperatures, etc. A nominal 48khz clock may in fact be a few hz off in one direction or the other. Even if a clock reference is embedded into the recorded audio, if it's not exactly the same, to the single digit parts per million level of accuracy, as the camera's clock, sync will eventually drift.

Your friend is making the classic error of confusing SAMPLE clock with TIMECODE clock - they are two entirely separate things. One "tick" of the timecode clock is 1/30 or 1/60 of a second. One "tick" of the sample clock is 1/48000 second. Even tuned Lockits, as well designed and tight-toleranced though they are, will eventually drift away from each other. If I recall the numbers correctly, Ambient says they can be tuned using Ambient's Clockit master clock to within 0.2 parts per million error between them, leading to a drift of about 1 frame per day. But we're talking about a single clock module that at about a kilobuck in price is more expensive than most complete consumer level camcorders.
__________________
Good news, Cousins! This week's chocolate ration is 15 grams!
Steve House is offline   Reply With Quote
Old August 13th, 2008, 06:20 AM   #17
Trustee
 
Join Date: Oct 2003
Location: Rio de Janeiro, Brasil
Posts: 1,138
Quote:
Originally Posted by Steve House View Post
Because any clock is subject to manufacturing tolerances, different temperatures, etc. A nominal 48khz clock may in fact be a few hz off in one direction or the other. Even if a clock reference is embedded into the recorded audio, if it's not exactly the same, to the single digit parts per million level of accuracy, as the camera's clock, sync will eventually drift.
So the question is reduced to how accurate the clock is in parts per million, which is how it should be. But how is that units like TC DAT machines had a logical mechanical drift, worst clock references, just TC and did their job? Things now are not mechanical but drift more?!?!

Quote:
Your friend is making the classic error of confusing SAMPLE clock with TIMECODE clock - they are two entirely separate things. One "tick" of the timecode clock is 1/30 or 1/60 of a second. One "tick" of the sample clock is 1/48000 second. Even tuned Lockits, as well designed and tight-toleranced though they are, will eventually drift away from each other. If I recall the numbers correctly, Ambient says they can be tuned using Ambient's Clockit master clock to within 0.2 parts per million error between them, leading to a drift of about 1 frame per day. But we're talking about a single clock module that at about a kilobuck in price is more expensive than most complete consumer level camcorders.
I bet my friend is not confusing them, as he IS an electronics engineer and I am not. What he also told me is that they just sync the camera's TCs and shoot as long as they want. Maybe because the camera lockits are very accurate?

They mix down to a Tascam DA-88 for more than a hour long programs with no drift, and there's only TC controlling it all. No wordclock reference.
Carlos E. Martinez is offline   Reply With Quote
Old August 13th, 2008, 07:59 AM   #18
Inner Circle
 
Join Date: Mar 2005
Location: Hamilton, Ontario, Canada
Posts: 5,742
Quote:
Originally Posted by Carlos E. Martinez View Post
So the question is reduced to how accurate the clock is in parts per million, which is how it should be. But how is that units like TC DAT machines had a logical mechanical drift, worst clock references, just TC and did their job? Things now are not mechanical but drift more?!?!

...

They mix down to a Tascam DA-88 for more than a hour long programs with no drift, and there's only TC controlling it all. No wordclock reference.
First of all remember that a DAT records a linear data track that is captured into the editing system for post while a hard-drive / CF card recorder records a random-access data file that is copied to the computer for post. The DAT record/capture process is a linear affair very similar to shooting and capturing a DV video tape. The file-based audio recording/edit process is a copy process very similar to shooting a digital still photo and copying it from your camera to your computer. The difference between the two is crucial for understanding what's going on.

The Tascam DA-88 is a DAT recording/playback system. If linear timecode is recorded in parallel to the audio, it can be compared to a stable external clock during playback for capture and the playback speed adjusted based on the comparison. When a DAT is ingested into the editing system it is a file capture process rather than a file copy operation - essentially it is being played and re-recorded and so the timecode accompanying it can sync to the video by comparing the recorded code to the the video timebase. The process is very similar to the old days of analog tape being resolved to magnetic perf where the recorded crystal sync tone was compared to the line frequency and controlled the speed of the tape playback motor.

With a file based audio recording system such as the current generation of hard-drive or CF card recorders timecode does not control the speed of playback because the code is not recorded continuously in the file itself. In fact there is no clock actually recorded in the file at all - the only timing information is a record of the nominal clock frequency in the file header. All the timecode does is provide a timestamp of the first sample in the file in the file header and that is it. If you playback the file after recording it, the timecode you see rolling by in the window on the recorder is not coming from the audio file itself - it is a calculated value based on adding the sample count to the starting timestamp. When you drop the file into the editing system (if it recognizes the bwf file timestamp - not all do) it lines up the timestamp with the matching point on the editing timeline but that is it - there is no mechanism to adjust the file length to match the video length if there was any discrepancy at all in the clock rates of the video camera and the sample clock of the audio recorder. In fact this property is exploited in one of the techniques used to apply the .1% slowdown going from film to NTSC video - the file is recorded at a real sample rate of 48.048 kHz but is stamped in the header as having been recorded at 48.000kHz. When it is dropped into the editing workstation, it is automatically slowed down (ie, lengthened) by the .1% required to match the pulldown introduced into 24 FPS film to convert to 29.97 FPS NTSC video.
__________________
Good news, Cousins! This week's chocolate ration is 15 grams!
Steve House is offline   Reply With Quote
Old August 13th, 2008, 08:30 AM   #19
Trustee
 
Join Date: Oct 2003
Location: Rio de Janeiro, Brasil
Posts: 1,138
An excellent explanation, Steve. Particularly because most people do not know how things were in the analog days. That at least I am familiar with, as I come from Nagra days.

So how, doing the leap to present digital days, is sync maintained in HD and CF devices? Just by working on the sample rate? How does video/genlock/wordclock get to control things and avoid drift?

Take the Tascam HD-P2, for example. Apparently it uses its internal RTA clock for the TC, so its accuracy is limited, except if linked to a camera, by cable or wireless. You can use an external TC generator, like Denecke or Horita, which you can jam to a film or video camera, avoiding a long cable or wireless link and getting more precision.

But as you say only a TC time stamp will be used at the beginning of each take, not a continuous signal, and the rest is just computed numbers started from it. A better TC source will only preserve sync on the jammed generator, but if the shot is long there will be drift due to the sampling clock. So you would need a video signal or genlock to avoid drift.
Carlos E. Martinez is offline   Reply With Quote
Old August 13th, 2008, 09:17 AM   #20
Inner Circle
 
Join Date: Mar 2005
Location: Hamilton, Ontario, Canada
Posts: 5,742
Quote:
Originally Posted by Carlos E. Martinez View Post
An excellent explanation, Steve. Particularly because most people do not know how things were in the analog days. That at least I am familiar with, as I come from Nagra days.

So how, doing the leap to present digital days, is sync maintained in HD and CF devices? Just by working on the sample rate? How does video/genlock/wordclock get to control things and avoid drift?

Take the Tascam HD-P2, for example. Apparently it uses its internal RTA clock for the TC, so its accuracy is limited, except if linked to a camera, by cable or wireless. You can use an external TC generator, like Denecke or Horita, which you can jam to a film or video camera, avoiding a long cable or wireless link and getting more precision.

But as you say only a TC time stamp will be used at the beginning of each take, not a continuous signal, and the rest is just computed numbers started from it. A better TC source will only preserve sync on the jammed generator, but if the shot is long there will be drift due to the sampling clock. So you would need a video signal or genlock to avoid drift.
Recorders like the HD-P2 or the Sound Devices 7xxT series have two separate clocks, a high accuracy, high frequency sample clock and a lower accuracy timecode counter. When everything is working on internal the sample clock rules and its output is divided down to the slower rate of the TC counter. If you jam external code, it sets the TC counter equal to the code input to it and the internal clock keeps it ticking over from that point on BUT it is the internal sample clock, not the external code, that provides the timebase. If you instead of jamming (set and disconnect) you slave the TC counter to continuous external code, the same situation applies except that the counter is being continually updated from the external code. However the TC counter updating does NOT exert any influence on the sample rate clock - it still keeps ticking away on its own completely independent of the information coming in with the timecode signal. Timecode signals are just too slow to provide a clock for the sample rate. It's only when you give it video blackburst (Tascam or SD 788T) or wordclock (Tascam, SD) does the external device exert any influence on the rate of the sample clock, causing it to slave to the clock embedded in the external sync signal. One of the reasons the SD recorders are more expensive than the Tascam and the SD 702T model is so much more expensive than the SD702 model is their timecode and sample clocks are very accurate modules made by Ambient, the Lockit box folks, and are stable enough to hold sync after the slate for a reasonable length of time. But even SD says that one should be very careful of drift with shots over about 15 minutes long without taking further precautions.
__________________
Good news, Cousins! This week's chocolate ration is 15 grams!
Steve House is offline   Reply With Quote
Old August 14th, 2008, 05:01 PM   #21
Trustee
 
Join Date: Oct 2003
Location: Rio de Janeiro, Brasil
Posts: 1,138
Steve, this is probably a crazy question, so please feel free to simply laugh at it.

Is it possible to add a TC burst on a non-TC digital recorder, like say the Edirol R-44 and convert that BWF file so that the file WILL have a TC embedded on it? Say like it was recorded on an SD 744T?

Ambient did devise a way to do that in the mid-nineties, so that you could use non-TC Nagras and DATs. You recorded a TC burst in the audio track at start and then fed that burst into a TC generator that would then reconstruct and strip that audio in post-production. But the system was very expensive, so I researched into doing that with low-budget equipment, particularly MD portables. Denecke also did have a generator that could be fired from that burst and strip the audio. The system was much more affordable than Ambient's.

The question is that I don't know if there are any programs that may handle BWF files and do this I am proposing now. It should be cool if it was possible.
Carlos E. Martinez is offline   Reply With Quote
Old August 15th, 2008, 03:00 AM   #22
Inner Circle
 
Join Date: Mar 2005
Location: Hamilton, Ontario, Canada
Posts: 5,742
Quote:
Originally Posted by Carlos E. Martinez View Post
Steve, this is probably a crazy question, so please feel free to simply laugh at it.

Is it possible to add a TC burst on a non-TC digital recorder, like say the Edirol R-44 and convert that BWF file so that the file WILL have a TC embedded on it? Say like it was recorded on an SD 744T?

Ambient did devise a way to do that in the mid-nineties, so that you could use non-TC Nagras and DATs. You recorded a TC burst in the audio track at start and then fed that burst into a TC generator that would then reconstruct and strip that audio in post-production. But the system was very expensive, so I researched into doing that with low-budget equipment, particularly MD portables. Denecke also did have a generator that could be fired from that burst and strip the audio. The system was much more affordable than Ambient's.

The question is that I don't know if there are any programs that may handle BWF files and do this I am proposing now. It should be cool if it was possible.
BWF files aren't that exotic and most NLE and DAW handle them just fine. They're just normal wav files, even the extension is wav, with some metadata in the file header.

The SD744T does not record TC alongside the audio nor does it lock its sample clock to incoming TC. It does the timestamp in the header thing, getting the timestamp from its timecode counter which, in turn, gets its value and is updated either by the internal TC clock or the incoming external code. The ONLY timecode information that is recorded in the audio file itself is the timestamp of the first audio sample.
__________________
Good news, Cousins! This week's chocolate ration is 15 grams!
Steve House is offline   Reply With Quote
Old August 16th, 2008, 04:47 AM   #23
Trustee
 
Join Date: Oct 2003
Location: Rio de Janeiro, Brasil
Posts: 1,138
Quote:
Originally Posted by Steve House View Post
BWF files aren't that exotic and most NLE and DAW handle them just fine. They're just normal wav files, even the extension is wav, with some metadata in the file header.
So is there a way to work on that metadata?

Quote:
The SD744T does not record TC alongside the audio nor does it lock its sample clock to incoming TC. It does the timestamp in the header thing, getting the timestamp from its timecode counter which, in turn, gets its value and is updated either by the internal TC clock or the incoming external code. The ONLY timecode information that is recorded in the audio file itself is the timestamp of the first audio sample.
That seems to be clear by now. There's no continuous TC and the sampling clock is independent from the TC generator. The timestamp rules.
Carlos E. Martinez is offline   Reply With Quote
Old August 16th, 2008, 06:08 AM   #24
Inner Circle
 
Join Date: Mar 2005
Location: Hamilton, Ontario, Canada
Posts: 5,742
Quote:
Originally Posted by Carlos E. Martinez View Post
So is there a way to work on that metadata?
Yes, there are a number of programs on the market that let you view and/or edit it. One that is very popular is Courtney Goodin's shareware "BWF Widget." Sound Devices has their Wave Agent available for download.
__________________
Good news, Cousins! This week's chocolate ration is 15 grams!
Steve House is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

B&H Photo Video
(866) 521-7381
New York, NY USA

Scan Computers Int. Ltd.
+44 0871-472-4747
Bolton, Lancashire UK


DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > The Tools of DV and HD Production > All Things Audio

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



All times are GMT -6. The time now is 06:12 AM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network