elk-pi icon indicating copy to clipboard operation
elk-pi copied to clipboard

MDA JX10 output silences in VST 2 version

Open stez-mind opened this issue 5 years ago • 1 comments

Issue Description

When launching the included MDA Jx10 plugin in VST 2 version, voices go suddenly silent. Everything seems to be working fine with the VST 3 version.

Elk Audio OS version

0.6.0

Raspberry Pi Model

RPi3 B+

How to reproduce

Just launch any SUSHI configuration file that is using MDA JX10 in the distro, either with the internal arpeggiator/sequencer or connecting an external MIDI device.

stez-mind avatar Dec 16 '19 10:12 stez-mind

This happened suddenly when reverting back to a 32bit toolchain.

Investigating the problem with GDB + traps for floating-point exceptions, it seems that the State Variable Filter blows up. The filter model is known to be unstable under certain parameters & modulations conditions.

I had the same problem on my native X86-64 machine and it thus seems that the algorithm itself is very sensitive to small changes in toolchain setup.

We tried building without any optimization without any luck for the RPi3 32 bit. Interestingly enough, the VST3 version works which has basically the same code apart from an added pan parameter...

The workaround for the moment is using the VST 3 version.

stez-mind avatar Dec 16 '19 10:12 stez-mind