Having the same issue.
Just pull the latest commit.
Having the same issue.
Just pull the latest commit.
So the problem was that the C++ code that is generated by the Faust example above indeed creates an object that has a compile-time array of around 8MB (most likely some delay buffers). The problem was that if by default, HISE also generated a polyphonic version, which multiplied this with the voice count, so you ended up with an object that is 2GB big, which made the compiler nope out of there.
I fixed it by changing the default to NOT create polyphonic versions of the FX, unless the faust / SNEX node is explicitely used in a network that has the AllowPolyphony
flag set (or if it's a custom C++ node, if the node_properties.json
file has defined the AllowPolyphony
flag alongside with the isPolyphonic
flag).
Alright, I've added a tool that will cleanup the DLL files: Export -> Clean DSP Network Files.
This should perform the proper cleanup for all file types so if you want to remove Faust files, it will also delete all generated C++ files that belong to the file (and if you delete SNEX files, it will also remove the XML parameter definition file).
@Lindon ah hold on, it seems to be in the wrapper code, maybe something is blowing up the parameter count.
@d-healey I think that was related to directly recording automation through a mapped parameter in the DAW and not through the MIdI assignment within the plugin.
@Lindon looks like a compile error in the faust code generator - something is allocating an array too large for your compiler.
@Lindon lol just delete or move the faust file.
@Lindon it always compiles all faust files found in code_library/faust, the allowCompilation flag is just for the network itself
But then as you point out we'll end up with two automation tracks for the same control which isn't good and it will definitely confuse users.
You end up with two automation tracks which do the same thing if you have recorded a MIDI CC automation and the plugin parameter automation, so that's a point on my side, no?