Still not working, even with a smaller file unfortunately. > # Smaller file (<4GB) > ljkenny-l:~$ ls -l gqrx_20211006_081931_120250000.wav > -rw-r----- 1 ljkenny primarygroup 413M Oct 6 09:57 gqrx_20211006_081931_120250000.wav > > # File and data look valid now > ljkenny-l:~$ sox gqrx_20211006_081931_120250000.wav -n stat > Samples read: 216458854 > Length (seconds): 2254.779729 > Scaled by: 2147483647.0 > Maximum amplitude: 0.053558 > Minimum amplitude: -0.039337 > Midline amplitude: 0.007111 > Mean norm: 0.000112 > Mean amplitude: 0.000000 > RMS amplitude: 0.000811 > Maximum delta: 0.013397 > Minimum delta: 0.000000 > Mean delta: 0.000008 > RMS delta: 0.000076 > Rough frequency: 716 > Volume adjustment: 18.671 > > # Trim silences down to 2 seconds > ljkenny-l:~$ sox -V gqrx_20211006_081931_120250000.wav gqrx_20211006_081931_120250000-trim.wav silence -l 1 0.1 1% -1 2.0 1% > sox: SoX v14.4.2 > sox INFO formats: detected file format type `wav' > > Input File : 'gqrx_20211006_081931_120250000.wav' > Channels : 2 > Sample Rate : 48000 > Precision : 16-bit > Duration : 00:37:34.78 = 108229427 samples ~ 169108 CDDA sectors > File Size : 433M > Bit Rate : 1.54M > Sample Encoding: 16-bit Signed Integer PCM > Endian Type : little > Reverse Nibbles: no > Reverse Bits : no > > sox INFO sox: Overwriting `gqrx_20211006_081931_120250000-trim.wav' > > Output File : 'gqrx_20211006_081931_120250000-trim.wav' > Channels : 2 > Sample Rate : 48000 > Precision : 16-bit > Sample Encoding: 16-bit Signed Integer PCM > Endian Type : little > Reverse Nibbles: no > Reverse Bits : no > Comment : 'Processed by SoX' > > sox INFO sox: effects chain: input 48000Hz 2 channels > sox INFO sox: effects chain: silence 48000Hz 2 channels > sox INFO sox: effects chain: output 48000Hz 2 channels > > # Resultant file is 44 Bytes again and contains no audio samples > ljkenny-l:~$ sox gqrx_20211006_081931_120250000-trim.wav -n stat > Samples read: 0 > Length (seconds): 0.000000 > Scaled by: 2147483647.0 > Maximum amplitude: 0.000000 > Minimum amplitude: 0.000000 > Midline amplitude: 0.000000 > Mean norm: -nan > Mean amplitude: -nan > RMS amplitude: -nan > Maximum delta: 0.000000 > Minimum delta: 0.000000 > Mean delta: -0.000000 > RMS delta: -0.000000 > Rough frequency: -2147483648 > > Probably text, not sound _______________________________________________ Sox-users mailing list Sox-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/sox-users