LWN.net Logo

GStreamer: Past, present, and future

GStreamer: Past, present, and future

Posted Oct 30, 2010 0:36 UTC (Sat) by dlang (✭ supporter ✭, #313)
In reply to: GStreamer: Past, present, and future by gmaxwell
Parent article: GStreamer: Past, present, and future

Quote: Given unlimited precision samples a signal which has no energy above the the system nyquist is _perfectly_ re-constructable, not just "good".

I disagree with this statement. something can be reproduced, but not neccessarily _perfectly_

also, any time you have more than one frequency involved, they are going to mix in your sensor, and so you are going to have energy above this frequency.

sampling faster may not be the most efficient way to get better SNR, but it's actually much easier to sample faster than to sample with more precision.

using your example, setting something up to sample 1 bit @ 3MHz may be far cheaper than setting up something to sample 20 bits @ 48KHz. In addition, the low-precision bitstream may end up being more amenible to compression than the high precision bitstream. with something as extreme as the 1bit example, simple run-length encoding probably will gain you much more than a 3x compression ratio. That's not to say that a more sophisticated , lossy, compression algorithm couldn't do better with the 20 bit samples, but again, which is simpler?

I am in no way saying that people hear in the ultrasonic directly, However I am saying that some people listening to a 15KHz sine wave vs a 15KHz square wave will be able to hear a difference.


(Log in to post comments)

GStreamer: Past, present, and future

Posted Oct 30, 2010 14:21 UTC (Sat) by alankila (subscriber, #47141) [Link]

> I disagree with this statement. something can be reproduced, but not neccessarily _perfectly_

This may be confusing two ways to look at it: as mathematical issue, or as engineering problem. Mathematically the discrete representation and the analog waveform are interchangeable: you can get from one to the other. The quality of the conversion between the two can be made as arbitrarily high as you desire -- typically design targets are set beyond assumed limits of human perception.

>also, any time you have more than one frequency involved, they are going to mix in your sensor, and so you are going to have energy above this frequency.

Intermodulation distortion can generate extra tones, and depending on how strong the effect is, they may even matter. Such nonlinearities do not need more than one frequency, though.

This is normally an undesirable artifact, and our ADC/DACs have evolved to a point where they are essentially perfect with respect to this problem. In any case, from viewpoint of a digital system, artifacts that occurred in the analog realm are part of the signal, and are processed perfectly once captured.

> I am in no way saying that people hear in the ultrasonic directly, However I am saying that some people listening to a 15KHz sine wave vs a 15KHz square wave will be able to hear a difference.

The amusing thing is that a 44.1 kHz representation of a 15 kHz square wave will look identical to a 15 kHz sin wave, because none of the pulse's harmonics are within the passband of the system. Do you happen to have a reference where a system such as this was tested with test subjects so that it would be possible to understand how such a test was conducted?

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