Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid output from WAM export (GUI Builder) #82

Open
mrkev opened this issue Jan 26, 2024 · 4 comments
Open

Invalid output from WAM export (GUI Builder) #82

mrkev opened this issue Jan 26, 2024 · 4 comments

Comments

@mrkev
Copy link

mrkev commented Jan 26, 2024

I noticed when exporting using GUI Builder in Faust, nothing acutally shows up:

image

I downloaded the ZIP and realized the issue lies in index.js. The generated code expects two files named dspMeta.json and dspModule.wasm (lines 76/77):

image

These files are however named in accordance to the DSP file. In my case, in the IDE I named my file miditut.dsp, and so the actual metadata and module are named miditut.json and miditut.wasm:

image

Sure enough if I change the references in index.js to miditut.json and miditut.wasm respectively, it all loads correctly:

image
@sletz
Copy link
Member

sletz commented Jan 26, 2024

@micbuffa, @Fr0stbyteR any idea here ?

@Fr0stbyteR
Copy link
Contributor

@micbuffa Did you rename dspMeta.json and dspModule.wasm?

@micbuffa
Copy link

This will be fixed this week-end. I'm working on it.

@micbuffa
Copy link

micbuffa commented Jan 26, 2024

Ah, sorry, the bug you noticed is not the one I was thinking of....

  1. the bug with the name of the files will be investigated. It looks like the server took some time to generate the code for the final WAM. Try pressing refresh until the WAM shows in the preview window. Then the zip you download should be ok. I'll double check that everything is correct. I never had the problem you describe with dspMeta and dspModule files. Maybe something broke since my last tests.
  2. Actually the GUI Builder does not produce the custom GUI but a WAM with the default GUI (actually it produces both but I need to fix some parts in the generated code, will dot it this we).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants