unofficial mirror
 help / color / Atom feed
From: Albert Berger <>
Subject: Generating tones with alternating frequencies
Date: Mon, 4 May 2020 16:28:40 +0300
Message-ID: <20200504132840.GA98674@kw.merryville> (raw)


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

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


Sox-users mailing list

                 reply index

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:

  List information:

* 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 \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link unofficial mirror

Archives are clonable: git clone --mirror

Example config snippet for mirrors

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:

AGPL code for this site: git clone