Re: [Faudiostream-users] Faust does not generate block diagram

2018-09-16 Thread Stéphane Letz

> Le 16 sept. 2018 à 06:39, Jakob Leben  a écrit :
> 
> Hi Stephane,
> 
> Both problems are solved for me now.
> 
> The online editor just started working when I tried it recently without doing 
> anything special on my part. I wonder if the website was updated in the 
> meantime…

Yes I corrected it so that export and bock diagram button become usable only 
when the WASM libraries are actually loaded 
> 
> Regarding generating the SVG diagrams using the faust compiler: I realized 
> the diagrams are generated in the directory where the Faust source code is, 
> rather then the current working directory (by default, unless -O option is 
> given). As mentioned in my original question, I expected the diagrams to be 
> generated in the current working directory. That is what I usually expect 
> from command line tools.
> 
> Unfortunately, the default output directory for diagrams is not mentioned in 
> the tutorial [1], and neither in the text printed when executing "faust -h". 
> I would recommend adding a note at both these places (and possibly 
> elsewhere). Also, personally, I would prefer to see the behavior changed so 
> the default output directory is the current working directory.
> 
> [1] http://www.grame.fr/ressources/publications/faust_tutorial.pdf


Keep in https://github.com/grame-cncm/faust/issues/218

> 
> Anyway, thanks for your awesome work on Faust,
> 
> Jakob
> 
> 
Stéphane 



___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust does not generate block diagram

2018-09-15 Thread Jakob Leben
Hi Stephane,

Both problems are solved for me now.

The online editor just started working when I tried it recently without
doing anything special on my part. I wonder if the website was updated in
the meantime...

Regarding generating the SVG diagrams using the faust compiler: I realized
the diagrams are generated in the directory where the Faust source code is,
rather then the current working directory (by default, unless -O option is
given). As mentioned in my original question, I expected the diagrams to be
generated in the current working directory. That is what I usually expect
from command line tools.

Unfortunately, the default output directory for diagrams is not mentioned
in the tutorial [1], and neither in the text printed when executing "faust
-h". I would recommend adding a note at both these places (and possibly
elsewhere). Also, personally, I would prefer to see the behavior changed so
the default output directory is the current working directory.

[1] http://www.grame.fr/ressources/publications/faust_tutorial.pdf

Anyway, thanks for your awesome work on Faust,

Jakob


On Sat, Sep 15, 2018 at 12:04 AM Stéphane Letz  wrote:

>
>
> > Le 15 sept. 2018 à 08:54, Jakob Leben  a écrit :
> >
> > Hi Stephane,
> >
> > Can you plese try to reproduce the "faust -svg" problem on an Ubuntu
> 18.04?
>
>
> Cannot do that for now, I do,n(t a Linux machine to test.
>
> >
> > Regarding the online Faust Editor, I am attaching the error log. It
> contains all the errors that happen during the loading of the page. The
> errors from line 65 on (starting with "libfaust-wasm.js:4...") happen
> whenever clicking on the button to view the block diagram.
> >
> > Jakob
>
> It seems that the needed libraries are note properly loaded:
>
> - be sure to empty your browser cache and reload the page : the run button
> (top-left) states in gray until the needed libraries are properly loaded,
> then it turns to white
>
> - try to start in httpS mode : https://faust.grame.fr/editor/
>
> Stéphane
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust does not generate block diagram

2018-09-15 Thread Stéphane Letz


> Le 15 sept. 2018 à 08:54, Jakob Leben  a écrit :
> 
> Hi Stephane,
> 
> Can you plese try to reproduce the "faust -svg" problem on an Ubuntu 18.04?


Cannot do that for now, I do,n(t a Linux machine to test. 

> 
> Regarding the online Faust Editor, I am attaching the error log. It contains 
> all the errors that happen during the loading of the page. The errors from 
> line 65 on (starting with "libfaust-wasm.js:4...") happen whenever clicking 
> on the button to view the block diagram.
> 
> Jakob

It seems that the needed libraries are note properly loaded:

- be sure to empty your browser cache and reload the page : the run button 
(top-left) states in gray until the needed libraries are properly loaded, then 
it turns to white

- try to start in httpS mode : https://faust.grame.fr/editor/

Stéphane

___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust does not generate block diagram

2018-09-15 Thread Jakob Leben
Hi Stephane,

Can you plese try to reproduce the "faust -svg" problem on an Ubuntu 18.04?

Regarding the online Faust Editor, I am attaching the error log. It
contains all the errors that happen during the loading of the page. The
errors from line 65 on (starting with "libfaust-wasm.js:4...") happen
whenever clicking on the button to view the block diagram.

Jakob


On Fri, Sep 14, 2018 at 11:00 PM Stéphane Letz  wrote:

>
> > Le 15 sept. 2018 à 00:21, Jakob Leben  a écrit :
> >
> > Hello,
> >
> > I have just built Faust version 2.5.23 on Ubuntu 18.04 by checking out
> the appropriate branch of the git repository and building according to
> instructions.
> >
> > Invoking `faust -svg some_file` or `faust2svg some_file` terminates with
> no errors or warnings, but does not generate any files in the current
> directory.
> >
> > Any idea what's going on?
>
> I’ve just checked again here on OS X (so take the  2.5.23 archive, compile
> and install it….), I cannot reproduce the problem.
>
> >
> > Btw, the online Faust Editor (http://faust.grame.fr/editor/) also does
> nothing when clicking on the button to view the diagram. Looking at the
> Google Chrome console, I see it reports errors…
>
>
> What kind of error? Any  precise log to send me?
>
> Thanks.
>
> Stephane
>
>
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust does not generate block diagram

2018-09-15 Thread Stéphane Letz

> Le 15 sept. 2018 à 00:21, Jakob Leben  a écrit :
> 
> Hello,
> 
> I have just built Faust version 2.5.23 on Ubuntu 18.04 by checking out the 
> appropriate branch of the git repository and building according to 
> instructions.
> 
> Invoking `faust -svg some_file` or `faust2svg some_file` terminates with no 
> errors or warnings, but does not generate any files in the current directory.
> 
> Any idea what's going on?

I’ve just checked again here on OS X (so take the  2.5.23 archive, compile and 
install it….), I cannot reproduce the problem.

> 
> Btw, the online Faust Editor (http://faust.grame.fr/editor/) also does 
> nothing when clicking on the button to view the diagram. Looking at the 
> Google Chrome console, I see it reports errors…


What kind of error? Any  precise log to send me? 

Thanks.

Stephane 



___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users