Hi Alex, To use `fi.filterbank`, you'd specify the band splits so that your frequencies fall into the center of each band, then multiply the outputs by the desired gains and sum them together. However, you may find it preferable to work with peaking equalizers centered at those frequencies, which can be connected in series (see https://faust.grame.fr/doc/libraries/#fi.peak_eq). For example, the following will boost each of the frequencies by 6 dB with a Q factor of 20:
``` import("stdfaust.lib"); signal = os.sawtooth(100) * 0.25; emph(fx) = fi.peak_eq_cq(6.0, fx, 20); process = signal : emph(300) : emph(700) : emph(4000) <: _, _; ``` All best, Cora On Sat, Aug 15, 2020 at 8:12 PM Julius Smith <julius.sm...@gmail.com> wrote: > Hi Alex, > > What is confusing about > https://faust.grame.fr/doc/libraries/index.html#fi.filterbank > ? > > Thanks, > Julius > > On Sat, Aug 15, 2020 at 3:45 AM Alex Lucas <alexmluca...@gmail.com> wrote: > >> Hi all, >> >> I'm struggling to understand how to correctly use fi.filterbank. >> >> My signal is a sawtooth wave. I'd like to accentuate 3 frequencies, 300 >> Hz, 700 Hz and 4 kHz. How would I achieve this with fi.filterbank? >> >> I would really appreciate any suggestions or examples. >> >> Thanks in advance, >> Alex >> >> >> _______________________________________________ >> >> Faudiostream-users mailing list >> >> Faudiostream-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/faudiostream-users >> >> -- > "Anybody who knows all about nothing knows everything" -- Leonard Susskind > _______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users >
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users