In Reply to: Re: Is Lavry DA10 genuinely an SRC or ASRC? posted by Todd Krieger on February 24, 2007 at 01:39:09:
HowdyIf it's synchronous it does indeed have to be directly derived "synchronously" from the input clock. Usually in small integer ratios, e.g. upsampling from 44.1 to 88.2, 176.4, etc. You can do any integer ratio by first upsampling then downsampling.
To get rid of jitter you may use a local clock and buffer, but since you are synchronous you never have to worry about getting too far ahead or behind so you never need to resample the input data or interpolate it.
It is definitely the case that asynchronous input and output clocks imply that you have to do ASRC. I speculate that one of the benefits of picking a specific output clock freq and doing ASRC to it are that you can better control the jitter and other clock accuracy with a fixed rate clock and you can also better control the accuracy and resolution of a fixed freq reconstruction filter. Also by choosing a output clock that's weird, i.e. not near simple integer ratios of the input clock, you avoid the phasiness (flanging) you get as the input and output clocks go in and out of phase, well actually you sort of whiten it. Whether these make up for the degradation of the input data would depend on the implementation.
Just as a refresher of SSRC, conceptually you upsample by the numerator of your ratio, then filter out everything over 1/2 of the lowest of the input clock rate and the output clock rate and then down sample by the denominator. To upsample you can just put in zero samples between the real samples, e.g. to upsample by 55 you put in 54 zero samples between each input sample. To downsample you throw away the samples you don't want, e.g. to downsample by 47 you throw away 46 of every 47 samples. Clearly there is a lot of math to be saved by not calculating the samples you don't use and also you can take advantage of all of the zeros in the input to save work on the filter. So if you are SSRC by 55:47 there have to be 55 output clock cycles for each 47 input clock cycles.
-Ted
This post is made possible by the generous support of people like you and our sponsors:
Follow Ups
- Re: Is Lavry DA10 genuinely an SRC or ASRC? - Ted Smith 09:48:32 02/24/07 (38)
- I Forgot to State.... - Todd Krieger 01:06:33 02/25/07 (3)
- Re: I Forgot to State.... - Ted Smith 02:44:16 02/25/07 (2)
- Re: I Forgot to State.... - Todd Krieger 13:08:10 02/25/07 (1)
- Re: I Forgot to State.... - Ted Smith 13:53:57 02/25/07 (0)
- "Zero-Stuffing"..... - Todd Krieger 17:52:39 02/24/07 (33)
- Nope - Ted Smith 18:02:46 02/24/07 (32)
- Re: Nope - Todd Krieger 18:28:37 02/24/07 (31)
- Oh, we could be zeroes, just for one day ... - Werner 00:26:29 02/26/07 (13)
- Re: Oh, we could be zeroes, just for one day ... - Todd Krieger 10:52:10 02/28/07 (11)
- You might be interested in this ... - Christine Tham 14:32:14 02/28/07 (10)
- Re: You might be interested in this ... - Werner 23:28:55 02/28/07 (9)
- Re: You might be interested in this ... - Christine Tham 23:48:47 02/28/07 (8)
- Re: You might be interested in this ... - Werner 03:18:08 03/01/07 (7)
- Re: You might be interested in this ... - Christine Tham 13:26:53 03/01/07 (6)
- Re: You might be interested in this ... - Werner 00:07:15 03/02/07 (5)
- Re: You might be interested in this ... - Christine Tham 16:58:49 03/02/07 (4)
- Re: You might be interested in this ... - Werner 00:31:32 03/05/07 (3)
- Re: You might be interested in this ... - Christine Tham 14:58:30 03/05/07 (2)
- Re: You might be interested in this ... - Werner 23:41:41 03/05/07 (1)
- Re: You might be interested in this ... - Christine Tham 14:10:30 03/06/07 (0)
- :) [nt] - Ted Smith 17:55:16 02/26/07 (0)
- I'm talking about SSRC not oversampling.... - Ted Smith 18:45:30 02/24/07 (16)
- They're One and the Same!!!! - Todd Krieger 19:10:58 02/24/07 (15)
- Wrong, zero stuffing and filtering do exactly the right thing - Ted Smith 02:22:38 02/25/07 (9)
- The Problem is Context and Confusion..... - Todd Krieger 11:58:45 02/25/07 (8)
- Re: The Problem is Context and Confusion..... - Ted Smith 14:04:16 02/25/07 (0)
- And Most-Importantly..... - Todd Krieger 12:11:30 02/25/07 (6)
- Re: And Most-Importantly..... - Ted Smith 13:55:47 02/25/07 (5)
- I can see why he drove real_jj mad :-) (nt) - Christine Tham 13:59:36 02/25/07 (4)
- Yep :-) - Ted Smith 14:07:26 02/25/07 (3)
- Including me, I presume? (nt) - Christine Tham 14:26:24 02/25/07 (2)
- Hmmm, I don't remember :) [nt] - Ted Smith 14:29:43 02/25/07 (1)
- Very diplomatic :-) - Christine Tham 14:35:01 02/25/07 (0)
- Believe it or not, zero-stuffing followed by a digital filter works - Christine Tham 21:50:17 02/24/07 (4)
- Now I See the Origin of the Confusion...... - Todd Krieger 00:45:25 02/25/07 (3)
- Wow. I think you are the one that is confused - Christine Tham 13:46:04 02/25/07 (2)
- Re: Wow. I think you are the one that is confused - Todd Krieger 15:13:01 02/25/07 (1)
- Yeah - I hear you :-) - Christine Tham 15:50:41 02/25/07 (0)