[fdn~] object update

FP's icon

Hi,

is there an update for Apple ARM for this object?

Or replacement with Gen?

Thx.

F./

Graham Wakefield's icon

I don't know what the fdn~ object is (google wasn't very helpful).

I guess it depends what fdn~ does as to how hard/easy it would be to replace with gen~; but the basics of an FDN (assuming this means feedback delay network) isn't too hard to write in gen~. The gigaverb example in the Max examples / gen is based on a FDN core, for example. I see there's been quite a few tutorials on youtube etc. about writing FDNs, some using gen~.

FP's icon

This object is related to this thread :

Here are the files I still have about this object I used in my M4L Feedback plugin:

fdn~-larsenversion.zip
zip

Any help is welcome to port it to Gen~. I am giving a try but no success for now...

Graham Wakefield's icon

OK so following that thread, fdn~ was an object written for PD. The source is at https://zwizwa.be/darcs/creb/modules/fdn~.c

It certainly looks doable in gen~; the core perform() method is looping over some delay lines. The delay lines have feedback gains and simple onepole filters that are set up by the other methods. The specifics of the matrix of gains and filter coefficients is a bit obscure in the code though.

Honestly I'd probably follow one of the FDN tutorials rather than trying to port this specific code, because at least you'd know what you are aiming for in that case.

FP's icon

On my side I thought it will be longer redoing it and making it sounding exactly the same than just porting the code to Gen. Anyway I will ask Raja if he compiled it to Apple Silicon. Thx.

👽'tW∆s ∆lienz👽's icon

Hi FP, my father passed away last month, so i've been out of touch here... no promises, but will try to take a look and see if i can hook this object up for you soon(i doubt i will figure it out in gen~: it was always a bit too complicated for me to look through, but will attempt to compile for ARM at least).

FP's icon

Hi Raja, my condolences for your loss.

And thank you very much for your feedback.

Yeah I though it could be straight forward to port it to Gen~ but not at all... And compiling it for ARM was a total defeat...

volker böhm's icon

And compiling it for ARM was a total defeat...

hm, just want to mention that it's actually super simple, nothing needs to be changed. Start from a working template, add the code to source, (re)run cmake and recompile. That's it.

Anyway, here it is..

fdn~.zip
zip


FP's icon

Oh yeah, thx a lot.

Yep I'll give it a try one more time. I could get it on my older mac config but not with this one.