Audacity File Size

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
holmesha
 
Posts: 27
Joined: Thu Mar 24, 2022 7:13 pm

Audacity File Size

Post by holmesha »

Hello - I converted a 32-bit .wav file into a 16-bit .wav file and the size ballooned significantly. The file has to be tiny to be stored on a 2040 based board. Anyone have suggestions on how I can minimize the file size or why it gets so big ?

User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

Re: Audacity File Size

Post by blnkjns »

Can you play back mono or stereo?
If you use the DAC of a microcontroller, ususally 22kHz with 8-bit PCM is more than enough, for voice even 11KHz will do. Try some of the bitrate options on saving as WAV. You can expect about 0.6-1.3 MB/minute that way.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”