|
|
Subscribe / Log in / New account

GStreamer: Past, present, and future

GStreamer: Past, present, and future

Posted Oct 30, 2010 14:42 UTC (Sat) by alankila (guest, #47141)
In reply to: GStreamer: Past, present, and future by dlang
Parent article: GStreamer: Past, present, and future

Let's just say that I remain skeptical.

Your specific example "20 kHz signal playing with 44 kHz samples, and played at 96 kHz samples" is a particularly poorly example. I assume you meant a pure tone signal? Such a tone can be represented by any sampling with a sampling rate > 40 kHz. So, 44 kHz and 96 kHz are equally good with respect to representing that signal. If there is any difference at all favoring the 96 kHz system, it arises from relatively worse engineering involved with the 44 kHz system -- poorer quality of handling of frequencies around 20 kHz, perhaps -- and not from any intrinsic difference between the representations of the two signals themselves.

Many people seem to think---and I am not implying you are one---that the way digital signals are converted to analog output waveforms occurs as if linear interpolation between sample points were used. From this reasoning, it looks as if higher sampling rates were better, because the linearly interpolated version of 96 kHz signal would look considerably closer to the "original analog waveform" than its 44 kHz sampling interpolated the same way. But that's not how it works. Digital systems are not interpolated by fitting line segments, but by fitting sin waveforms through the sample points. So in both cases, the original 20 kHz sin() could be equally well reconstructed.


to post comments

GStreamer: Past, present, and future

Posted Oct 30, 2010 15:04 UTC (Sat) by corbet (editor, #1) [Link] (3 responses)

Sinc waveforms, actually (sin(θ)/θ) :)

I knew all those signal processing classes would come in useful eventually...

GStreamer: Past, present, and future

Posted Oct 31, 2010 11:27 UTC (Sun) by alankila (guest, #47141) [Link] (2 responses)

It is true that the resampling is typically done with convolving the signal with sinc, but the effect of this convolving is as if the interpolation had occurred with sin waveforms fit through the sampled data points.

GStreamer: Past, present, and future

Posted Nov 2, 2010 4:02 UTC (Tue) by Spudd86 (subscriber, #51683) [Link] (1 responses)

Err, generally not sinc, it's usually windowed so as to have better PSNR

GStreamer: Past, present, and future

Posted Nov 6, 2010 10:55 UTC (Sat) by alankila (guest, #47141) [Link]

True, true.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds