faust icon indicating copy to clipboard operation
faust copied to clipboard

Multiple files export fails

Open ghostintranslation opened this issue 5 months ago • 3 comments

Hi,

I've created a program where I have 2 files, a "main" and a "voice", they both declare a "process". Then in the main I use the voice by calling it with "component". But as soon as I do that the export says it's not a valid Faust code, although it does work on the UI. I'm just unable to export it.

example:

// main.dsp
process = component("voice.dsp");

Am I doing something wrong?

All I want to do is on export for Teensy for example to generate 2 different classes for my 2 files. If there is another way than using the "component" expression I'd be ok to change it.

Thank you

ghostintranslation avatar May 18 '25 19:05 ghostintranslation