From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5DF361F8C6 for ; Tue, 29 Jun 2021 14:40:27 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1lyEuN-00032S-QB; Tue, 29 Jun 2021 14:40:15 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyEuM-000326-CG for sox-users@lists.sourceforge.net; Tue, 29 Jun 2021 14:40:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B+NdQAl8mw/N6LQTOvRng5/Xp8V2kAt1ej7QtWZsuGM=; b=i2nwU9Grv/D1q+5MYciWiOe9ex dIhVTN5ZpRft/FYLJcIojUMnH0e5Hku4l3Dg4AeSCVBtL/BwOQVoyREHHQZ2+0Q3bXSXtvTXoe6JG cdJG4m8L8oOZNQsG6YiW9rzx+aVyS4Rr7JSXgx6GE47hslhMtzbErVN89JuXL56E382Y=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To: From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=B+NdQAl8mw/N6LQTOvRng5/Xp8V2kAt1ej7QtWZsuGM=; b=g0SZ0BiufMaXRcwewsbRRRAC9M yWv0xOb9FItlootcYEBTx4P5GWrEd43jovAFmXqfiqE4wOCPi36P51zdJgAIvXhl52ZtOT00Dq7Op YjtboO60ZlFsDj8ORmlEZRzZQWpNcNQ+KvCPpF79HsBpF+OZUU91LtWNNp6Epa3kHMQA=; Received: from uvt.stare.cz ([185.63.96.79] helo=mx.stare.cz) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1lyEuC-0002GK-N6 for sox-users@lists.sourceforge.net; Tue, 29 Jun 2021 14:40:14 +0000 Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id 849417d9 for ; Tue, 29 Jun 2021 16:39:50 +0200 (CEST) Date: Tue, 29 Jun 2021 16:39:50 +0200 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1lyEuC-0002GK-N6 Subject: Re: Multiple Pipes in series - possible? X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net On Jun 29 13:46:30, branlsnyder@gmail.com wrote: > Is it possible to run multiple pipe operations in series? Yes. That's what a pipe is. SoX will read from stdin and write to stdout if the filename given is '-', so you can pipe anything you want to and from sox. > For example, instead of: > "sox" "|'sox' 'input-audio.wav' -p gain 0.0" "output-audio.wav" > and then > "sox" "|'sox' 'output-audio.wav' -p gain 0.0" "output-audio-2.wav" > is it possible to have the pipe in the first command to be in the input for > the pipe in the second command? Something like: > "sox" "|'sox' '"|'sox' 'input-audio.wav' -p gain 0.0"' -p gain 0.0" > "output-audio2.wav" This is not a very good example, as this pipeline does nothing. Tell us what you actually want to do. Jan _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users