tramp wrote: ↑Sun Feb 04, 2024 5:23 am
The good old Impulse Convolver from Steve Harris could do that.
https://github.com/swh/ladspa/tree/v0.4.17
You just need to convert your IR-Files to a header file which could be included. There are converter scripts in the Impulses folder to allow you to replace the current implemented files with your own ones.
I'll try that. Thanks for the heads up.
EDIT:
After a lot of muddling, I got close. And you were right Tramp. There's a script in the impulses folder that rebuilds the all.h file.
To convert from .wav to .h was a two stage process, but I don't know if it was successful, given the error below. (and because i'm an ordinary user)
$ sox greathall.wav greathall.dat
$ awk '{ print $2 "," }' greathall.dat > greathall.h
The failed compile error
In file included from impulses/all.h:5,
from imp_1199.xml:48:
./impulses/01-greathall.h:1:1: warning: data definition has no type or storage class
1 | Sample,
| ~~
./impulses/01-greathall.h:1:1: warning: type defaults to 'int' in declaration of 'Sample' [-Wimplicit-int]
./impulses/01-greathall.h:2:1: warning: type defaults to 'int' in declaration of 'Channels' [-Wimplicit-int]
2 | Channels,
| ~~~~
./impulses/01-greathall.h:3:1: error: expected identifier or '(' before numeric constant
3 | 0,
| ^
imp_1199.xml: In function 'instantiateImp':
imp_1199.xml:159:2: warning: implicit declaration of function 'mk_imps' [-Wimplicit-function-declaration]
159 | mk_imps(impulse_freq);
| ^ ~~
make[2]: *** [Makefile imp_1199_la-imp_1199.lo] Error 1
make[2]: Leaving directory '/home/alex/Downloads/git/ladspa'
make[1]: *** [Makefile all-recursive] Error 1
make[1]: Leaving directory '/home/alex/Downloads/git/ladspa'
make: *** [Makefile:937: all] Error 2
EDIT2: I fixed it. The greathall.h header file needed brackets { };
Compile is successful, installation to home directory/lib/ladspa is complete, and now for testing.
EDIT3:
Testing went badly. From one impulse to multiple impulses, the plugin immediately segfaulted (and pulled everything else down with it)
Worth a try, and I learned a lot.