Re: Sine Wave Generator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrew,

Andrew Bryant wrote:
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?
Pure Data [1]
Attached is a simple patch which should do what you're asking for (to have jack output ensure to select 'jack' in the media menu).

Lorenzo

[1] http://puredata.info/

Andrew.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

#N canvas 323 406 592 331 10;
#X obj 19 15 osc~ 1000;
#X msg 275 57 \; pd dsp \$1;
#X obj 275 4 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X obj 36 93 dbtorms;
#X floatatom 36 69 5 0 0 0 - - -;
#X obj 20 162 *~;
#X obj 21 197 dac~;
#X obj 36 118 lop~ 10;
#X obj 39 43 hsl 100 20 0 100 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X text 150 48 dB (0 - 100);
#X floatatom 128 117 10 0 0 0 - - -;
#X text 298 4 Turn DSP on/off (remember to turn on DSP);
#X text 407 22 and that jack is selected;
#X text 407 37 in the media menu;
#X text 149 33 level;
#X text 86 15 frequency set to 1000 Hz;
#X connect 0 0 5 0;
#X connect 2 0 1 0;
#X connect 3 0 7 0;
#X connect 3 0 10 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 5 0 6 1;
#X connect 7 0 5 1;
#X connect 8 0 4 0;
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux