From fc13be4d691e06185050d3c62674fc20761e9682 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 14 Apr 2024 18:40:49 +0200 Subject: [PATCH] samplesink/fileoutput/readme.md: use ASCII dashes in sox command line Otherwise sox fails with this non-helpful message: sox FAIL formats: bad input format for file `myfile.raw': sampling rate was not specified --- plugins/samplesink/fileoutput/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/samplesink/fileoutput/readme.md b/plugins/samplesink/fileoutput/readme.md index 6ba050a36..63007e351 100644 --- a/plugins/samplesink/fileoutput/readme.md +++ b/plugins/samplesink/fileoutput/readme.md @@ -8,7 +8,7 @@ The format is S16LE or S32LE I/Q samples. Thus there are 4 or 8 bytes per sample You can also zap the 32 bytes header with this Linux command: `tail -c +33 myfile.sdriq > myfile.raw` -To convert in another format you may use the sox utility. For example to convert to 32 bit (float) complex samples do: `sox -r 48k −b 16 −e signed-integer -c 2 myfile.raw -e float -c 2 myfilec.raw` +To convert in another format you may use the sox utility. For example to convert to 32 bit (float) complex samples do: `sox -r 48k -b 16 -e signed-integer -c 2 myfile.raw -e float -c 2 myfilec.raw` Note that you have to specify the sampling rate and use .raw for the file extensions.