[svlug] Sine wave RAW format

Rick Schultz bloodyvikings at sbcglobal.net
Tue Aug 17 11:28:18 PDT 2004


On Tue, Aug 17, 2004 at 10:15:52AM -0000, John Conover wrote:
> I need to generate a variable frequency sine wave for testing some
> audio stuff, and make a RAW format file out of it.

Tried sox?  There's a "synth" option to generate waveforms, and it will
output in whatever format you want.

$ sox -t .nul /dev/zero output.wav synth 2 sine create 440

-rick




More information about the svlug mailing list