Vary the volume and duty cycle over time

Darryl Lewis <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
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

_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.