|
|
|
|
| Author |
Message |
Karl Uppiano Guest
|
Posted: Fri Jun 03, 2005 8:01 am Post subject: Re: HiFi vs. Computer |
|
|
| Quote: | Nyquist's Theoerem is about representation of periodic signals; most
sounds
are not periodic signals.
|
Any arbitrary sound can be decomposed into a sum of periodic signals.
Therefore, Nyquist's theorem applies to all sounds. |
|
| Back to top |
|
 |
|
|
Tim Martin Guest
|
Posted: Fri Jun 03, 2005 9:02 am Post subject: Re: HiFi vs. Computer |
|
|
"Karl Uppiano" <karl.uppiano@verizon.net> wrote in message
news:SXTne.16106$qJ3.7554@trnddc05...
| Quote: | Nyquist's Theoerem is about representation of periodic signals; most
sounds
are not periodic signals.
Any arbitrary sound can be decomposed into a sum of periodic signals.
|
OK; let's suppose the sound consists of silence, followed by one second of
1kHz sine wave, followed by silence.
What sum of periodic signals can this be decomposed into?
Tim |
|
| Back to top |
|
 |
Tim Martin Guest
|
Posted: Fri Jun 03, 2005 11:02 am Post subject: Re: HiFi vs. Computer |
|
|
"Stewart Pinkerton" <patent3@dircon.co.uk> wrote in message
news:mhvv9118jips49mc63o6c90c1lr0qt9ng0@4ax.com...
Tim
| Quote: | Nyquist's Theoerem is about representation of periodic signals; most
sounds
are not periodic signals.
|
Stewart
| Quote: | Actually, it's not, except in so far as it does have a bandwidth limit
of less than half the sampling frequency.
|
Nyquist's Theorem tells us we can exactly represent the information in a
waveform by sampling it at a rate at least twice as high as the highest
frequency in the waveform
I think there's an implication here that by "highest frequency", we are
talking about the highest frequency in a Fourier transform of the original
signal. And the Fourier transform applies only to periodic signals.
Take a waveform consisting of, say a 1000Hz sine wave that is repeatedly
switched on and off at random times. This is not a periodic waveform, and
cannot be represented exactly by a Fourier transform. It has infinite
bandwidth. (Conceptually at least. As you've previously remarked, there
are physical constraints imposed by the transmission medium.)
So what happens when we try to represent that wavefom by a digital
representation (and I'm thinking here of a general-purpose digital
representation.) To keep things simple, let's suppose the amplitude of the
sine wave is small, so gives rise to only two different digital values, 0
and 1.
If we are sampling 48000 times a second, and if the sine wave is long enough
when on, our digital signal will, after some start-up sequence, consist of a
repeating pattern of 24 ones followed by 24 zeroes. Once we're in this part
of the signal, we can reproduce the original sine wave exactly (within the
resolution limits, which are not the issue here.)
But when does our reproduction start?
Our digital representation will have an initial series of values
representing the silence. Again leaving aside start-up considerations, a
series of 48000 identical values will represent one second's initial
silence, and 48001 will represent 1.000021 seconds of silence.
All silent intervals between 1 and 1.000021 seconds will be represented by
one of these values. And as there are more than 2 different analog signals
starting with between 1 and 1.000021 seconds of silence, we are losing
information in the digital representation ... that is, we are compressing
it.
All this is straightforward maths.
I think where you went wrong is failing to distinguish between the audio
frequencies contained in the signal, and the timing information contained in
the signal. In hi-fi, this doesn't usually matter - correctly reproducing
the audio frequencies gives us more than enough timing precision - but in
information theory it does.
Tim |
|
| Back to top |
|
 |
Arny Krueger Guest
|
Posted: Fri Jun 03, 2005 12:02 pm Post subject: Re: HiFi vs. Computer |
|
|
Tim Martin wrote:
| Quote: | "Richard Crowley" <rcrowley7@xprt.net> wrote in message
news:119vfc5o62hbt00@corp.supernews.com...
How did your "analog signals" originate?
A bird singing in the woods. This generates an analog
signal,
detectable by ears.
|
However, the dynamic range in the woods is not all that
good, because the background noise level in the woods is
pretty high compared to bird songs, especially with the
typical distances involved. Nature can be pretty noisy.
Leaves rustle, the wind has turbulence problems, waves lap
or crash, insects buzz...
| Quote: | How did they then end up as ones and zeroes on a tape or
disc? |
| Quote: | It's possible to store a digital approximation of this
analog signal
by a number of methods; I don't see that it actually
matters what
method is used, but I suppose the most direct method is to
have some
flexible device that vibrates with the sound of the bird
singing, and
periodically measure the physical position of the flexible
device. |
IOW a microphone.
| Quote: | The more frequently we measure the position, and the more
precisely we
measure the position, the more accurate is our digital
representation
of the analog signal.
|
Wrong. While taking more measurements in the time domain
increases the highest frequency that can be reliably
discerned, it does nothing for resolution or accuracy of the
measurements. If you want accuracy, you have to improve the
quality of each measurement. |
|
| Back to top |
|
 |
Arny Krueger Guest
|
Posted: Fri Jun 03, 2005 12:02 pm Post subject: Re: HiFi vs. Computer |
|
|
Tim Martin wrote:
| Quote: | dpierce@cartchunk.org> wrote in message
news:1117671221.564785.245640@g43g2000cwa.googlegroups.com...
Beyond what may seem to be a philosphical discussion (it
isn't:
it's a direct and inevitable consequence of the your
basic
assertion and is proven rigorously in work cited above by
Nyquist
and Shannon), the simplem fact is that ANY system of a
finite
bandwidth and limited dynamic range can be EXACTLY
represented
by a quantized system of finite accuracy.
An analog signal, such as a bird singing in the woods, has
infinite
bandwidth.
|
Not really. Creating sounds at an infinitely high frequency
requires infinite amounts of energy.
| Quote: | That is, there is no upper frequency f, such that any
combination of
waves of frequency less than f, can exactly represent an
arbitrary
analog signal, regardless of the precision of the waves.
|
In reality the energy in bird calls and other natural sounds
at high frequencies is limited and naturally rolling off,
and at some surprisingly low frequency, it drops below the
noise floor.
| Quote: | Nyquist's Theoerem is about representation of periodic
signals; most
sounds are not periodic signals.
|
All real world sounds can be sucessfully analyzed as a
collection of enveloped periodic signals. Fourier wasn't
wrong.
| Quote: | Of course in practice we can specify a combinations of
waves that
make close approximations to the bird singing; and we can
get as
close as we like, up to the limits of whatever equipment
we use to
detect the analog signal we are approximating.
|
Same basic problems and results irregardless of whether the
test equipment is analog or digital. Digital test equipment
tends to have better price performance. The lowest noise
floors in audio test equipment generally are obtained with
equipment that is mostly digital. For example, Wein bridges
have built-in dynamic range problems when you actually try
to implement one practically and economically. |
|
| Back to top |
|
 |
Tim Martin Guest
|
Posted: Fri Jun 03, 2005 2:04 pm Post subject: Re: HiFi vs. Computer |
|
|
"Arny Krueger" <arnyk@hotpop.com> wrote in message
news:2KadnR34zaLvpD3fRVn-sw@comcast.com...
| Quote: | However, the dynamic range in the woods is not all that
good, because the background noise level in the woods is
pretty high compared to bird songs, especially with the
typical distances involved. Nature can be pretty noisy.
|
Careful - that's all part of the signal, not "noise". If we were trying to
reproduce the sound of a bird singing in the woods, we would want the
background sound, too.
Yes, it's pretty much what a capacitor microphone does fairly directly..
However, microphones generate electrical signals, which are affected by the
circuitry they are connected to - that is, the microphone introduces noise -
and I didn't want to confuse the issue with that, hence my suggesting we
measure the position of a moving element.
| Quote: | The more frequently we measure the position, and the more
precisely we
measure the position, the more accurate is our digital
representation
of the analog signal.
Wrong. While taking more measurements in the time domain
increases the highest frequency that can be reliably
discerned, it does nothing for resolution or accuracy of the
measurements. If you want accuracy, you have to improve the
quality of each measurement.
|
Bear in mind that the context I set was an analog signal with infinite
bandwidth ... eg including sounds starting and stopping at arbitrary times.
So improving the timing resolution does improve the accuracy of the digital
representation.
If we take measurements 10,000 times a second, our resolution is 0.0001
seconds , our digital representation won't necessarily be able to
distinguish between sounds starting at 1.00001 seconds and sounds starting
at 1.00002 seconds; whereas if we take measurements 100,000 times a second,
it will be able to.
Tim |
|
| Back to top |
|
 |
Tim Martin Guest
|
Posted: Fri Jun 03, 2005 2:04 pm Post subject: Re: HiFi vs. Computer |
|
|
"Arny Krueger" <arnyk@hotpop.com> wrote in message
news:sdednURrFd9Ipz3fRVn-gA@comcast.com...
| Quote: | Not really. Creating sounds at an infinitely high frequency
requires infinite amounts of energy.
|
The scenario does not include any sounds of infinitely high frequency. We
can stick with just two tones: one silence, and the other a single tone of
1000Hz.
What I'm saying is that it's not possible to accurately represent a sound
consisting of alternate arbitrary-length sequences of 1000Hz sine waves and
silence with any set of sine waves. regardless of the upper frequency we
use. And that it's not possible to represent them by any digital signal
with fixed sampling frequency, no matter how high that sampling frequency
is.
To put it another way: for any fixed-sampling-frequency digital
representation you specify, I can define two different non-periodic analog
signals, using only silence and 1000 Hz sine waves, that will both map to
the same digital representation.
This is trivial. .
Tim. |
|
| Back to top |
|
 |
Stewart Pinkerton Guest
|
Posted: Fri Jun 03, 2005 5:34 pm Post subject: Re: HiFi vs. Computer |
|
|
On Fri, 03 Jun 2005 10:47:13 GMT, "Tim Martin"
<tim2718281@ntlworld.com> wrote:
| Quote: |
"Stewart Pinkerton" <patent3@dircon.co.uk> wrote in message
news:mhvv9118jips49mc63o6c90c1lr0qt9ng0@4ax.com...
Tim
Nyquist's Theoerem is about representation of periodic signals; most
sounds
are not periodic signals.
Stewart
Actually, it's not, except in so far as it does have a bandwidth limit
of less than half the sampling frequency.
Nyquist's Theorem tells us we can exactly represent the information in a
waveform by sampling it at a rate at least twice as high as the highest
frequency in the waveform
I think there's an implication here that by "highest frequency", we are
talking about the highest frequency in a Fourier transform of the original
signal. And the Fourier transform applies only to periodic signals.
|
It does however apply to every frequency required for the synthesis of
an impulse, however short that impulse may be. To assume otherwise is
to misunderstand the nature of the Fourier transform.
| Quote: | Take a waveform consisting of, say a 1000Hz sine wave that is repeatedly
switched on and off at random times. This is not a periodic waveform, and
cannot be represented exactly by a Fourier transform. It has infinite
bandwidth. (Conceptually at least. As you've previously remarked, there
are physical constraints imposed by the transmission medium.)
|
And as such, it *can* be represented by a Fourier transform containing
frequencies up to any arbitrarily high limit which you feel the medium
justifies. Infinity is never involved.
| Quote: | So what happens when we try to represent that wavefom by a digital
representation (and I'm thinking here of a general-purpose digital
representation.) To keep things simple, let's suppose the amplitude of the
sine wave is small, so gives rise to only two different digital values, 0
and 1.
If we are sampling 48000 times a second, and if the sine wave is long enough
when on, our digital signal will, after some start-up sequence, consist of a
repeating pattern of 24 ones followed by 24 zeroes. Once we're in this part
of the signal, we can reproduce the original sine wave exactly (within the
resolution limits, which are not the issue here.)
|
No, it won't. You really don't understand the basics of A/D
conversion, do you? The waveform will exactly replicate the original
sine wave, so there will be less ones than zeroes, in the appropriate
ratio (can't be arsed to work it out offhand, but it's around 10:14
ratio, rather than 24:24)
| Quote: | But when does our reproduction start?
Our digital representation will have an initial series of values
representing the silence. Again leaving aside start-up considerations, a
series of 48000 identical values will represent one second's initial
silence, and 48001 will represent 1.000021 seconds of silence.
All silent intervals between 1 and 1.000021 seconds will be represented by
one of these values. And as there are more than 2 different analog signals
starting with between 1 and 1.000021 seconds of silence, we are losing
information in the digital representation ... that is, we are compressing
it.
|
You don't understand the basics, do you? What about dither? And are
you *assuming* that the signal starts from zero? You simply have no
basis for your above statement.
| Quote: | All this is straightforward maths.
|
Indeed it is, and you're hopelessly wrong again!
| Quote: | I think where you went wrong is failing to distinguish between the audio
frequencies contained in the signal, and the timing information contained in
the signal. In hi-fi, this doesn't usually matter - correctly reproducing
the audio frequencies gives us more than enough timing precision - but in
information theory it does.
|
If you actually understood information theory, we wouldn't be having
this debate..............
--
Stewart Pinkerton | Music is Art - Audio is Engineering |
|
| Back to top |
|
 |
Stewart Pinkerton Guest
|
Posted: Fri Jun 03, 2005 5:35 pm Post subject: Re: HiFi vs. Computer |
|
|
On Fri, 03 Jun 2005 08:38:18 GMT, "Tim Martin"
<tim2718281@ntlworld.com> wrote:
| Quote: |
"Karl Uppiano" <karl.uppiano@verizon.net> wrote in message
news:SXTne.16106$qJ3.7554@trnddc05...
Nyquist's Theoerem is about representation of periodic signals; most
sounds
are not periodic signals.
Any arbitrary sound can be decomposed into a sum of periodic signals.
OK; let's suppose the sound consists of silence, followed by one second of
1kHz sine wave, followed by silence.
What sum of periodic signals can this be decomposed into?
|
Depends on the upper frequency component of the starting corner.
--
Stewart Pinkerton | Music is Art - Audio is Engineering |
|
| Back to top |
|
 |
Stewart Pinkerton Guest
|
Posted: Fri Jun 03, 2005 5:40 pm Post subject: Re: HiFi vs. Computer |
|
|
On Fri, 03 Jun 2005 13:32:36 GMT, "Tim Martin"
<tim2718281@ntlworld.com> wrote:
| Quote: |
"Arny Krueger" <arnyk@hotpop.com> wrote in message
news:2KadnR34zaLvpD3fRVn-sw@comcast.com...
However, the dynamic range in the woods is not all that
good, because the background noise level in the woods is
pretty high compared to bird songs, especially with the
typical distances involved. Nature can be pretty noisy.
Careful - that's all part of the signal, not "noise". If we were trying to
reproduce the sound of a bird singing in the woods, we would want the
background sound, too.
|
Fine, no argument with that in principle. Now, what *transducer* are
you going to use, which will not affect that original sound?
| Quote: | IOW a microphone.
Yes, it's pretty much what a capacitor microphone does fairly directly..
However, microphones generate electrical signals, which are affected by the
circuitry they are connected to - that is, the microphone introduces noise -
and I didn't want to confuse the issue with that, hence my suggesting we
measure the position of a moving element.
|
Totally pointless exercise, since no such device exists - and if it
did, it would be subject to errors due to Brownian motion of that
moving element, and the positional accuracy of the detector.
| Quote: | The more frequently we measure the position, and the more
precisely we
measure the position, the more accurate is our digital
representation
of the analog signal.
Wrong. While taking more measurements in the time domain
increases the highest frequency that can be reliably
discerned, it does nothing for resolution or accuracy of the
measurements. If you want accuracy, you have to improve the
quality of each measurement.
Bear in mind that the context I set was an analog signal with infinite
bandwidth ... eg including sounds starting and stopping at arbitrary times.
|
Bear in mind that no such analogue signal exists.
| Quote: | So improving the timing resolution does improve the accuracy of the digital
representation.
|
No, it doesn't, since no such analougue signal exists.
| Quote: | If we take measurements 10,000 times a second, our resolution is 0.0001
seconds , our digital representation won't necessarily be able to
distinguish between sounds starting at 1.00001 seconds and sounds starting
at 1.00002 seconds; whereas if we take measurements 100,000 times a second,
it will be able to.
|
So what? We already sample at 96,000 times per second in most major
recording studios, which is gross overkill for conventional studio
microphones which roll off at 18kHz or so. We're not talking schoolboy
theories here, we're talking about the *real* world.
--
Stewart Pinkerton | Music is Art - Audio is Engineering |
|
| Back to top |
|
 |
Stewart Pinkerton Guest
|
Posted: Fri Jun 03, 2005 5:43 pm Post subject: Re: HiFi vs. Computer |
|
|
On Fri, 03 Jun 2005 13:47:35 GMT, "Tim Martin"
<tim2718281@ntlworld.com> wrote:
| Quote: |
"Arny Krueger" <arnyk@hotpop.com> wrote in message
news:sdednURrFd9Ipz3fRVn-gA@comcast.com...
Not really. Creating sounds at an infinitely high frequency
requires infinite amounts of energy.
The scenario does not include any sounds of infinitely high frequency. We
can stick with just two tones: one silence, and the other a single tone of
1000Hz.
|
And what frequencies are involved in the *transition* from one to the
other?
| Quote: | What I'm saying is that it's not possible to accurately represent a sound
consisting of alternate arbitrary-length sequences of 1000Hz sine waves and
silence with any set of sine waves. regardless of the upper frequency we
use.
|
Yes, it is. Not *our* fault that *you* don't understand that.
| Quote: | And that it's not possible to represent them by any digital signal
with fixed sampling frequency, no matter how high that sampling frequency
is.
|
Yes it is, as anyone who *understands* information theory is well
aware...............
| Quote: | To put it another way: for any fixed-sampling-frequency digital
representation you specify, I can define two different non-periodic analog
signals, using only silence and 1000 Hz sine waves, that will both map to
the same digital representation.
This is trivial.
|
Indeed, so why do you keep getting it so wrong?
--
Stewart Pinkerton | Music is Art - Audio is Engineering |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jun 03, 2005 6:05 pm Post subject: Re: HiFi vs. Computer |
|
|
Tim Martin wrote:
| Quote: | "Karl Uppiano" <karl.uppiano@verizon.net> wrote in message
news:SXTne.16106$qJ3.7554@trnddc05...
Nyquist's Theoerem is about representation of periodic signals; most
sounds
are not periodic signals.
Any arbitrary sound can be decomposed into a sum of periodic signals.
OK; let's suppose the sound consists of silence, followed by one second of
1kHz sine wave, followed by silence.
What sum of periodic signals can this be decomposed into?
|
It's exactly the same as a 1 kHz sine wave 100% modulated by a 0.5
Hz square wave, and such decomposes into a series of sine components
spaced 1 Hz apart spaced symmetrically about the 1 kHz component
offset from it by 0.5 Hz, (iow 1000.5, 1001.5, 1002.5, 999.5, 998.5,
997.5, ...) with amplitudes decreasing as we move away from 1 kHz by
a simple 1/n, n = 1, 3, 5, ... and so forth, all components in phase.
AND, if you insist on truning on and off the sine wave INSTANTANEOUSLY,
these sine components extend to +-infinite frequency.
Such a signal, as I am sure you will agree, could never be PRODUCED
perfectly in ANY system existing for finite time or limited to finite
energy. |
|
| Back to top |
|
 |
Arny Krueger Guest
|
Posted: Fri Jun 03, 2005 7:04 pm Post subject: Re: HiFi vs. Computer |
|
|
Tim Martin wrote:
| Quote: | "Arny Krueger" <arnyk@hotpop.com> wrote in message
news:2KadnR34zaLvpD3fRVn-sw@comcast.com...
However, the dynamic range in the woods is not all that
good, because the background noise level in the woods is
pretty high compared to bird songs, especially with the
typical distances involved. Nature can be pretty noisy.
Careful - that's all part of the signal, not "noise". If
we were
trying to reproduce the sound of a bird singing in the
woods, we
would want the background sound, too.
|
Agreed you want background sound, but below the incidental
sound is true and genuine noise.
| Quote: | IOW a microphone.
Yes, it's pretty much what a capacitor microphone does
fairly
directly.. However, microphones generate electrical
signals, which
are affected by the circuitry they are connected to - that
is, the
microphone introduces noise - and I didn't want to confuse
the issue
with that, hence my suggesting we measure the position of
a moving
element.
|
Condensor mics generate noise but generally have far more
output than dynamics. Dynamic mics produce far lower signals
that are far more dependent on low mic preamp noise. I
believe the most sensitive mics in actual general use are
condensers.
| Quote: | The more frequently we measure the position, and the
more precisely we
measure the position, the more accurate is our
digitalrepresentation
of the analog signal.
Wrong. While taking more measurements in the time domain
increases the highest frequency that can be reliably
discerned, it does nothing for resolution or accuracy of
the
measurements. If you want accuracy, you have to improve
the
quality of each measurement.
Bear in mind that the context I set was an analog signal
with infinite
bandwidth
|
IOW, a figment of the imagination. Sorry, I'm stuck here in
the real world.
| Quote: | ... eg including sounds starting and stopping at arbitrary
times. So improving the timing resolution does improve the
accuracy
of the digital representation.
|
Back in the real world we're stuck with listeners that turn
out to have worse HF performance than plain-old common CD
audio.
| Quote: | If we take measurements 10,000 times a second, our
resolution is
0.0001 seconds , our digital representation won't
necessarily be able
to distinguish between sounds starting at 1.00001 seconds
and sounds
starting at 1.00002 seconds; whereas if we take
measurements 100,000
times a second, it will be able to.
|
I thought this discussion was about audio, not how many
measurements can dance on the head of an imaginary pin! ;-) |
|
| Back to top |
|
 |
Arny Krueger Guest
|
Posted: Fri Jun 03, 2005 7:04 pm Post subject: Re: HiFi vs. Computer |
|
|
Tim Martin wrote:
| Quote: | "Arny Krueger" <arnyk@hotpop.com> wrote in message
news:sdednURrFd9Ipz3fRVn-gA@comcast.com...
Tim Martin wrote:
An analog signal, such as a bird singing in the woods,
has infinite
bandwidth.
Not really. Creating sounds at an infinitely high
frequency
requires infinite amounts of energy.
The scenario does not include any sounds of infinitely
high
frequency. We can stick with just two tones: one
silence, and the
other a single tone of 1000Hz.
|
I'm sorry but I was responding to your post about birds, not
some theoretical waveform. |
|
| Back to top |
|
 |
Tim Martin Guest
|
Posted: Fri Jun 03, 2005 8:03 pm Post subject: Re: HiFi vs. Computer |
|
|
"Arny Krueger" <arnyk@hotpop.com> wrote in message
news:adadnbmtJeNhOT3fRVn-rg@comcast.com...
| Quote: | I thought this discussion was about audio, not how many
measurements can dance on the head of an imaginary pin! ;-)
|
Well, my initial reponse was to a comment about compression. Someone said
that he felt compression was undesirable; I've simply pointed that
compression is inherent in digital representation of signals.
Having got rid of the compression bogey-man, one is free to assess any
storage scheme on its merits.
Tim |
|
| Back to top |
|
 |
|
FAQ
Memberlist
Usergroups
Featured Site: Free Antivirus and Antispyware Info
Powered by p|-|pBB
Usenet and forums posts belong to their respective authors. Everything else is (c) 2004 - 2006 Web-S-Sense Pty. Ltd. Terms and Conditions of Use
|
|
|