Convert WAV-files to ZCM format
Posted: Sun Jul 21, 2024 7:24 pm
I've constructed a small python script to convert (any?) wav-file to a zcm file in which you can specify for the output file:
- mono/stereo
- bit depth: 8 or 16
- sample rate: 0 - 48828.125
You need to install two packages for this to work first:
Syntax:
python wav2zcm.py --channels {1,2} --bit_depth {8,16} --sample_rate SAMPLE_RATE input_file output_file
Download python script:
- mono/stereo
- bit depth: 8 or 16
- sample rate: 0 - 48828.125
You need to install two packages for this to work first:
pip install numpy pip install pydub
Syntax:
python wav2zcm.py --channels {1,2} --bit_depth {8,16} --sample_rate SAMPLE_RATE input_file output_file
Download python script: