Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Sampling rates higher than 44.1Khz? (Read 69245 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Sampling rates higher than 44.1Khz?

Reply #50
Quote
Quote
Did you note the relative level of the intermodulated product? It was only a few dBs above the noisefloor, when I generated the 30kHz and 32kHz tones at -3dBFs! [a href="index.php?act=findpost&pid=362911"][{POST_SNAPBACK}][/a]

So you added two sine waves with an amplitude of -3dBFs? In that case the result will clip and that may explain the tone you heard..
[a href="index.php?act=findpost&pid=362936"][{POST_SNAPBACK}][/a]


I am sorry, I made a typo earlier. The final waveform peak amplitude as viewed after mixing the two signals was -3dBFs, not the two individual signals before mixing. Please note that the 2kHz *tone* was not audible unless very specific conditions were present, as I previously specified.

-Chris

Sampling rates higher than 44.1Khz?

Reply #51
more on the 'beating' issue, from James Johnston:

A Graphical Explanation involving Sampling
http://www.audioasylum.com/audio/general/messages/43134.html

Opener:
"The questions about modulation of sine waves near the Nyquist limit seem to be common and repeated. The image URL here has a plot that, I think, explains how the "beating" comes about due to adding in frequencies that are solely above the Nyquist limit, and thus how filtering them out removes any "beating" one observes in raw, unfiltered data from a DAC (before the anti-imaging filter)."

Sampling rates higher than 44.1Khz?

Reply #52
Quote
This thread is fascinating! But most of it is too techy for me unfortunately.

Could anyone try again to explain how these byproduct tones/beats come about? And what is the low pass filter's involvement in this? (What is a low pass filter anyway?)
[{POST_SNAPBACK}][/a]

Fascinating? Hmm.... May seem so. But I think that some posts here are actually a bit misleading/misinformed.

Quote
Quote

Why may I hear something like that ?
[a href="index.php?act=findpost&pid=362564"][{POST_SNAPBACK}][/a]

[...] Mathematically, cos(32KHz)+cos(30KHz) = 2*cos(31KHz)*cos(1KHz). Add the time in equation and you have a 1 KHz harmonic with a variable intensity of 2*cos(31KHz*t). [...]
[a href="index.php?act=findpost&pid=362598"][{POST_SNAPBACK}][/a]

So what ? Just because there's suddenly a cos(1kHz*t) in a product you think you should be able to hear this one? Do you realize that you can also interpret your formula as a 31 kHz sinusoid with an amplitude modulation at a rate of 1 kHz ? Truth is: It does not matter whether a product representation contains usually audible signals. The first form (cos(32kHz)+cos(30kHz)) is the really interesting one. Why ? Because we've a bunch of filters in our inner ear (hair + hair cell) seperating frequencies -- every hair (depending on its location/length) has a certain resonance frequency and acts like a bandpass filter. From signal theory we know such filters are linear and time-invariant ([a href="http://en.wikipedia.org/wiki/LTI_system_theory]LTI system theory[/url], please check the linearity property on this site).
The linearity suggests that if you can't hear a single tone at 30 or 32 kHz, you also cannot hear anything when cos(30kHz*t)+cos(32kHz*t) is "in the air".


Quote
That's really interesting actually.  I just created a 96khz wav file with a 30k and a 32k tone and could hear a beat frequency as you say.   Though at 2khz not 1khz
[a href="index.php?act=findpost&pid=362629"][{POST_SNAPBACK}][/a]

This is likely due to one of these things:
- improper anti alias filtering of your sound reproduction system
- non-linear distortions of your sound reproduction system (including clipping)


edit: typos

HTH,
Sebi

Sampling rates higher than 44.1Khz?

Reply #53
There's too much interpreting here. I've found a "third-party" argument which mirrors my original statement and I hope it is pretty understandable. However, I insist that the 2 KHz was wrong and 1 KHz would be the correct result (there's the same error in the quote that follows).


Quote
(...)
3. The third theory of recording at 96kS/s has to do with high frequency information during the mixing process.

Whenever two audio signals are combined, the result is a harmonic structure that produces additional frequencies as a combination of the summing of the two. If a note is played at 100Hz and another is played at 150Hz, there will be two additional frequencies produced as a result. One at 50 Hz (B-A) and the other at 250Hz (B+A). It is the first - the subtractive - that we shall discuss here. If two frequencies are produced at 30k and 45k, the effect will produce a harmonic overtone at 15k - well within the human hearing spectrum (at least for those of us in our 20's).

While this 15k signal would be picked up on a microphone in the room during a live classical performance, the issue has to do with multitrack performances where the music was tracked on separate microphones in isolated facilities. There would be no opportunity for this high frequency information to be mixed and reproduce these lower harmonic overtones because at 44.1k, the highest frequency recordable is at about 22k.

Theoretically, if we put two oscillators in a room - one at 30k and one at 45k, a microphone would pick up a 15k harmonic that we could hear. If we had the same oscillators in different rooms and recorded them both at 44.1k and mixed them we would not hear this phenomena. If, however, we recorded them at 96k (assuming the filters on the converters rolled off at 48k and not earlier) and mixed them we would once again hear this 15k overtone. This is supposedly an example of where recording and mixing at 96k can achieve different sonic characteristics even if the recording was to be reproduced on a 48k medium. The overtones discussed above would be produced in the mixing process and would endure the downsampling process.

Upon trying to put together this test I had a difficult time finding scientific enough equipment to produce and measure these frequencies. The theory is plausable, but the effect would be fairly minimal as these overtones are at very low amplitude. Regardless, the theory has a chance of holding water if a valid test can be done. I have heard of no such tests. Perhaps we could Roger to oblige us.
(...)



The text is at http://www.musicplayer.com/ubb/Forum2/HTML/001473.html
There's a link there with info about some instruments harmonics. (There's life above 20 kilohertz). By visual inspection, the article doesn't talk about the cited argument. However, it seems to have info on the amount of energy many instruments have above 20 KHz, which may be interesting for those who were considering that the effect (which could be a feature, not a bug) is unlistenable.

Sampling rates higher than 44.1Khz?

Reply #54
JJ again , at even greater length and detail, on high frequencies in audio and other matters generally. I see he even engaged 'RockFan' (who was on this thread earlier)
on pretty much the same issues he's brought up.  Whihc makes me believe there's llittle point arguing them further.

http://www.skepticforum.com/viewtopic.php?...6385681595377ed

(For those unaware, Mr. Johnston, retired from Bell/ATT labs,  was a co-inventor of MP3)

Sampling rates higher than 44.1Khz?

Reply #55
Quote
So what ? Just because there's suddenly a cos(1kHz*t) in a product you think you should be able to

I'm not thinking anything, I'm just repeating what I've just read.

Quote
hear this one? Do you realize that you can also interpret your formula as a 31 kHz sinusoid with an amplitude modulation at a rate of 1 kHz ? Truth is: It does not matter whether a product
representation contains usually audible signals. The first form (cos(32kHz)+cos(30kHz)) is the really interesting one. Why ? Because we've a bunch of filters in our inner ear (hair + hair cell) seperating

Remember that when we want to tune a guitar, if we have a reference (tuned) string, we tune the others by listening to the beating. And I believe that music professionals may also tune it by listening to the deviating mean frequency. Both things are at the right side of the equation, not the linear one. I can surely tune a guitar by listening to the beatings. If the beating is non-linear so what ? I listen to it.

Sampling rates higher than 44.1Khz?

Reply #56
Quote
Remember that when we want to tune a guitar, if we have a reference (tuned) string, we tune the others by listening to the beating. And I believe that music professionals may also tune it by listening to the deviating mean frequency. Both things are at the right side of the equation, not the linear one. I can surely tune a guitar by listening to the beatings. If the beating is non-linear so what ? I listen to it.
[a href="index.php?act=findpost&pid=363022"][{POST_SNAPBACK}][/a]

Yes that's correct. BUT the beating we hear is not a "tone" it is the actual tone going up and down in amplitude. So if we can't hear the original tone, we also cannot hear it changing in amplitude. So you cannot hear a 32 kHz tone "beating".

In other words you can hear the following (the 1 kHz tone, at least):

(tone of 32 kHz) + (tone of 1 kHz)

but you can NOT hear the following (which is the case here):

(tone of 32 kHz) * (tone of 1 kHz)

Sampling rates higher than 44.1Khz?

Reply #57
Quote
Quote
(...)
Whenever two audio signals are combined, the result is a harmonic structure that produces additional frequencies as a combination of the summing of the two. If a note is played at 100Hz and another is played at 150Hz, there will be two additional frequencies produced as a result. One at 50 Hz (B-A) and the other at 250Hz (B+A). It is the first - the subtractive - that we shall discuss here. If two frequencies are produced at 30k and 45k, the effect will produce a harmonic overtone at 15k - well within the human hearing spectrum (at least for those of us in our 20's).

That is quite nonsense Im afraid hdante. The poster is roughly calculating beat frequencies between tones and confusing them with new tones that have the frequency of the beat. Mind a beat in a tone (or between tones) is definitely not a new tone and doesnt 'look' like a tone in a PCM record or sound like tone in RL. SebG put it like this:
Quote
you can also interpret your formula as a 31 kHz sinusoid with an amplitude modulation at a rate of 1 kHz

(the amplitude modulation can be seen in the pcm record as a 2kHz pulsing of the tone.)

Now sebG is one of those who doesnt like people talking about this stuff or attempting to enquire outside of contemporary academic language and references, hence this statement:
Quote
Fascinating? Hmm.... May seem so. But I think that some posts here are actually a bit misleading/misinformed.

Unfortunately hes not been inspired to actualy point out any particular misleads or misinforms -which are par for the course in open forum whatever the Tos. And I fear if him or his like do choose to elaborate it will be in a frustrated manner, so watch out for that

good luck'
no conscience > no custom

Sampling rates higher than 44.1Khz?

Reply #58
Here is a little Matlab code for anyone who likes to try the experiment of adding two ultra sonic tones. Make sure your hardware supports a sampling rate of 96 kHz.

I heard a tone, by the way, which is probably due to imperfections (non-linearities) in my hardware (the speakers for example).

Warning: be carefull with cranking up the volume, this is generally not good for hi-fi equipment.

Code: [Select]
% Ulta-sonic experiment

Fs = 96000;                 % Sampling frequency

f1 = 25000;                  % Frequency of 1st tone
f2 = 26000;                  % Frequency of 2nd tone

T = 5;                      % Length of signal
A = -6;                     % Amplitude (dB)

% Construct tones
N = round(T * Fs);          % # samples
t = (0:N-1)' / Fs;          % Time axis

B = 0.5 * 10^(A/20);        % Amplitude per tone
p1 = B * sin(2*pi*f1*t);
p2 = B * sin(2*pi*f2*t);

p = p1 + p2;                % Total tone

sound(p,Fs)

Sampling rates higher than 44.1Khz?

Reply #59
Quote
Here is a little Matlab code for anyone who likes to try the experiment of adding two ultra sonic tones. Make sure your hardware supports a sampling rate of 96 kHz.

I heard a tone, by the way, which is probably due to imperfections in my hardware (the speakers for example).

If its handy, could you try it at 24bits? If not ill try later.
no conscience > no custom

Sampling rates higher than 44.1Khz?

Reply #60
Quote
Quote
Here is a little Matlab code for anyone who likes to try the experiment of adding two ultra sonic tones. Make sure your hardware supports a sampling rate of 96 kHz.

I heard a tone, by the way, which is probably due to imperfections in my hardware (the speakers for example).

If its handy, could you try it at 24bits? If not ill try later.
[a href="index.php?act=findpost&pid=363028"][{POST_SNAPBACK}][/a]

My Matlab version (6.1) doesn't support 24 bits for the 'sound' command. I could try to use the DAQ toolbox, though, but I don't really feel like it because I know we cannot hear the beating as a "tone" anyway

Sampling rates higher than 44.1Khz?

Reply #61
Quote
Quote
Quote
Here is a little Matlab code for anyone who likes to try the experiment of adding two ultra sonic tones. Make sure your hardware supports a sampling rate of 96 kHz.

I heard a tone, by the way, which is probably due to imperfections in my hardware (the speakers for example).

If its handy, could you try it at 24bits? If not ill try later.
[a href="index.php?act=findpost&pid=363028"][{POST_SNAPBACK}][/a]

My Matlab version (6.1) doesn't support 24 bits for the 'sound' command. I could try to use the DAQ toolbox, though, but I don't really feel like it because I know we cannot hear the beating as a "tone" anyway
[a href="index.php?act=findpost&pid=363030"][{POST_SNAPBACK}][/a]

Ok, ill try with audacity. I think it might be coming from rounding error...
no conscience > no custom

Sampling rates higher than 44.1Khz?

Reply #62
Quote
Quote
Quote
Quote
Here is a little Matlab code for anyone who likes to try the experiment of adding two ultra sonic tones. Make sure your hardware supports a sampling rate of 96 kHz.

I heard a tone, by the way, which is probably due to imperfections in my hardware (the speakers for example).

If its handy, could you try it at 24bits? If not ill try later.
[a href="index.php?act=findpost&pid=363028"][{POST_SNAPBACK}][/a]

My Matlab version (6.1) doesn't support 24 bits for the 'sound' command. I could try to use the DAQ toolbox, though, but I don't really feel like it because I know we cannot hear the beating as a "tone" anyway
[a href="index.php?act=findpost&pid=363030"][{POST_SNAPBACK}][/a]

Ok, ill try with audacity. I think it might be coming from rounding error...
[a href="index.php?act=findpost&pid=363031"][{POST_SNAPBACK}][/a]

In that case I would expect a noise-like sound instead of something that sounds like a composition of several pure tones. But still you can try to do it in Audacity.

Sampling rates higher than 44.1Khz?

Reply #63
Quote
Unfortunately hes not been inspired to actualy point out any particular misleads or misinforms -which are par for the course in open forum whatever the Tos. And I fear if him or his like do choose to elaborate it will be in a frustrated manner, so watch out for that
[a href="index.php?act=findpost&pid=363025"][{POST_SNAPBACK}][/a]


I consider "if you play cos(30kHz*t)+cos(32kHz*t) you also may hear cos(1kHz) because cos(30kHz*t)+cos(32kHz*t) = 2*cos(31kHz)*cos(1kHz)" to be misinformation.

I consider "That's really interesting actually. I just created a 96khz wav file with a 30k and a 32k tone and could hear a beat frequency as you say. Though at 2khz not 1khz" to be misleading. Although that may be the case it may lead ppl to think that what hdante said is true whereas the reasons for mandel hearing something  is likely related to non-linear distortions or improper D/A conversion.

I might have exaggerated things though. 

Sebi

Sampling rates higher than 44.1Khz?

Reply #64
Quote
That is quite nonsense Im afraid hdante. The poster is roughly calculating beat frequencies between tones and confusing them with new tones that have the frequency of the beat. Mind a beat in


Ok, I think we reached the point. What the two links I posted here (about which I've realised my unfortunate belief that they were authoritative) are probably sugesting is that the beat is what is outside the hearing limits, while the tone is what is inside the hearing limits.

The beat, in the guitar tuning sense, is what is off the low hearing limit (eg 5Hz). The beat, in the ultra sonic sense is what is above the high hearing limit, (eg 31 KHz).

About the thing with Sebastian, I've just confirmed. At 440 Hz + 450 Hz I do listen both the 445 Hz tone and the beating.

Now you, ear engineers, say something about those.

Henrique Dante de Almeida

Sampling rates higher than 44.1Khz?

Reply #65
Points well made sebG - seems you are cool

-Tried 24 bits in audacity, the noise was even louder than with mandels 16bit file. Could be audacity, my laptop sound card or anything.

Seems the exact cause of this noise is intractable to me, but the well learned ones I think would agree that it is an artifact and shouldnt be heard in ideal circumstances.

many regards'
no conscience > no custom

Sampling rates higher than 44.1Khz?

Reply #66
Quote
I consider "if you play cos(30kHz*t)+cos(32kHz*t) you also may hear cos(1kHz) because cos(30kHz*t)+cos(32kHz*t) = 2*cos(31kHz)*cos(1kHz)" to be misinformation.

I consider "That's really interesting actually. I just created a 96khz wav file with a 30k and a 32k tone and could hear a beat frequency as you say. Though at 2khz not 1khz" to be misleading. Although that may be the case it may lead ppl to think that what hdante said is true whereas the reasons for mandel hearing something  is likely related to non-linear distortions or improper D/A conversion.

I might have exaggerated things though.  

Sebi
[a href="index.php?act=findpost&pid=363033"][{POST_SNAPBACK}][/a]


If you read more carefully, I have already stated that I don't believe that the 2 KHz is correct. I understand that you are able to realise that I think it's a bug in his headphones or something.

Sampling rates higher than 44.1Khz?

Reply #67
Quote
Ok, ill try with audacity. I think it might be coming from rounding error...
[a href="index.php?act=findpost&pid=363031"][{POST_SNAPBACK}][/a]


As long as anyone here doesn't own a 96 KHz ready studio, we'll have a hard time doing this.

Sampling rates higher than 44.1Khz?

Reply #68
Quote
Ok, I think we reached the point. What the two links I posted here (about which I've realised my unfortunate belief that they were authoritative) are probably sugesting is that the beat is what is outside the hearing limits, while the tone is what is inside the hearing limits.

Sorry, I do not think those articles are very authoritative.

Quote
About the thing with Sebastian, I've just confirmed. At 440 Hz + 450 Hz I do listen both the 445 Hz tone and the beating.

And how exactly did you do that? If you add two tones of 440 Hz and 450 Hz you should not end up with a 445 Hz tone, since addition is linear. You should hear a superposition of both tones (you should hear them both at once), plus a beating effect, which is again just a temporal change in amplitude, not in frequency.

Sampling rates higher than 44.1Khz?

Reply #69
Quote
Quote
Ok, ill try with audacity. I think it might be coming from rounding error...
[a href="index.php?act=findpost&pid=363031"][{POST_SNAPBACK}][/a]


As long as anyone here doesn't own a 96 KHz ready studio, we'll have a hard time doing this.
[a href="index.php?act=findpost&pid=363039"][{POST_SNAPBACK}][/a]

Not really, high quality equipment shouldnt theoreticaly make the noise.
Its made in by laptop and desktops sound chipset alright.
Seems a good advertisement for not using high samplerate on standard equipment.

Just reminded' maybe take the samples offline, could burn out a few tweeters with passing noobs playing them louder and louder to see if they have the noise ?
no conscience > no custom

Sampling rates higher than 44.1Khz?

Reply #70
Quote
And how exactly did you do that? If you add two tones of 440 Hz and 450 Hz you should not end up with a 445 Hz tone, since addition is linear. You should hear a superposition of both tones (you should hear them both at once), plus a beating effect, which is again just a temporal change in amplitude, not in frequency.
[a href="index.php?act=findpost&pid=363041"][{POST_SNAPBACK}][/a]


You may try it also.

Sampling rates higher than 44.1Khz?

Reply #71
Quote
Quote
And how exactly did you do that? If you add two tones of 440 Hz and 450 Hz you should not end up with a 445 Hz tone, since addition is linear. You should hear a superposition of both tones (you should hear them both at once), plus a beating effect, which is again just a temporal change in amplitude, not in frequency.
[a href="index.php?act=findpost&pid=363041"][{POST_SNAPBACK}][/a]


You may try it also.
[a href="index.php?act=findpost&pid=363043"][{POST_SNAPBACK}][/a]

I did and I absolutely don't have a clue what you're talking about. I can even give you the spectral results in a figure. If you add two tones with different frequencies, you end up with a superposition of those tones. That's all there is to it.

Sampling rates higher than 44.1Khz?

Reply #72
Quote
I did and I absolutely don't have a clue what you're talking about. I can even give you the spectral results in a figure. If you add two tones with different frequencies, you end up with a superposition of those tones. That's all there is to it.
[a href="index.php?act=findpost&pid=363045"][{POST_SNAPBACK}][/a]


I meant listen to it. Listen to a 440 Hz tone, listen to a 445 tone, listen to a 450 tone, an then listen to a 440+450 tone.

Sampling rates higher than 44.1Khz?

Reply #73
Quote
Quote
I did and I absolutely don't have a clue what you're talking about. I can even give you the spectral results in a figure. If you add two tones with different frequencies, you end up with a superposition of those tones. That's all there is to it.
[a href="index.php?act=findpost&pid=363045"][{POST_SNAPBACK}][/a]


I meant listen to it. Listen to a 440 Hz tone, listen to a 445 tone, listen to a 450 tone, an then listen to a 440+450 tone.
[a href="index.php?act=findpost&pid=363046"][{POST_SNAPBACK}][/a]

... yes? I still hear a 440 and a 450 tone together? It is hard to discriminate what the frequency of the highest note is, however, because of an effect called masking in the frequency domain which is a psychoacoustic effect, quite different from the "beating" effect what you were talking about earlier.

Sampling rates higher than 44.1Khz?

Reply #74
Quote
... yes? I still hear a 440 and a 450 tone together? It is hard to discriminate what the frequency of the highest note is, however, because of an effect called masking in the frequency domain which is a psychoacoustic effect, quite different from the "beating" effect what you were talking about earlier.
[a href="index.php?act=findpost&pid=363047"][{POST_SNAPBACK}][/a]


I'm sorry, I hear the base frequency above 440 Hz. I may take that back, however. I may keep with the beat, only.