Re: [linux-audio-user] generate frequency sweep

From: Florian Schmidt <mista.tapas@email-addr-hidden>
Date: Thu Oct 26 2006 - 21:48:38 EEST

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
Received on Fri Oct 27 00:15:03 2006

This archive was generated by hypermail 2.1.8 : Fri Oct 27 2006 - 00:15:03 EEST