Skip to content

Multiple files export fails #1148

@ghostintranslation

Description

@ghostintranslation

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions