PreenFM > preenfm2 and preenfm3

Formant Filter

(1/3) > >>

matrix12x:

I was wondering if anyone has tried implementing a formant filter yet, something akin to the one on musicdsp.org
http://www.musicdsp.org/showArchiveComment.php?ArchiveID=110


I was going to hack my way through this later this month and was wondering if there is anything I should keep an eye out for?

Xavier:

Yes i saw this one.
It was much too CPU intensive to integrate the official engine.

But i would love to hear how it sounds.
Let us know if you have it working...

matrix12x:
So I tried it and......
The coefficient for the A vowel is kind of harsh. Which can be cool.

It is ridiculously CPU intensive. When the Formant filter is selected, the encoders don't scan quite right, completely missing steps, for example the third parameter to control gain.

And if I implement one of the encoders to change the formant it crashes.

I am going to look for a less CPU intensive approach. I wonder how one would optimize the music dap version?

Xavier:

--- Quote from: matrix12x on October 27, 2014, 04:05:14 AM ---I am going to look for a less CPU intensive approach. I wonder how one would optimize the music dap version?

--- End quote ---

In the loop don't use any member variable.
Create local variables for anything you update in the loop.
And Copy them i the member variables after the loop.

The goal is to have all writable variable in CPU registers.

pld:
Are 'double' calculations emulated in software, instead of using the hardware FPU? That would certainly kill performance...
However the comments seem to indicate that using float makes the filter unstable :-\


Navigation

[0] Message Index

[#] Next page

Go to full version