Re: [LAD] Prototyping algorithms and ideas

From: Kjetil S. Matheussen <k.s.matheussen@email-addr-hidden>
Date: Fri Feb 01 2008 - 18:55:56 EET

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
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Feb 1 20:15:04 2008

This archive was generated by hypermail 2.1.8 : Fri Feb 01 2008 - 20:15:04 EET