unofficial mirror
 help / color / mirror / code / Atom feed
* Generating tones with alternating frequencies
@ 2020-05-04 13:28 Albert Berger
  0 siblings, 0 replies; only message in thread
From: Albert Berger @ 2020-05-04 13:28 UTC (permalink / raw)
  To: sox-users


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-04 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 13:28 Generating tones with alternating frequencies Albert Berger unofficial mirror

This inbox may be cloned and mirrored by anyone:

	git clone --mirror

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 sox-users sox-users/ \
	public-inbox-index sox-users

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor:

code repositories for project(s) associated with this inbox:

AGPL code for this site: git clone