Is there a way using sox to generate and modulate a sine wave with another sine wave.

 

So that the first sine wave plays in the envelope of the second,   similar to this image

https://d2mvzyuse3lwjc.cloudfront.net/doc/en/UserGuide/images/Envelope/400px-PID1643_envelope.png?v=0

 

Thanks in advance.

--

 

Darryl Lewis