Re: [LAD] Phase rotation

2021-09-07 Thread Fons Adriaensen
On Tue, Sep 07, 2021 at 04:02:19AM +0200, Robin Gareus wrote: > I did some listening tests, both on individual samples as well as using > the plugin on the master-bus with various performances. In many cases it > is audibly transparent. Then the next question is of course: in those cases where

Re: [LAD] Phase rotation

2021-09-06 Thread Robin Gareus
To follow up, there is https://github.com/x42/phaserotate.lv2#readme Binaries of the plugins are available from https://x42-plugins.com/x42/x42-phaserotate The commandline tool is currently only available when building from source. On 8/31/21 3:09 PM, Fons Adriaensen wrote: > On Tue, Aug 31,

Re: [LAD] Phase rotation

2021-08-31 Thread Fons Adriaensen
On Tue, Aug 31, 2021 at 04:24:43AM +0200, Robin Gareus wrote: > > Now don't believe that phase shifting a signal will always result > > in a waveform with a lower peak/RMS ratio. It could very well > > have the opposite effect. > > Well, there is a minimum. So far I just brute force detect it,

Re: [LAD] Phase rotation

2021-08-31 Thread Fons Adriaensen
On Tue, Aug 31, 2021 at 04:24:43AM +0200, Robin Gareus wrote: > I hoped to sidestep that because the phase-angle should be a sweepable > parameter. I can probably make this work by cross-fading the computed > FIR when the parameter changes. Provided that what you want is the same phase angle on

Re: [LAD] Phase rotation

2021-08-30 Thread Robin Gareus
Hi Fons, Thanks for the reply, and from vacation no less. On 8/30/21 7:06 PM, Fons Adriaensen wrote: > To implement this you need more than just FFT and IFFT. Using only > those on each block would amount to circular convolution, while > what you need is linear convolution. Changing only the

Re: [LAD] Phase rotation

2021-08-30 Thread Fons Adriaensen
On Sun, Aug 29, 2021 at 10:03:20PM +0200, Robin Gareus wrote: > This works well, except for the first FFT bin: 0 Hz, DC offset. If the > phase-shift changes the average DC level of the signal there is a > discontinuity. To understand why you can't chage the phase of DC at an even more

Re: [LAD] Phase rotation

2021-08-30 Thread Fons Adriaensen
On Sun, Aug 29, 2021 at 10:03:20PM +0200, Robin Gareus wrote: > During the last days, I looked into phase-ration: components of a signal > are delayed differently depending on their frequency. > This works well, except for the first FFT bin: 0 Hz, DC offset. If the > phase-shift changes the

[LAD] Phase rotation

2021-08-29 Thread Robin Gareus
Hi all, During the last days, I looked into phase-ration: components of a signal are delayed differently depending on their frequency. A good write up on the subject can be found at [1], and a commercial tool is available from [2]. The interesting aspect is that phase rotation does not alter