Hi all,

I'm new to Faust and have a fairly basic question.

I'm looking to create a simple sample and hold LFO. It seems like
no.lfnoise is what I need. From what I understand, it takes a 'rate'
parameter - i.e. an interval in samples at which a random value is
generated. My question is, how do I convert from frequency to a number of
samples?

Here's my attempt:

import("stdfaust.lib");

lfoRate = frequency * ma.SR
with {
frequency = hslider("frequency", 1, 1, 20, 0.1);
};

// new random value every X number of samples
process = no.lfnoise(lfoRate) <: _,_;

Thanks in advance.
Alex
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to