Calculates the raw size of audio date at set sample rate, bit depth and duration.
Arguments
- samp.rate
Sample rate
- bit.depth
Bit depth
- channels
The number of audio channels
- duration
Duration of recording
- duration.unit
One of seconds, minutes, hours, days
- output.unit
"bits" or "bytes"