Re: Question about syntax for --sox−pipe with output to file

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

 



Thank you Eric.  I appreciate the follow-up.

On Fri, Aug 5, 2016 at 5:38 AM, Eric Wong <normalperson@xxxxxxxx> wrote:
>
> See the short SYNOPSIS at the top of the manpage,
> many people probably skip over it :)
>
>> Is there a way to tell direct this output to a file instead of playing
>> to system audio?
>
> Same as play, almost:
>
> sox "|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" \
>         output.wav
>
> Basically, "play $INPUTS" is the same as "sox $INPUTS -t $FORMAT"
>
> So if you use alsa, the following should behave just like play
> did for you:
>
> sox "|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" \
>         -t alsa

------------------------------------------------------------------------------
_______________________________________________
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