![]() | All Advertisers |
| Member Services Directory | Classifieds | Reviews | Jobs | Deal Zone | Merchandise | Marketplace | Facebook App | Books, DVDs & Gadgets | Video Vault | Tips & Techniques |
| |||||||
New Reply | Thread Tools | Search this Thread |
| | #1 |
| Gear maniac Joined: Jan 2005 Location: boston area
Posts: 277
Thread Starter | 10khz square wave + masterlink = sine wave???
I've recently been doing some repairs/testing in my primarily analog studio and I came across something that sort of surprised me. I've been using an Otari mtr-10 as a source for a 10k square wave. It's stored pretty far from the control room, so I've been running a long cable. The square wave looks fine on a scope in the control room. I got tired of the cable, so for convenience, I decided to record it to an Alesis Masterlink. So there you have it. A healthy 10khz square wave feeding the analog input of the Masterlunk, and a perfect sine wave coming out of the analog output. huh?? Setting the recorder for highest resolution changed the wave, but not to a square wave. Now I'm curious, so I tried it with an old 3800 DAT. Same deal. Anybody willing to inform me as to why this occurs? thanks, chris rival |
| | |
| | #2 | |
| Lives for gear Joined: Aug 2004 Location: Santa Fe, NM
Posts: 988
| Re: 10khz square wave + masterlink = sine wave??? Quote:
Isn't it cool when reality matches theory? I bet the "square" wave coming off of your analog machine is something less than square as well... | |
| | |
| | #3 |
| Gear maniac Joined: Jan 2005 Location: boston area
Posts: 277
Thread Starter |
thanks for the explanation. much appreciated!
|
| | |
| | #4 |
| 3 + infractions, forum membership suspended. Joined: Oct 2008
Posts: 1,978
|
that answare its unlogic. square its square. at 10hz or at 25ghz. wordclock its square wave at 3ghz for 44.1khz 16bits s/pdif blank its also square 44.1khz does not have enough resolution chips are not perfect. a sine at 22050hz at 44.1khz its = 10101010101010101010 = square but some chips have interpolation, aproximation, spline, rounding. that creates the intersample peaks wordclock jitter can affect the samplig process. |
| | |
| | #5 |
| Lives for gear Joined: May 2005 Location: Hillsboro, OR
Posts: 986
| |
| | |
| | #6 |
| Lives for gear Joined: Jul 2008 Location: Memphis TN
Posts: 3,961
|
Why the drama, get "un-tired" of the cable, you can't do it with a masterlink. Buy an oscillator if you don't already have a standalone unit, and put it in the other room.
__________________ I think I just ran past myself. http://www.memphisindie.com ![]() I won't use pitch correcting software. I use "coaching" maybe you've heard of it. It keeps working even when you don't have it on. |
| | |
| | #7 |
| Lives for gear Joined: May 2007 Location: australia
Posts: 1,116
| No, it isn't. "square" is an ideal. A mathematical concept. It has 2 discontinuities in its period, and signals with true discontinuities cannot exist in anything except imagination. All real world signals are bandlimited in some way, whether you want to look at frequency limits, or slew rates. And as a result all "square waves" generated in hardware or in software, are non-ideal to some extent. they may happen to look close on a scope, but none of your examples are actual square waves. |
| | |
| | #8 | |
| Lives for gear Joined: Jul 2008 Location: Memphis TN
Posts: 3,961
| Quote:
| |
| | |
| | #9 | |
| Lives for gear Joined: May 2007 Location: australia
Posts: 1,116
| Quote:
There's always a finite rise time... therefore the wave is not square. Once you understand that, it's just a matter of the amount of bandwidth and slew limited channel degradation you're talking about, and the associated reduction of harmonics, till you get to a sine wave. but yeah..... I wouldn't choose a mic pre based on pictures of two "square" waves that have been through them..... that's ********. Personally, for online comparisons, I'd rather hear mic pres processing real audio. | |
| | |
| | #10 | |
| Lives for gear Joined: Jul 2003 Location: Tujunga
Posts: 3,722
| Quote:
I concur with dkatz42. Even in a totally analogue world, you would have issues with rounding off a 10KHz square wave. Neve always provided a polaroid photo of a square wave response of their consoles but it was a 1KHz wave. I don't think we ever used more than 3KHz for a test square wave. 10KHz square waves are made up of countless higher order frequency sine waves and if you pass it through a low pass filter, you will strip off all the higher frequencies that create the vertical part of the wave and you'll finish up with sloping/rounded wave.
__________________ Geoff Tanner Aurora Audio International See us on Facebook ![]() http://www.facebook.com/auroraaudio http://www.soundonsound.com/sos/may1...off-tanner.htm http://www.auroraaudio.net/ http://www.amazon.com/Window-Past-Ge...8737082&sr=1-9 http://www.grandmasterrecorders.com For quicker responses, please use my email (Geoff at auroraaudio.net) in preference to pm's on these forums. | |
| | |
| | #11 | |||||
| Lives for gear Joined: Mar 2008 Location: Sweden
Posts: 3,960
| Talking about "unlogic".. Quote:
Quote:
Quote:
How did you investigate this? Quote:
You are saying that a sine as represented in a PCM system has a fixed sample value? Quote:
Yes, therefore the use of a precision clock makes sense so that the jitter-induced artifacts stays below the threshold of audibility. /Peter | |||||
| | |
| | #12 |
| Lives for gear Joined: Jul 2008 Location: Memphis TN
Posts: 3,961
|
Wasn't there a big investigation into "precision" wordclock and the outcome was that the clocks were all precision but the connections weren't and they had the biggest effect on clocking along with cable length and voltage output of the clock/distribution? Clockity clock clock clock. |
| | |
| | #13 | |||
| Lives for gear Joined: Jul 2006 Location: Germany
Posts: 2,420
| There is no such thing as a perfect square wave... Quote:
Quote:
![]() Quote:
[EDIT] Guess I fell for an obvious forum troll. This is a major-league doofus, see e.g. here (at the risk of immediate spontaneous self-combustion of your brain...). Previously posted as "sexxy", until he was banned. | |||
| | |
| | #14 | |
| Lives for gear Joined: Jan 2007 Location: Barcelona
Posts: 586
| Quote:
x, -x, x, -x, x, -x ... where x is the digital representation of the ampitude of the incoming voltage. The DA converter has no means of knowing wether this sequence was originally a sinewave, a squarewave, a ramp or a dalek singing "ahhhhh". DAs use (analog) interpolation filters to constuct the analog waveform. These filters can be more or less sophisticated, but when you smoothly interpolate the above sequence you should get a perfect sine wave. Nyquist states that the minimum sampling rate must be twice the maximum frequency you wish to represent. A perfect square wave has infinite bandwith, so you will never be able to sample it accurately. All you get is approximate. Of course the lower the source frequency, the better the approximation, as more harmonics are sampled. | |
| | |
| | #15 |
| Lives for gear Joined: Nov 2006 Location: Hickory, MS
Posts: 2,047
|
You guys have too much time on your hands.. An analog square will not convert to a simple digital +x, -x, +x... series. It will be LPF by the A/D conversion scraping off all or most the above band content leaving just the 10k sinewave component. Why argue with the reality of the OP's observed result? JR |
| | |
| | #16 | |
| Lives for gear Joined: Jul 2003 Location: Tujunga
Posts: 3,722
| Quote:
| |
| | |
| | #17 |
| Lives for gear Joined: Apr 2003 Location: St-Sauveur, QC, Canada
Posts: 654
|
Freshman's rule of calculus: lim (n-->infinity) sinx/n = 6 (the n's cancel)Andy |
| | |
| | #18 | |
| Gear addict Joined: May 2006
Posts: 497
| Quote:
| |
| | |
| | #19 | |
| 3 + infractions, forum membership suspended. Joined: Oct 2008
Posts: 1,978
| Quote:
Alternating current - Wikipedia, the free encyclopedia Direct current - Wikipedia, the free encyclopedia music is AC, Digital equipment is DC infinite sines are used to emulate DC in AC circuit. also called additive synthesis. Square is true DC. true DC is Square. Slew rate - Wikipedia, the free encyclopedia slew rate is for high current equipment, like AC power amplifiers. for smaller values is called the rise time and the fall time . square emulation can also be made with Sine + HardClipping/overload/saturation in AC. Digital sound is Binary = DC. DC does not have a negative value. from 0v to what ever the circuit design, usually 5V. AC has negative value. Square wave - Wikipedia, the free encyclopedia ![]() Digital audio - Wikipedia, the free encyclopedia Sampling rate - Wikipedia, the free encyclopedia Word clock - Wikipedia, the free encyclopedia Biphase mark code - Wikipedia, the free encyclopedia Signal bitrate is 2.8Mhz (Fs=44.1kHz), 2Mhz (Fs=32kHz) and 3.1Mhz (Fs=48kHz). epanorama.net/S/PDIF Interface | |
| | |
| | #20 | |
| 3 + infractions, forum membership suspended. Joined: Oct 2008
Posts: 1,978
| Quote:
Signal bitrate is 2.8Mhz (Fs=44.1kHz), 2Mhz (Fs=32kHz) and 3.1Mhz (Fs=48kHz). read the brochures for high quality s/pdif cable, gepco, etc... and see the freq. responce measurenments over 2ghz. some Manufacturers, to lower clock jitter in DACs, and sampling jitter in the ADC, usuallly use a higher crystal clock, and divide the clock, to achieve a lower clock jitter signal. also some manufacturers use two crystals, one for 44.1khz and multiples x2 88.2khz x4 176.4khz, and other crystal for 48khz and multiples: 2x 96khz, 4x 192khz for example: all atomic clocks are 10Mhz sine. CESIUM ATOMIC CLOCKS Atomic clock - Wikipedia, the free encyclopedia the opposite of ADAT, and MADI, that mutiply the clock signal. also multiply the jitter. RME: Support TechInfo heavily jittery MADI data signal. The embedded MADI clock suffers from about 80 ns jitter, caused by the time resolution of 125 MHz within the format. Common jitter values for other devices are 5 ns, while a very good clock will have less than 2 ns. The picture to the right shows the MADI input signal with 80 ns of jitter (top graph, yellow). Thanks to SteadyClock this signal turns into a clock with less than 2 ns jitter (lower graph, blue). Jitter - Wikipedia, the free encyclopedia Higher clock frequencies have commensurately smaller eye openings, and thus impose tighter tolerances on jitter. A digital clock signal is a square-wave with a "fixed" frequency and amplitude and, desirably a 50% duty cycle. welcome to www.jitter.de welcome to www.jitter.de there is no such thing as a jitter-free clock! but atomic clocks are near with 0.03ppb or +- 0.00003ppm read all the brochures & manuals of wordclocks like TEAC esoteric, Antelope 10M, Drawmer M-Clock, lucid genx192, BLA microclock, apogee big ben, mutec iclock, dCS 995 verona, etc.., etc... for sampling 100% accurate, 100% all fundamentals and harmonics. | |
| | |
| | #21 | |
| 3 + infractions, forum membership suspended. Joined: Oct 2008
Posts: 1,978
| Quote:
clipping: | |
| | |
| | #22 |
| 3 + infractions, forum membership suspended. Joined: Oct 2008
Posts: 1,978
| Solid State Logic | Music# [top]Inter-Sample PeaksWhen a digitally-recorded sound is played-back it must be converted into an analogue representation at some point. This is performed by the DAC (digital to analogue converter). Commonly used over-sampling DACs apply a ‘reconstruction’ filter to convert the periodic sample levels back into a discrete signal. In simple terms they ‘fill in the gaps’ using interpolation so that digital artefacts are reduced to a minimum. Regardless of the reconstruction filter’s design, in certain circumstances it is possible for a reconstruction filter to produce signals greater than 0dBfs even if the samples used to create these signals are all within the 0dBfs limit. Take the following example: Here is a portion of a high frequency sine wave that is represented in the digital domain by 4 consecutive samples. The line that joins these points is the product of an interpolation algorithm designed to provide a smooth, discrete wave between the points. As can be seen, all 4 samples have a value of less than 1.0 (0dBfs in this case) but the smooth line joining the points clearly contains values which are greater than 1.0. It is this mechanism which can cause analogue signals to theoretically exceed 0dBfs even though the digital representation of the signal is within limits. This is an ‘Inter-sample Peak’. It can be seen that it is possible for all of the digital samples to be below full scale but they could still produce a signal which has sections which are >0dBfs. The current trend to produce louder and louder mixes ultimately can result in commercial recordings containing more inter-sample peaks than those of say 20 years ago. In reality, a highly compressed piece of audio that has been normalized to digital full-scale is almost guaranteed to have some samples in similar positions to those in the example above, and therefore the audio at an oversampling DAC is almost guaranteed to have inter-sample peaks of >0dBfs! [top]Is this a problem?As already mentioned, the reconstruction filter is typically part of common Digital to Analogue converters (DAC) and the quality of this process is a factor in the overall quality of the DAC. Low quality DACs may not have the digital resolution to handle values larger than full-scale, and subsequent analogue stages may not have the headroom to handle signals larger than the theoretical maximum. Another possibility is that the DAC may be quite capable of handling >0dBfs but the surrounding design may not have taken this eventuality into consideration. |
| | |
| | #23 |
| Lives for gear Joined: Jul 2008 Location: Memphis TN
Posts: 3,961
|
Just get out of prison?
|
| | |
| | #24 |
| Lives for gear Joined: Mar 2005 Location: Denver CO
Posts: 1,174
|
Space- The thing is 0101010 only describes a 1 bit signal. Assuming 24bit PCM audio data, then it would possibly be 00000000000000000000000, and 111111111111111111111111, and so on. From my understand this (in 16 bit) is the language used by redbook CD (and why NOS DACs work). However there is nothing that would prevent a language from being created where 1010 etc was + max and 0101 etc is - max. Your wiki thing there shows a 4 bit digital signal, each of the 16 values can be assigned with any 4 bit word the format creator wanted to use. These do not HAVE to logically translate to analog values (although for the sake of easiness they probably do in most cases). The signal bit rate for the actual clock is running at each I or O in the digital stream (not the byte words but each single presence or lack of voltage). So for stereo 44.1/24 bit is 2.1168 MHZ. This is simply 2*44100*24= how many times there will be either voltage or a lack thereof. Spdif is higher (2.8224) because it is actually a 32 bit stream, and the extra bits are used for preambles, stereo delineation and other meta data. Consider the way a lynx aurora can talk to their AES cards (the extra 8 bits at work). Also calling digital equipment direct current is not very accurate; the whole basis of digital is the ALTERNATING between signal and no signal. Granted it is between DC and nothing, but if it didn't turn it on and off, it wouldn't work. That's what the 1's and 0's are supposed to represent; actually I for input, and O for off. |
| | |
New Reply
Facebook
Twitter
LinkedIn
| Thread Tools | Search this Thread |
| Similar Threads | ||||
| Thread | Thread starter | Forum | Replies | Last Post |
| Sampling rate required for 22khz square wave | klaukholm | High end | 18 | 26th October 2006 08:24 PM |
| How Do You Export Wave File By Wave File In Pro Tools 7 LE ? | MACHINE | Music computers | 2 | 19th May 2006 04:20 PM |
| Midiot needs VSTi or RTASi help - sine wave sound | Ruairi | Music computers | 6 | 13th April 2006 02:03 PM |
| Inexpensive handheld sine wave generator with adjustable output voltage? | NathanEldred | Geekslutz forum | 4 | 2nd March 2006 06:11 AM |
| Pro Tools Sine Wave test | Gregg Sartiano | So much gear, so little time! | 7 | 9th October 2005 10:57 PM |
| |