[linux-audio-user] generate frequency sweep
Florian Schmidt
mista.tapas at gmx.net
Thu Oct 26 14:48:38 EDT 2006
On Thursday 26 October 2006 11:55, Gerda Strobl wrote:
> Dear all,
>
> I am looking for an easy tool, plugin or a script that can generate
> sine sweeps , where I can define either log. or linear, the time and
> the frequency range.
>
> Gerda
In Supercollider this is done with:
{SinOsc.ar (freq: XLine.kr (start: 20, end: 20000, dur: 1, doneAction:
2))}.play
which produces a log sweep from 20 to 20000hz in one sec.
{SinOsc.ar (freq: Line.kr (start: 20, end: 20000, dur: 1, doneAction:
2))}.play
produces a linear sweep.
If you wonder about the doneAction: it deallocates the synth when the (X)Line
is done..
Flo
--
Palimm Palimm!
http://tapas.affenbande.org
More information about the Linux-audio-user
mailing list