Hi Marc, do:

make clean

make httpd

sudo make install

and try again

Stéphane

Le 4 avr. 2015 à 02:09, Marc Lavallée <m...@hacklava.net> a écrit :

> Hi Stéphane.
> 
> I tried to compile a simple dsp file for the WebAudio API, using faust2
> (latest git version). It looks like some javascript files are missing.
> Here's the error:
> 
> $ faust2webaudioasm  noise.dsp 
> Compiled with 'asm.js' backend
> cat: /usr/local/lib/faust/js/stylesheet.js: No such file or directory
> cat: /usr/local/lib/faust/js/jsscripts.js: No such file or directory
> 
> --
> Marc
> 
> 
> On Thu, 29 Jan 2015 12:14:34 +0100, Stéphane Letz wrote:
>> Hi all,
>> 
>> Some cleanup in the WebAudio related code and scripts have been done.
>> Emscripten based compilation was broken and is now working again (BTW
>> the latest 1.29 SDK version of Emscripten is much faster to compile
>> code than previous versions…) 
>> 
>> On faust1 branch the following commands can be used:
>> ===========================================
>> 
>> faust2webaudioasm foo.dsp ==> to produce a self contained HTML page
>> with the Emscripten compiled asm.js module for the Faust produced DSP
>> as a C++ class
>> 
>> faust2webaudioasm  -poly foo.dsp ==> to produce a self contained HTML
>> page with the "polyphonic" Emscripten compiled asm.js module for the
>> Faust produced DSP as a C++ class. 
>> 
>> "polyphony" is handled by additional wrapping code that allocates N
>> voices (each one loaded with the Faust DSP), and manages voices
>> allocation. Basic keyOn/keyOff MIDI commands are available. Note that
>> for browser that do not natively support Web AMIID API, a fallback to
>> use the Jazz MIDI plug-in (http://jazz-soft.net and
>> http://cwilso.github.io/WebMIDIAPIShim/) is implemented.
>> 
>> To compile ready-to-use Web Audio JS/asm.js nodes: 
>> -------------------------------------------------------------------------
>> 
>> faust2asmjs foo.dsp  ==> will produce a self contained JS file with
>> the Emscripten compiled asm.js module, and the necessary wrapping
>> code to have a ready-to-use Web Audio node.
>> 
>> faust2asmjs -poly foo.dsp  ==> will produce a self contained JS file
>> with the Emscripten compiled asm.js module, "polyphonic" code, and
>> the necessary wrapping code to have a ready-to-use Web Audio node.
>> 
>> 
>> Faust2 has the "asm.js" backend that allows to possible avoid the use
>> of Emscripten.
>> 
>> On faust2 branch the following commands can be used:
>> ===========================================
>> 
>> faust2webaudioasm -emcc foo.dsp ==> to produce a self contained HTML
>> page with the Emscripten compiled asm.js module for the Faust
>> produced DSP as a C++ class
>> 
>> faust2webaudioasm  foo.dsp ==> to produce a self contained HTML page
>> with the asm.js module, compiled with the internal asm.js backend.
>> 
>> 
>> faust2webaudioasm -emcc -poly foo.dsp ==> to produce a self contained
>> HTML page Emscripten compiled asm.js module and "polyphonic" code for
>> the Faust produced DSP as a C++ class
>> 
>> faust2webaudioasm  foo.dsp -poly ==> to produce a self contained HTML
>> page  with the asm.js module and "polyphonic" code, compiled with the
>> internal asm.js backend.
>> 
>> 
>> To compile ready-to-use Web Audio JS/asm.js nodes:
>> -------------------------------------------------------------------------
>> 
>> faust2asmjs -emcc foo.dsp  ==> will produce a self contained JS file
>> with the Emscripten compiled asm.js  and the necessary wrapping code
>> to have a ready-to-use Web Audio node.
>> 
>> faust2asmjs  foo.dsp  ==> will produce a self contained JS file  with
>> asm.js module compiled with the internal asm.js backend, and the
>> necessary wrapping code to have a ready-to-use Web Audio node.
>> 
>> 
>> faust2asmjs -emcc -poly foo.dsp  ==> will produce a self contained JS
>> file with the Emscripten compiled asm.js module, "polyphonic" code,
>> and the necessary wrapping code to have a ready-to-use Web Audio node.
>> 
>> faust2asmjs  -poly foo.dsp  ==> will produce a self contained JS
>> file  with asm.js module compiled with the internal asm.js backend,
>> "polyphonic" code, and the necessary wrapping code to have a
>> ready-to-use Web Audio node.
>> 
>> 
>> Feel free to test and report.
>> 
>> Stéphane
> 
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to