@katjav said:
So you can now go on stage with your piezo-amplified violin and play like it were captured by an expensive condenser mic? And all done in Pd. This is terrific, congratulations!
Thank YOU, Katjav. Indeed, even crossmixing the direct and the simulated audio becomes possible, if wanted.
@katjav said:
I wonder how long your inverse filter kernel is, and if the energy is really concentrated near index zero. If all went right and you did not try to overcompensate, it should be possible to cut down the filter length to some 2048 points (with smooth fade out), thus making the inverse filtering a reasonably efficient procedure. If you set [bsaylor/partconv~] partition size to Pd's default block size, you'll add no latency at all with your inverse filter.
Katja
Everything is fine, I do confirm! (but I let you check by yourself ) Of course I could have made a programmatic error somewhere, but I checked it carefully and...it sounds good.
Procedure :
**(you can skip this if you only want to hear how it sounds)
first run "ir_construction" patch. Select an input (measurement, "custom stereo" wav file), retrieve minphase kernel and save it into a file (I already made it for you).**
Then run "convolviolin" patch, select a demo tune and an IR, play and switch between channels to hear the differences between piezo pickup, condenser simulation, and actual condenser microphone audio.
link : http://bitshare.com/?f=piu22sll
Next tests : improving mic placement, concatenate the G string glissando with an A string glissando to see how response changes (and maybe a glissando on a C string in place of the G string), kinda cookbook approach of the filter (it's still a bit "boxy" isn'it ?.
Of course this procedure seems compatible with many instruments or devices, but we'll have to find an efficient excitation scheme for the measurements. Anyway with these patches it's just a matter of trying it...
Thank you again,
Nau