sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Darryl Lewis <darryl.lewis@unsw.edu.au>
To: "sox-users@lists.sourceforge.net" <sox-users@lists.sourceforge.net>
Subject: Vary the volume and duty cycle over time
Date: Wed, 24 Feb 2021 09:01:04 +0000	[thread overview]
Message-ID: <0B45FF1D-0FB9-4292-AEC9-A43C34B5CEAE@contoso.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 386 bytes --]

I’m trying to simulate a square wave signal. So far I have this, which should be a 400Hz square wave.

play -V -r48000 -n synth square 400 0 0



Is there

  1.  A way to make the amplitude rise and fall over time?
  2.  Vary the duty cycle over time, from say 300Hz to 600Hz and back down to 300Hz then repeat?



Any advice welcomed.

Thanks in advance.

Darryl


[-- Attachment #1.2: Type: text/html, Size: 4061 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

             reply	other threads:[~2021-02-24  9:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24  9:01 Darryl Lewis [this message]
2021-02-24 21:02 ` Vary the volume and duty cycle over time Dr. Thomas Tensi
2021-02-24 21:26   ` Darryl Lewis

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=0B45FF1D-0FB9-4292-AEC9-A43C34B5CEAE@contoso.com \
    --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).