jpcima/ysfx

Hangs on autopeakfilter (FFT Peak-Following Filter)

AnClark opened this issue · 3 comments

Hi, Jean.

I'm testing ysfx in REAPER on Linux, however it may hang on several JSFX files. For example, FFT Peak-Following Filter (autopeakfilter) shipped with REAPER (~/.config/REAPER/effects/filters/autopeakfilter).

How to reproduce this issue:

  1. Add a track, load ysfx, then load "autopeakfilter"
  2. Bypass ysfx
  3. Load a media file into the track (WavPack, 44100Hz, 24bit integer)
  4. Play
  5. De-bypass ysfx, then REAPER will hang right now

My environment:

  • OS: Manjaro Linux
  • REAPER version: v6.66
  • REAPER sound config: PulseAudio 44100Hz

I think ysfx will hang/choke eventually on all JSFX which use FFT. Including my own FFT FX & included FFT FX like "schwa/fft_splitter" . MDCT doesn't hang, but it doesn't seem to effect the audio.

It would be nice to have FFT & MDCT working in YSFX as all the interesting FX are FFT/MDCT.

Tested on:

  • Windows
  • Host: REAPER 6 & Studio 1 6