My apologies. I had an error in my command that got clobbered when I copied and pasted. With that (admittedly very silly) mistake corrected, I am now able to write the output directly to a file by simply appending a filename. Clearly I need more sleep. :) On Thu, Aug 4, 2016 at 7:57 PM, Pierow <pierow@xxxxxxxxxxx> wrote: > I am using -p to pipe a series of three SoX commands that generate three tones: > > play "|sox -n -p synth .276 sine 1200 gain -1" "|sox -n -p synth .276 > sine 900 gain -1" "|sox -n -p synth .380 sine 1200 gain -1" > > I would like to output the resulting three tones to a WAV file. I'm > sure that this is something that is easy to do but nothing that I have > tried seems to work. I have read the man page and searched through > the archives of the mailing list but I can't seem to find anything > that works with the piped commands. > > Is there a way to tell direct this output to a file instead of playing > to system audio? > > Thanks! ------------------------------------------------------------------------------ _______________________________________________ Sox-users mailing list Sox-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/sox-users