Article View: comp.multimedia
Article #575Re: SoundBlaster sampling frequency accuracy
From: Gilles Gravier
Date: Sat, 22 Aug 1992 20:47
Date: Sat, 22 Aug 1992 20:47
32 lines
1934 bytes
1934 bytes
In article <1992Aug21.113836.20589@email.tuwien.ac.at> martin@eichow.tuwien.ac.at writes:
>
>So the problem is not one of using 8 bits, as in your example, to represent
>the 440 Hz out of 22 kHz one might want to record, which would give a 86 Hz
>inaccuracy and render the sound card unusable. Rather, it is one of getting
>the input and output sampling frequencies to be the same.
I must have explained myself badly (sorry, I'm French... My English is
not as it could be). What I was saying is that in a .VOC file, the sampling
frequency is coded on one byte, at offset 4 in a Voice Data block. The
sampling rate is the determined by using the formula:
SR(1 byte)=256-1000000/SamplingRate
Which means exactly what I was saying... As the sampling rate is
defined on 1 byte, it's precision is of 1/256=0.4% which means that when
sampling ANYTHING at 11000Hz, you may actually be sampling at anything
between 10989 and 11111 Hz... and, when replaying, you have the same
possible variations... Dont be surprised if the sound you sample then play
again varies... You may have sampled at 10989 and played at 11111 Hz...
Or vice versa...
A Sound Blaster never was precise...
Gilles.
--
This message has been brought to you by Gilles GRAVIER - corwin@ensta.fr
***** Amber Forever! *****
I know you believe you understand what you think I said, but I am
sure, you realize, that what you heard is not what I meant.
Technical Details
Message-ID:
<176946INN2pv@ensta.ensta.fr>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!ensta!newsReferences:
<1992Aug20.084909.5385@kth.se> <172af8INNllp@ensta.ensta.fr> <1992Aug21.113836.20589@email.tuwien.ac.at>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!ensta!news From: corwin@ensta.ensta.fr (Gilles Gravier) Newsgroups: comp.multimedia Subject: Re: SoundBlaster sampling frequency accuracy Message-ID: <176946INN2pv@ensta.ensta.fr> Date: 22 Aug 92 20:47:02 GMT References: <1992Aug20.084909.5385@kth.se> <172af8INNllp@ensta.ensta.fr> <1992Aug21.113836.20589@email.tuwien.ac.at> Organization: Ensta, Paris, France Lines: 32 NNTP-Posting-Host: ensta.ensta.fr