Skip to content

faust2juce -double creates buggy VST #1237

@adrienbourgeois

Description

@adrienbourgeois

How to reproduce:

  1. Create dummy plugin simple_gain.dsp:
declare name "simple_gain";
import("stdfaust.lib");

process = *(ba.db2linear(-1));
  1. Convert to juce project running:
faust2juce -double simple_gain.dsp
  1. Open projuce, go to settings and select "VST3" as plugin formats
  2. Open Xcode (macOS)
  3. Compile (compilation succeeds)
  4. Load the VST into any DAW (I'm using Ableton Live)
  5. Load the plugin on a track playing some sound
  6. In real time, things are working fine
  7. Bounce: the bounce will be full of distortion
  8. After that the plugin is in a broken state and needs to be removed from the session

If I take the exact same steps without passing the -double option, things are working fine.

Note that I'm on a Macbook pro M3.

Any help on this would be appreciated! Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions