You have 30 seconds audio file sampled at a rate of 44.1 KHz and quantized using 8 bits ; calculate the bit rate and the size of mono and stereo versions of this file ؟؟
Megabyte or MB The rule of thumb for MP3 audio is that 1 minute of audio takes up about 1 megabyte. Audio and image and video data typically stored in "compressed" form, MP3 being an example. We'll talk about how compression works later.
So for stereo, about 1.3 GB per hour, or 0.65 GB (635 MB) for 1 hour mono. You would normally export (to create a normal audio file) in a less extreme format. For lossy (inexact) compressed formats such as MP3, OGG, AAC, WMA and the rest, the file size depends on the quality settings.
MP3, 2 tracks, 192 kb/s A good rule of thumb to remember is that 60 minutes of 2 track 24-bit 48 kHz BWAV audio requires about 1 GB of storage.
The bitrate is the number of bits per second.
bitrate = bitsPerSample * samplesPerSecond * channels
So in this case for stereo the bitrate is 8 * 44100 * 2 = 705,600kbps
To get the file size, multiply the bitrate by the duration (in seconds), and divide by 8 (to get from bits to bytes):
fileSize = (bitsPerSample * samplesPerSecond * channels * duration) / 8;
So in this case 30 seconds of stereo will take up (8 * 44100 * 2 * 30) / 8 = 2,646,000 bytes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With