Hi everyone! I'm a newbie in sound generating and currently I'm coding assembly for playing a .wav file. What I have learned by all my searching is that in the structure of a .wav file there is some number "sample rate". I wanted to know if my understanding of this sample rate is correct.

Let's assume that the sampling rate, noted in the subchunk of a .wav file is 8000hz. Does it mean that when playing the sound, 8000 of those samples per second should be played? so that this way I can calculate how much time a note (or a sample) shall hold on.

Is what I have assumed correct?

thanks in advance


1 Answer 1


Yes. .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.