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.2 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, 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 1DE541F8C1 for ; Mon, 4 May 2020 14:35:10 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jVcBS-0003e2-Ds; Mon, 04 May 2020 14:35:02 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVcBR-0003dm-50 for sox-users@lists.sourceforge.net; Mon, 04 May 2020 14:35:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version: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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1B26F5V4mwP9FYdmURvZmki8e1/UmwIRCr6ZoxTXyvU=; b=K32kZKMj/aQvQBCI3OX6PCerNh 6cmvQJ236vyYxMJ0W2DGzMkgn9ONWh0cAWO5ip2ahf/cHtD1NF2TMreg4+cFieaQNMYU41DERncEQ zY1BM/WPn7snyqKZh2rgXUBamRkCAkF11DEZRIoG4jn4pR0182bCRhuiSrk/qPRyBAAA=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version: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:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=1B26F5V4mwP9FYdmURvZmki8e1/UmwIRCr6ZoxTXyvU=; b=i Qz0ncTkG6pBzehdSR/fJZuyWtp2xTCxgRH0KsTnAtFxOD7b2EWktdniVh2F8UIrfT+x5K9/YHKrk4 AWYPBTL535qQ1M6btsnx0CKDJ6eI56XnUNrZHciZMo7FjL3wdSo2ELVFo3pJm8ZPJwSh5OwunfKuB 2uXzXh2jcchXaGzg=; Received: from mail-ej1-f53.google.com ([209.85.218.53]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1jVcBP-006wFE-Bj for sox-users@lists.sourceforge.net; Mon, 04 May 2020 14:35:01 +0000 Received: by mail-ej1-f53.google.com with SMTP id re23so14080514ejb.4 for ; Mon, 04 May 2020 07:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=1B26F5V4mwP9FYdmURvZmki8e1/UmwIRCr6ZoxTXyvU=; b=kYGBzGxhR9tbgs2BGmCVAu/Hrmq452HFSFTCuMSNNHTr6WLWpfku+vFkzN7zjr0mQM 3JugojY3NPaux7Emyl8SiDC4mCBkgjLVd0N4hghWxairujXqs2qMWclOPQRIEE3qWXNA iayM5qwUk9eTzv+25sl9I/xIu1hJ4QCAVVpMGpNz/sBNSMSrqFB0eNSCG+EMW6LrPBZv yznlf5LWFUgMaqmIRy0jiK9Oeds2irOhH2DI8VV1epb2PkfW6Ob57B2pcXQeyKQDh/H4 XP5FhUkMJ7PyJMEvc1eH+ZFQeSbsgFkQI7Eu+RAm4gKyUD8/x9FEpDV6RefiwZ2ONO9f wQ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=1B26F5V4mwP9FYdmURvZmki8e1/UmwIRCr6ZoxTXyvU=; b=KVno+Qxp0qABh8v1W3WQiaFkQccnV+ffLG7rwUtwlc4/Y6yraMLbJkSwNjQQWj4+Wy AKv9a6Fzbd6CS+adBN5cRmbCJIeXKtGfNXXq5svvHgMko38S6mRmJGy2IZB0d8alNyP3 JIm2tLp1BGNfOi2GuVC4NY0yIo+fis6BXqzmGyO+vdY0QTJzRu9Ow2qTratR8V4X413a IuEpdzgez2MeggQn0QDxgiYxYth6ZQKHs4OMvwHqWbccUilCXp5VyFJDeMczM0/j4KtW qn9a6sL9tTSduPvigieBJlE3tiBkdQhzZWPVwf1oZvskq4uxzpWNzy0DM1Sxqrq0fq/M PBEQ== X-Gm-Message-State: AGi0Puam/FT6FM4my6w+DJLPiatmpwJ1k+k/qqpLdLgHW+hLtuJeZzDH fOpE0qogt6zij+s83IU45ja5ORCd X-Google-Smtp-Source: APiQypLHkRQZ/lZBAz1PuSqVUl9zmgI6eJDgYiNPTjLC1fWHqjgFveFiqmUx77wYsGwR9b8Nior4Nw== X-Received: by 2002:ac2:420c:: with SMTP id y12mr11538896lfh.26.1588598929813; Mon, 04 May 2020 06:28:49 -0700 (PDT) Received: from kw.merryville ([83.102.135.6]) by smtp.gmail.com with ESMTPSA id m6sm8289897ljp.32.2020.05.04.06.28.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 06:28:48 -0700 (PDT) Date: Mon, 4 May 2020 16:28:40 +0300 From: Albert Berger To: sox-users@lists.sourceforge.net Message-ID: <20200504132840.GA98674@kw.merryville> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Headers-End: 1jVcBP-006wFE-Bj Subject: Generating tones with alternating frequencies 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 Hello, first I'd like to use the occasion and thank the programmers, who is developing Sox, for their amazing work! And here is my question. Sox allows one to generate a tone whose frequency changes from freq1 to freq2: play -n synth 4 sine 200-400 If one needs the tone to oscillate between these frequencies, this can be achieved e.g. with the following: play -n synth 4 sine 200:400 sine 400:200 delay 0 4 remix 1,2 1,2 repeat 999 The tone will oscillate between 200 and 400 Hz with the 4 second period. With even more trickery one can achieve that several tones simultaneously oscillate between different frequencies with *different* periods. That is one tone alternates between frequencies more faster than another. What I cannot figure out how to achieve (and this is my question) is the following: is it possible with Sox to generate a stream where several tones oscillate between different frequencies with different periods **and** these periods are themselves oscillate (that is for each tone the speed of alternating between frequencies constantly changes back and forth between some given boundaries)? Albert. _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users