[linux-audio-user] 8 oscillator ecasynth

Eric Dantan Rzewnicki rzewnickie at rfa.org
Fri Sep 3 11:46:30 EDT 2004


On Fri, Sep 03, 2004 at 03:28:47PM +0100, Steve Harris wrote:
> On Thu, Sep 02, 2004 at 12:57:05 -0400, Eric Dantan Rzewnicki wrote:
> > > > 3) possibly related to 2) ... There are artifacts and glitches in the 
> > In the docs you mention that the Hz control is not interpolated. Any
> > chance that could be added? Is it something a novice programmer could
> > try to take a whack at with a little guidance? or is it fairly involved?
> Its pretty easy, at the top of the inner loop the frequency is set, but it
> should be changed so that its updated every 4 or 8 samples, linearly
> interpolating between the previous value and the new one.
> 
> It may needa bit of tweaking, eg. applying a lowpass filter to the
> linearly interpolated parameter, but I think just linear is fine.
> 
> Its about 4 or 5 lines of code and hot hard, but tricky to explain. I'l
> walk you through any problems, offlist if you want to try it.

That's encouraging. I'll see what I can do.

/var/tmp/swh-plugins-0.4.7$ grep -ri interp * | wc -l
    236

I suppose I can find a few examples in there somewhere. :)

> > Are the value ranges for the warmth and stability controls 0.0-1.0? 
> > I think I see in the code where warm is clamped:
> > osc->nyquist = fs * (0.47f - f_clamp(warm, 0.0f, 1.0f) * 0.41f);
> > but, can't make out just what happens with stability...
> Its a bit too icky to explain, yes thier both [0,1].

I'll take your word on that, then.

Thanks Steve,
Eric Rz.



More information about the Linux-audio-user mailing list