Audio Compression in real time sending 4 seconds at a time or streaming

Found no previous topics on Audio Compression:
We need to compress audio - just by 50 to 75 percent - (.mp3 is up to 13x as a reference)

Audio Compression in real time sending 4 seconds at a time or streaming

What is the easiest or/and most energy ie heat saving way to compress Audio?

Would be IMMENSLY thankful for any help as this would be a huge cost saver for me!

Thanks!

Hello!

What sampling rates, sample-sizes and number of channels are you capturing audio with? I assume that you are capturing audio and wish to compress for storing?

Regards
Jon

12Khz stereo that we only use one track mono from.
We record in stereo to get rid of the noise on one stereo channel.

Best
David

Hi David,

Thanks. Do you want to compress the 12kHz mono by another 50% after removing the noise? And is this 8-bit 16-bit audio, etc?

Regards,
Jon

|File size|0,19 MB (188 460 bytes)|
|File attributes|- --a- ----|
|Last saved|2020-08-06 13:21:02|
|File type|Wave (Microsoft)|
|Audio format|Uncompressed|
|Audio sample rate|12 000|
|Audio bit rate|384 Kbps|
|Audio bit depth|16 bit|
|Audio channels|2 (Stereo)|
|Audio length|00:00:03,925 (47 104 samples)|

Hi David,

You could use SoX to convert to u/a-law formats …

http://www.sandymilne.com/using-sox-to-convert-wav-files-to-a-law-or-u-law-for-ivr/

Note that you should be able to install Sox by simply …

$ sudo apt update
$ sudo apt install sox

Regards,
Jon