bits + sample rate = mb/s

  • Thread starter Thread starter foreverain4
  • Start date Start date
F

foreverain4

New member
anyone know of a good net source that would, purhaps, have a chart to calculate how much space that i would use at certain bit depths and sample rates?



lynn
www.therecordinghouse.com
 
You almost got it, just think it through.

There are 8 bits in a byte, so dividing the bit depth by 8 gives you the same depth in bytes. Then each sample is equal in size to the bit depth, and you have a fixed number of samples per second.

So

24/96:
3 * 96,000 = 288,000 bytes per second

24/48:
3 * 48,000 = 144,000 bytes per second

24/44.1:
3 * 44,100 = 132,300 bytes per second

16/48:
2 * 48,000 = 96,000 bytes per second

16/44.1:
2 * 44,100 = 88,200 bytes per second

So if you want to calculate the total number of bytes required by a track, you multiply the appropriate figure above by the number of channels in a track (1 or 2) and the length of the track in seconds.

A 90 second 24/44.1 stereo track thus takes:

90 * 2 * 132,300 = 23,760,000 bytes, or 23.76MB

(note that windows actually defines a megabyte as 1024KB, which is 1,048,576 bytes so the 23.76MB figure above may appear as 22.66MB in the windows file browser. this doesn't change the number of bytes contained in the file, just its representation)

Slackmaster 2000
 
hey slackmaster, check this out. i created an excel worsheet to auto calculate all this stuff for me. by the way, your calculation for 24 bit, 41/1 hz was not correct. you posted 132,300, it should be 123,300. haha it cause me an undue headache. thanks again for your help. if you dont mind testing this thing a bit, it would help me immensly!





lynn
www.therecordinghouse.com
 

Attachments

Your megabytes per second calculation is off. It should be:

(((A2/8)*(B2*1000))* F2) / 1000000

The total megabytes calculation looks good to me!

Slackmaster 2000
 
Yeah dude, but put in 1 minute and zero seconds! Megabytes per second does not change no matter how long your file is, it is a rate based soley on sample rate and bit depth!

Slackmaster 2000
 
Glad some of you guys aren't programming the PLCs at Nuclear Power Plants... :eek:
 
aight! think i got it this time, thanks fer yas help eh!!!
 
Back
Top