Need Convolver.sf.net DSP basic help
Reply #2 – 2006-02-28 19:14:50
Rasqaul, Thanks for your feedback. Thanks for your assistance and quick reply.1. What you need is a Dirac Delta Function filter (ie, a 1 followed by one or more 0s), not just all zeros, which will produce silence, as you have observed. Think of convolution as a form of multiplication. The makeIR utility that comes with Convolver should help you. Thanks. I had trouble figuring out the format for makeIR to produce the Dirac but now it's fine. For the record, here's my input.txt:PCM 32 1 44100 1 0 undocumented generate_dirac_delta.exe was also helpful to generate this before I groked the makeIR man.Are you saying that you get a div-by-zero exception if the filter file is completely empty, or something else? Actually I got a generic wrapped exception with a diagnosis message of unknown error (or something similar) in a catch(...) block of channelpaths.cpp. To answer your question, it happens when the wav file has 0 sample . My point is, the debug message is kinda lacking, maybe handling the empty case and bailing out would have been better (and fool-proof).2. You should be able to insert convolverFilter or Wrapper between the something that produces PCM and something that requires it. So try File|rendering a sound file, break the final link before your output device, and insert C'Filter or C'Wrapper. Providing a correct IR file fixed this.4. You should be able to play with the ZP Pro trial for 30 days. Actually, ZP Standard is sufficient. In Options>Filter Control>Management , specify 'Using Filter File ' and close the player. Then, edit "zplayer.filters" is ZP's install dir and append the following directive:LoadFilter({6105E395-1C5A-4b3e-9701-FB71C2523AB6},Convolver Wrapper) However, if the IR file is not specified in the property page, I'm not sure the filter would connect to the graph. Maybe one has to use GraphEdit first. I suggest a "do-nothing" setup be provided when installing. In any case, setting (with hex-edition) the wrapper's merit to 00800000 (MERIT_PREFERRED) and performing registration again did not help in auto--inserting the filter in other directshow apps. [a href="index.php?act=findpost&pid=368035"][{POST_SNAPBACK}][/a]