Hi,
I wrote a small plugin for spreading mono content to stereo and I would
like to receive some feedback on it from people more knowledgable in DSP
matters than me.
It has one nice property: It spreads the signal over the spectrum by way
of a conjugate pair of random phase all-pass filters, and since it's a
conjugate pair it sums back to unity when down-mixing to mono. So, no
ugly comb filter effects like when downmixing a Haas-expanded signal.
https://github.com/fps/stereospread.lv2
The page has an example sound..
How it works:
It's actually rather simple:
1. create a vector of random phases (matlab notation):
filter_length = 1000;
spread = pi;
hfft1 = exp(-1i*(spread*rand(filter_length,1) - spread/2));
And for the second filter just take the complex conjugate:
hfft2 = conj(hfft1);
This ensures that what is a phase theta in the first filter becomes a
phase of -theta in the second filter, and summed that just gives a phase
of 0.
2. Then assemble the coefficients such that it corresponds to a fft of a
real signal and do the inverse fft (possibly I have a small error here
which i needed to fix with the 'symmetric' flag in matlab):
f1 = ifft([1; hfft1; conj(hfft1((end-1):-1:1))], 'symmetric');
f2 = ifft([1; hfft2; conj(hfft2((end-1):-1:1))], 'symmetric');
3. The two IRs f1 and f2 implement the pair of filters and can be
applied via convolution (which the above plugin does).
It seems to be possible with little ill effect to reduce the length of
the filter down to a size of 50 samples or so by just cutting it off
before the convolution.
What do you think?
Kind regards,
FPS
--
https://dfdx.eu
Up till now I used Kwrite, but in recent versions this now only supports split
views and tabs, and no longer new views in a new window.
Separate windows in my preferred style, and I find I can work much faster and
more accurately that way.
Does anyone know of a text editor that still does this?
I've not been able to identify anything on the usual search engines, nor with
Wikipedia :(
--
Will J Godfrey {apparently now an 'elderly'}
https://willgodfrey.bandcamp.com/http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
I'm proud to announce the release of GxPlugins.lv2 v1.0
GxPlugins is a extra set of effect processing LV2 plugins from the
Guitarix project.
Project page with more information is here:
https://github.com/brummer10/GxPlugins.lv2
New in this release:
Support for Windows (64bit). Implemented by Thorsten Maerz.
Release page is here:
https://github.com/brummer10/GxPlugins.lv2/releases/tag/v1.0
we provide the source tar ball, a debian/ubuntu package and a win64
binary package.
We hope the plugs will be useful,
hermann