grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.53k stars 319 forks source link

Online compiler : wasm-audio generated failed with reference error #211

Closed pirelaurent closed 6 years ago

pirelaurent commented 6 years ago

As a beginner, i follow the simplest example on youtube:

import ("stdfaust.lib");
process = button("play") : pm.djembe(330,0.8,0.5,1); 

Once generated as indicated with wast and audio option,

the html file doesn't show the button.

With web console, find :

ReferenceError: getJSONmydsp is not defined 

Source code :

// Keep JSON parsed object
var json_object = JSON.parse(getJSONmydsp());
sletz commented 6 years ago

1) What tool are you using ? 2) You can possibly try using the online editor here: https://faust.grame.fr/editor/

pirelaurent commented 6 years ago

1- I use a windows10-64 . I try with FFox , chrome, Edge. The online compiler is https://faust.grame.fr/onlinecompiler several tests show me that with a wasm-audio generation, i get a Midi error (ok), but the button is shown ( not an install error of wasm). find generated source code in txt file. see Line 6332. [image: image.png]

2-i had made a try on /editor : open the configure tool: see the page 'configure running mode' . Unable to close it and to go back. i don't spend much time on it.

Le lun. 3 sept. 2018 à 15:14, Stéphane Letz notifications@github.com a écrit :

  1. What tool are you using ?
  2. You can possibly try using the online editor here: https://faust.grame.fr/editor/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/faust/issues/211#issuecomment-418111991, or mute the thread https://github.com/notifications/unsubscribe-auth/AEA2sdyjhZXWJxS0olDOY5s7duvqazaZks5uXSs_gaJpZM4WXlJa .

Githubissues.
  • Githubissues is a development platform for aggregating issues.