Re: [LAU] Sine Wave Generator

From: Kjetil S. Matheussen <k.s.matheussen@email-addr-hidden>
Date: Wed Feb 02 2011 - 14:13:51 EET

Andrew Bryant:
>
> Hi all,
>
> I have been looking for a simple audio sine-wave generator that
> interfaces with Jack.
>
> Minimum requirement is that it generates 1KHz tone, with level
> predictably controlled from digital peak down to, say -60dB.
>
> The nearest I've come to it yet is ecasound -i tone, driving a mixer.
> This doesn't, however, give the confidence I need in the output level.
>
> Any suggestions?
>

Start the snd-ls sound editor[1] and paste the following code into the
terminal:

(<rt-out> (oscil :freq 1000))

   Set volume:

(<rt-out> (* 0.01 (oscil :freq 1000)))

[1] http://www.notam02.no/arkiv/src/snd/

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Feb 2 16:15:01 2011

This archive was generated by hypermail 2.1.8 : Wed Feb 02 2011 - 16:15:01 EET