Hi Oli,

Since fdelay1 is simple linear interpolation, I don't see how it could get into any trouble:

fdelay1(n,d,x) = delay(n,id,x)*(1 - fd) + delay(n,id+1,x)*fd
with {
  id = int(d);
  fd = frac(d);
};

As far as I can see, you will get linear interpolation of adjacent samples no matter where you land in the delay line. Maybe we need to learn what tapin~ and tapout~ really do? Could they have some built-in location-smoothing we don't know about?

- Julius

At 09:17 AM 4/21/2014, Oli Larkin wrote:
Is there a way to achieve smoothly modulated delays in faust when the modulation is causing indexing of non-consecutive samples?

with the following example, the same smoothed square wave modulation causes a clean doppler shift when used with the max msp tapin~ and tapout~ object, but has artifacts when used with fdelay

if i modulate a delay with sine, triangle etc in flangers and choruses i haven't noticed issues

import("oscillator.lib");
import("effect.lib");

dtmod = lf_squarewavepos(1.) : smooth(0.9999) * 1000.;

process(x) = fdelay1(SR, 100. + dtmod,x);

thanks

oli
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Julius O. Smith III <[email protected]>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/  
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to