Menu

#359 DAT text file format broken on large number channel data files.

open
nobody
None
5
2025-03-06
2022-05-15
Jesse Off
No

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.

Discussion

  • Jan Starý

    Jan Starý - 2023-02-09

    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?

     
  • Martin Guy

    Martin Guy - 2025-03-06

    Should be fixed in sox_ng, to be released end of May 2025

     

Log in to post a comment.

MongoDB Logo MongoDB