Issue loading + than 1 faust-generated external in 1 session (Win64) / 1st is loaded OK, 2nd lead to error 998


    Jan 18 2019 | 8:45 pm
    Hi,
    Not sure if someone will be able to help me. I recently started learning Faust with the faustgen~ external in Pure Data. I would just love being able to play with it in Max but unfortunately the external is not available for Windows 64 bit yet :( .
    So I started working on a few examples with the intention of compiling the faust code to a win64 max external using Faust's online compiler. However, I realised that I could only load 1 external per session : the first external is loaded without any problem but when I try to create an object with a 2nd different external compiled from faust, I get the follower error : Error 998 loading external nlks~". All externals are loaded fine the first time if none other faust-generated external has been loaded.
    I don't know if I'm misssing something, which might very much be the cas as I'm not even using a full installation of faust to generate the externals. Any idea what could be wrong ? (Below you'll find all relevant info I could thing of. I'm including 2 text externals also, they're both fun I think)
    - Windows 64bit - Use of the faust web editor to compile the faust dsp code to a max external once the algo is ready (https://faustcloud.grame.fr/tools/editor/index.html). - external 1 : Nonlinear Karplus Strong => modification of the Karplus Strong example in the libraries by adding a switching AP filter - external 2 : Modor Additive : a recreation of the Modor synth's additive engine

    • Jan 18 2019 | 10:28 pm
      I'm adding a small example patch for each of the externals in case someone wants to try them
      Example patch for the Nonlinear Karplus Strong :
      Example patch for the Modor Additive engine adaptation :
    • Feb 08 2019 | 7:49 pm
      Well the "Win64 - Max external" option in the Faust code export section of the Web Editor is gone now :(
    • Feb 09 2019 | 9:09 am
      sounds like a bug on faust’s compilator side, could be related to variable scope, i don’t know. but without an extensive knowledge of the inner workings of faust compiler, it’s near impossible to do anything. You should try to seek advice from the faust people directly !