Hi everyone!
I’m trying to create a sort of 3d audio reproduction system by convolving the dry sound with the BRIRs of a room.
The patch I’m working on will be connected to a head-tracker so that I can change BRIR depending on the position of the listener.
To achieve this I tried to use bsaylor’s [partconv~] but unfortunately, when I set a new impulse response, I have a short dead time. To fix this I tried to cross fade the output of two [partconv~] but this messes up the binaural cues, it is not the right approach.
My idea is that of modifying the .c code of the external to get what I need. Usually, I work on Code::Blocks, MinGW compiler, Win10. I’ve already built some super simple externals, but this time I’m facing a problem that I’ve never encountered before: to perform the Fourier transform, partconv~.c uses the fftw3 library, and I couldn’t find a way to add it to the Linker Options.
>From what I’ve understood online, fftw3 is a dynamic library, therefore there’s no .lib file. On Code::Blocks Settings -> Compiler -> Linker Settings -> Link libraries I cannot load a .dll dynamic library. I tried different solutions that I found online but none of those worked. I get “undefined reference to” errors when calling all the fftw3 functions.
Can any of you help me somehow? If you were able to write an external that referred to the fftw3 library, how was your setup?
Moreover, I saw that in the bsaylor’s library folder there are also files of the type .dsp, .dsw, .o. Once I modify the .c code, should I update those as well?
I hope that I stated my issue clearly, if now please ask me for further details.
Thank you in advance for your time.
Gloria