grame-cncm / faustlive

Advanced self-contained prototyping environment for the Faust programming language
Other
80 stars 18 forks source link

fi.svf not working (issue with environments?) #43

Closed jmckernon closed 3 years ago

jmckernon commented 3 years ago

The following code will compile in faust itself but yields an error in FaustLive:

import("stdfaust.lib");
process = no.noise : fi.svf.bp(1000,1);

Is it something to do with the fact that svf is an environment within fi? The error message is:

svf : 108 : ERROR : undefined symbol : svf

Using FaustLive version 2.30.9.

sletz commented 3 years ago

Tested and working with latest https://github.com/grame-cncm/faustlive/releases/tag/2.5.6

jmckernon commented 3 years ago

Ah, thanks Stéphane. I tried to check out the latest version to test with but I had problems compiling from the source, so I thought I would at least submit the issue in the meantime.

If it's still an issue when I manage to test on the latest version, then I may reopen this, but for now I'll close the issue. Thanks.

sletz commented 3 years ago

Possibly try to compile from the GitHub repo.

jmckernon commented 3 years ago

Actually, I'll reopen this. After installing faust 2.34.6, I could update FaustLive to version 2.5.6, and I found that I still have the same issue in that version.

sletz commented 3 years ago

Try to remove the cache folder.FaustLive-CurrentSession-2.0 (hidden with '.' on macOS and Linux).

jmckernon commented 3 years ago

Yep, it looks like that fixed it. Many thanks.

sletz commented 3 years ago

Should be improved the next release with this https://github.com/grame-cncm/faustlive/commit/d39b7f14533f4d83a28757d1a1afc6224f0dd443.