Sox dat text file format line width is arbitrarily limited to 256 chars. This is too short for 32-channel audio files. Attempting to parsing gives unknown error -1.
Simply cranking up the LINEWIDTH in src/dat.c makes the following work:
sox -r 8000 -c 32 -n file.dat synth 1 sin sox file.dat file.wav play file.dat
Out of curiosity, where are you using 32 channel DAT files?
https://codeberg.org/sox_ng/sox_ng/issues/412
Should be fixed in sox_ng, to be released end of May 2025
Log in to post a comment.
Simply cranking up the LINEWIDTH in src/dat.c makes the following work:
Out of curiosity, where are you using 32 channel DAT files?
https://codeberg.org/sox_ng/sox_ng/issues/412
Should be fixed in sox_ng, to be released end of May 2025