[LAD] Re: ome Faust questions

Stéphane Letz <[email protected]>
Newsgroups gmane.linux.audio.devel
Message-ID <[email protected]>
> 
> Hello all,
> 
> Triggered by a recent post, I've been dabbling a bit with Faust,
> and have some questions :-)
> 
> (For the jack-gtk architecture)
> 
> - When started the app prints some useless info (a nuisance) and
>  it also autoconnects (a definite no-go).
>  Is there any way to avoid this ?
> 
> - The faust2jack script says it adds 'preset' functionality
>  to the GUI. But there seems to be no way to access this.
> 
> - The way the PRESETDIR is handled is weird. It is done by 
>  prepending a single line temporary file to the merged cpp file
>  using cat.
> 
>  What would be wrong with
> 
>    # add preset management
>    if [ $PRESETDIR = "auto" ]; then
> 	PRESETDEFS=-DPRESETDIR=\"/var/tmp/\"
>    else	
> 	PRESETDEFS=-DPRESETDIR=\"$PRESETDIR\"
>    fi
> 
> and then adding PRESETDEFS to the compiler options ?

Sure, I guess this specific thing came by coping an already written « way of doing », lack of Unix culture, years of history…  

> 
> (General)
> 
> - The various faust2*** programs work by merging the compiled dsp
>  file with the architecture file. While doing this, also all
>  include files from the /usr/include/faust directory are recursively
>  expanded in-line. Now I wonder why this is done. Surely the C++
>  preprocessor would do this anyway ?
> 
> 

This -i option is there to produce a kind of « self-contained » Faust architecture (so only inlining the « faust/xxx » files). And possibly not really needed in this specific example : history, copy/paste…etc...

Stéphane, 
_______________________________________________
Linux-audio-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.