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-Status: No, score=-2.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_H2,SPF_HELO_PASS,SPF_PASS 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 1EC931F53D for ; Mon, 10 Aug 2020 17:36:58 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1k5Bj9-0007m6-IO; Mon, 10 Aug 2020 17:36:51 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5Bj8-0007ls-RZ for sox-users@lists.sourceforge.net; Mon, 10 Aug 2020 17:36:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: 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=gWvoQo8vzkOeZieKXRdRBFGBLqpbZOu3z8AbB0y5HhI=; b=Nx6Q5H2lLiDO4WryPEsZiCcLnr XjxRtWFgsOp7ZwfefsagMxFNpmOTF88tEBep3ysb5ZiqtrsXwA8m6l6KJL30O0e5gcockuQ4yA3NE B+YgcW0lL/rp6WaWGllK7lCBwsSY5L0yCvigyGoDkzgGsPotZGuXd6hU8ORAz6TqWQ/M=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=gWvoQo8vzkOeZieKXRdRBFGBLqpbZOu3z8AbB0y5HhI=; b=Ivur5gk3FV4zg4I3mDcE119i6N YqcOFrdLEosSNL0QpVxPC4SBQRkd3xOajieCC/1SgNwW0eesUAlfeOYh0ldUqzrYiUbNmbMSIIz/9 Wk7Nos6jTJrCroaCC5R03lYp31UMV58/zWyrjY2HzQe3zg48DyW/VYPMHiZ3/ffMLXEQ=; Received: from unicorn.mansr.com ([81.2.72.234]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1k5Bj4-005sBP-QC for sox-users@lists.sourceforge.net; Mon, 10 Aug 2020 17:36:50 +0000 Received: from raven.mansr.com (raven.mansr.com [IPv6:2001:8b0:ca0d:8d8e::3]) by unicorn.mansr.com (Postfix) with ESMTPS id 81CB315360; Mon, 10 Aug 2020 18:36:32 +0100 (BST) Received: by raven.mansr.com (Postfix, from userid 51770) id 736A521A6F2; Mon, 10 Aug 2020 18:36:32 +0100 (BST) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Noah Essl References: <301f169b-bcd4-0c13-fcf9-9780bd30d8b7@gmx.at> Date: Mon, 10 Aug 2020 18:36:32 +0100 In-Reply-To: <301f169b-bcd4-0c13-fcf9-9780bd30d8b7@gmx.at> (Noah Essl's message of "Mon, 10 Aug 2020 17:57:17 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Headers-End: 1k5Bj4-005sBP-QC Subject: Re: playing more than 2 sounds with synth option 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 Cc: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: sox-users-bounces@lists.sourceforge.net Noah Essl writes: > Hi! > > I am playing 2 frequencies like this: >> play -qn synth $a_number_variable sine $sound_1 sine $sound_2 fade h > $some $random $numbers > > and I am trying to play even more sounds like: >> play -qn synth $a_number_variable sine $sound_1 sine $sound_2 sine > $sound_3 sine $sound_4 > or like: >> play -qn synth $a_number_variable sine $sound_1 sine $sound_2 synth > sine $sound_3 sine $sound_4 > > but that doesn't work. How would I do it to play 4 frequencies parallel > with the same command? Is there no support for that and if so, why limit > it to 2? > > Thanks in advance for any help! Your commands create a new channel for each tone. If you want to mix them you can do that in a few ways. One is like this: $ play -n synth 10 sine 1k synth sine mix 2k synth sine mix 3k Another way: $ play -n synth 10 sine 1k sine 2k sine 3k remix - If that's not what you're looking for, you'll have to describe in more detail what you're trying to achieve. -- = M=E5ns Rullg=E5rd _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users