Re: generate frequency sweep

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

 



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

[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