On Fri, 1 Feb 2008, Darren Landrum wrote:

> Kjetil S. Matheussen wrote:
> > Thanks, that was simple. I'll try figuring out the rest myself.
> > But what about resampling? The main main signal usually needs to
> > be resampled up 5-10 times to get a decent sound. Can I do that
> > with faust? Something like:
> > 
> > process = resample(5,d)
> 
> I'm quite curious about this as well. How do tools like Faust and CLAM 
> handle up- and down-sampling?
> 

In snd, you do it like this:

(define resampler (make-src <various optional options>))
(src resampler rate (lambda (direction) <input-signal>))

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to