I find Faust to be very good for short FIR filters. However, for FIR filters more than ~100 coefficients or so on CPUs, FFT processing is normally faster, and "low-latency FFT" methods are needed for real-time usage (I like the paper by Garcia on this). At present, this must be done in a foreign function that streams its input/output on the sample level, buffering up for FFTs internally.
Faust's nice handling of short FIR filters can be seen in the following example: import("stdfaust.lib"); N = 128; coeffs = par(i,N,i); process = fi.fir(coeffs); Notice how for small N state variables are copied, while for large N (>16?), you get a circular buffer. Nice! - Julius On Wed, Jun 5, 2019 at 9:59 AM Gary Worsham <gary.wors...@gmail.com> wrote: > All the latest generation guitar processors and plugins include some > concept of "speaker modeling" and their attendant "impulse responses". > Which is funny in and of itself because having studied engineering, I > learned all about impulse responses 35 years ago and only NOW does everyone > (by which I mean guitar gear nerds) think they are interesting. > > A typical speaker IR that people use seem to be in to 50 msec range, so > already that is thousands of samples. > > Couple specific questions: > a) is there a way to load FIR coefficients from a file? > b) is Faust good/bad/otherwise in terms of computational efficiency on FIR > filters? > > Thanks, > > GW > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> > <#m_-794482089977061833_m_5722352852029331755_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users > -- Julius O. Smith III <j...@ccrma.stanford.edu> Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ <http://ccrma.stanford.edu/>
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users