sox won't write output file when run in spawned shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to us sox as part of an RF signal processing daemon on a Raspberry Pi 3B Stretch.  When I execute sox from a terminal command line the output file is created, but when I spawn the command it runs but doesn't create the output file:

runs and creates '0.wav':              sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav 
runs but doesn't create '0.wav':    sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav
redirecting stdin/out/err and it still doesn't create '0.wav':      sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav &> out.log < /dev/null &

the sox output seems the same in all cases and echo $? print 0 == success.  What am I missing?

thanks

Rob

--
Rob Robinett
AI6VN
mobile: +1 650 218 8896
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users

[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux