If the highest frequency a song is 10 kHz and it is encoded at 16 bits per sample what is the minimum number of bytes needed to encode the 3 minute song?

The key to this question is to remember the Nyquist rate of a signal. This is the lowest sample rate which can be used for a signal without losing valid frequencies or gaining incorrect frequencies. This is equal to twice the highest frequency.

Therefore the sample rate needs to be 20 kHz. Since there are 16 bits per sample the number of bits per second is 16 multiplied by 20 000 which is 320 000 bits per second.

To calculate the number of bits in 3 minutes we need to multiply 320 000 by the number of seconds in 3 minutes. Which gives:
320 000 x 3 x 60 = 57 600 000 bits 

Remember to divide by 8 to get it in bytes, since there are 8 bits in a byte. This finally gives:
57 600 000/8 = 7 200 000 bytes = 7.2 Megabytes

DM

Related Physics A Level answers

All answers ▸

How does conservation of momentum work when at least one of the bodies in the problem changes mass?


How do you work out the work out the current through resistors in parallel?


A ball is hit horizontally at a height of 1.2 m and travels a horizontal distance of 5.0 m before reaching the ground. The ball is at rest when hit. Calculate the initial horizontal velocity given to the ball when it was hit.


Electrons moving in a beam have the same de Broglie wavelength as protons moving in a separate beam. The proton beam moves at a speed of 3.1 x 10^4 m/s. What is the speed of the electrons?