sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Albert Berger <nbdspcl@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Generating tones with alternating frequencies
Date: Mon, 4 May 2020 16:28:40 +0300	[thread overview]
Message-ID: <20200504132840.GA98674@kw.merryville> (raw)

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

                 reply	other threads:[~2020-05-04 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200504132840.GA98674@kw.merryville \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).