Re: [Faudiostream-users] external ffunction defined in .h file, how to access it from within faustLive?

2017-05-01 Thread Stéphane Letz
It seems that this primes external function returns prime number as index I 
right  ?

https://github.com/supercollider/sc3-plugins/blob/master/source/DEINDUGens/faust_src/jprev.h

Then I guess  you could try  using the « waveform » concept  (p32 in 
faust-quick-reference.pdf documentation) ?

Stéphane 


> Le 1 mai 2017 à 11:55, Till Bovermann  a écrit :
> 
> Dear all,
> 
> I am trying to fix/update the implementation of JPVerb to follow the current 
> development style of faust:
> https://github.com/supercollider/sc3-plugins/blob/master/source/DEINDUGens/faust_src/JPverbRaw.dsp
> 
> one caveat I stumbled across is that it utilises an external function defined 
> in a header file parallel to the dsp file.
> although I think I know in principle how to integrate it into making it an 
> actual SC3 plugin, I do not know how to handle it from within 
>   faustLive
> 
> any hints much appreciated :)
> 
>   Till
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] How to take guitar signal as input signal

2017-04-08 Thread Stéphane Letz
You are on Windows right? Then FaustLive is supposed to access the audio inputs 
and outputs, what is not working there ? 

Stéphane 


> Le 8 avr. 2017 à 06:09, rajhans sarah  a écrit :
> 
> Hi there,
> 
> I want to take my electric guitar signal as input signal in FaustLive? 
> 
> I have guitar link and yamaha's electric guitar. 
> 
> Thanks 
> 
> Regards 
> 
> Rajhans Kshirsagar
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] WebAssembly is now officially activated in Chrome and Firefox... and in the Faust online compilers

2017-03-17 Thread Stéphane Letz
Yes  : the generated wasm module is wrapped with basically the same code we 
used in asm.js case, to become a WebAudio/ScriptProcessor node.

We are sill waiting for the AudioWorklet proposal to become official (see 
https://github.com/WebAudio/web-audio-api/wiki/AudioWorklet-IDL-Proposal)

Stéphane


> Le 17 mars 2017 à 13:46, Victor Lazzarini  a écrit :
> 
> Interesting. Does the wasm code still depend on the webaudio for IO and the 
> scriptprocessor node?
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
>> On 17 Mar 2017, at 12:30, Stéphane Letz  wrote:
>> 
>> Hi All,
>> 
>> WebAssembly (http://webassembly.org) is now officially activated in Chrome 
>> and Firefox 
>> (https://lists.w3.org/Archives/Public/public-webassembly/2017Feb/0002.html). 
>> 
>> The Faust WebAssembly backend emitted binary format has been raised to match 
>> the official 0x01 number.
>> 
>> Statically generated html pages can be generated and tested:
>> 
>> -  using the Faust online compiler (http://faust.grame.fr/compiler/) by 
>> choosing the Web/wasm-audio for regular DSP and Web/wasm-polyphonic for 
>> polyphonic MIDI controllable DSP instruments (to be tested on Chrome only), 
>> or Web/wasm-audio-pkg and Web/wasm-polyphonic-pkg for the corresponding 
>> packages.
>> 
>> - or using the FaustLive export feature by choosing Web/webaudiowasm for 
>> regular DSP and Web/webaudiowasm-poly for polyphonic MIDI controllable DSP 
>> instruments (to be tested on Chrome only). Html pages with the corresponding 
>> binary .wasm files can be downloaded and tested locally. 
>> 
>> Feedback welcome !
>> 
>> Stéphane
>> 
>> 
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] WebAssembly is now officially activated in Chrome and Firefox... and in the Faust online compilers

2017-03-17 Thread Stéphane Letz
Hi All,

WebAssembly (http://webassembly.org) is now officially activated in Chrome and 
Firefox 
(https://lists.w3.org/Archives/Public/public-webassembly/2017Feb/0002.html). 

The Faust WebAssembly backend emitted binary format has been raised to match 
the official 0x01 number.

Statically generated html pages can be generated and tested:

-  using the Faust online compiler (http://faust.grame.fr/compiler/) by 
choosing the Web/wasm-audio for regular DSP and Web/wasm-polyphonic for 
polyphonic MIDI controllable DSP instruments (to be tested on Chrome only), or 
Web/wasm-audio-pkg and Web/wasm-polyphonic-pkg for the corresponding packages.

- or using the FaustLive export feature by choosing Web/webaudiowasm for 
regular DSP and Web/webaudiowasm-poly for polyphonic MIDI controllable DSP 
instruments (to be tested on Chrome only). Html pages with the corresponding 
binary .wasm files can be downloaded and tested locally. 

Feedback welcome !

Stéphane



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] faust2supercollider compilation script

2017-03-13 Thread Stéphane Letz
What is the «  SC3Plugins compile tools » ? Where can I find it? How can  test 
it?

Thanks

Stéphane 

> Le 13 mars 2017 à 23:22, Florian Grond  a écrit :
> 
> Hi Stéphane, hi Pierre,
> 
> Thanks for your continued efforts for the faust2supercollider script.
> One thing that might be a low hanging fruit is to create an option that makes 
> the faust2supercollider script return the cpp file which is currently stored 
> in the temp folder and deleted if the -d flag is not set, which keeps the 
> temp folder from being trashed.
> 
> in the tempfolder, there is currently an .xml a .cpp a .sc and a (scx / so) 
> file.
> The ones we wanna keep is the sc and scx file and optionally also the cpp 
> file. 
> 
> This would already be a great help for Faust based SC3plugin development as 
> it later allows to include the cpp+sc files in the SC3plugin collection and 
> to compile it from there for the plaforms (OSX, Linux, Windows10). 
> 
> After that we should look into the debug message issue (I'm happy to test), 
> which only comes up if the cpp files are compiled with the SC3Plugins compile 
> tools.
> 
> Thanks a lot,
> 
> Florian 
>
> 
> 
> 
> 
> 
> www.grond.at
> 
> On Mon, Mar 13, 2017 at 5:20 AM, Stéphane Letz  wrote:
> I’ve simply added the -xml parameter to the second ‘faust -i ….' » command, 
> since we don’t need to issue 2 ‘faust ‘ command. This will also save time 
> with big compilations.
> Can you test and report ?
> 
> BTW about the other requests from Florian Grond (debug message and so on..) 
> difficult to help, without being able to test here. But please provide patch 
> or concrete ways to improve the faust2supercollider script.
> 
> Stéphane
> 
> 
> > Le 13 mars 2017 à 07:19, Pierre Lecomte  a écrit :
> >
> > Hello,
> >
> > When compiling with faust2supercollider script, I sometimes have trouble 
> > with
> > these lines:
> >
> >faust -xml "$SRCDIR/$f" -o /dev/null  || exit
> >mv "$SRCDIR/$f.xml" $TMP/
> >faust -i -a supercollider.cpp $OPTIONS "$SRCDIR/$f" -o "$TMP/${f
> >%.dsp}.cpp" || exit
> >
> > In fact, I've got some scripts which compile in more than 2min, thus the
> > compilation has a clock alert and stops when generating the xml with
> >
> >faust -xml "$SRCDIR/$f" -o /dev/null  || exit
> >mv "$SRCDIR/$f.xml" $TMP/
> >
> > Is is possible to pass the $OPTIONS at this step in order to allow 
> > parameters
> > such as
> >   faust2supercollider -t 0 or -t 3600 for instance ?
> >
> > Thanks,
> >
> > Pierre
> >
> > --
> > Announcing the Oxford Dictionaries API! The API offers world-renowned
> > dictionary content that is easy and intuitive to access. Sign up for an
> > account today to start using our lexical data to power your apps and
> > projects. Get started today and enter our developer competition.
> > http://sdm.link/oxford
> > ___
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [faudiostream:discussion] Issue on Faustlive new Compiler 2.0a57

2017-03-13 Thread Stéphane Letz
Fixed.

Stephane 

> Le 12 mars 2017 à 03:20, dirk mueller  a écrit :
> 
> Hello,
> I have since the Update this days a lot NSString and zone Issues and 
> seen the DSP Class was changed to UI and think there are the Failure 
> under Xcode and Generating a Juice Plugin
> Please have a look on a Compiled with 2.0a56 here
> 
> #ifndef __dsp__
> #define __dsp__
> 
> #include 
> 
> #ifndef FAUSTFLOAT
> #define FAUSTFLOAT float
> #endif
> 
> class UI;
> struct Meta;
> 
> /**
> * Signal processor definition.
> */
> 
> class dsp {
> 
> public:
> 
> dsp() {}
> virtual ~dsp() {}
> 
> /* Return instance number of audio inputs */
> virtual int getNumInputs() = 0;
> 
> /* Return instance number of audio outputs */
> virtual int getNumOutputs() = 0;
> 
> /**
>  * Trigger the UI* parameter with instance specific calls
>  * to 'addBtton', 'addVerticalSlider'... in order to build the 
> UI.
>  *
>  * @param ui_interface - the UI* user interface builder
>  */
> virtual void buildUserInterface(UI* ui_interface) = 0;
> 
> /* Returns the sample rate currently used by the instance */
> virtual int getSampleRate() = 0;
> 
> /** Global init, calls the following methods :
>  * - static class 'classInit' : static table initialisation
>  * - 'instanceInit' : constants and instance table 
> initialisation
>  *
>  * @param samplingRate - the sampling rate in Herz
>  */
> virtual void init(int samplingRate) = 0;
> 
> /** Init instance state
>  *
>  * @param samplingRate - the sampling rate in Herz
>  */
> virtual void instanceInit(int samplingRate) = 0;
> 
> At next the 2.0a57
> 
> #ifndef FAUST_UI_H
> #define FAUST_UI_H
> 
> #ifndef FAUSTFLOAT
> #define FAUSTFLOAT float
> #endif
> 
> /***
>  * UI : Faust User Interface
>  * This abstract class contains only the method that the faust compiler 
> can
>  * generate to describe a DSP interface.
> 
> **/
> 
> class UI
> {
> 
> public:
> 
> UI() {}
> 
> virtual ~UI() {}
> 
> // -- widget's layouts
> 
> virtual void openTabBox(const char* label) = 0;
> virtual void openHorizontalBox(const char* label) = 0;
> virtual void openVerticalBox(const char* label) = 0;
> virtual void closeBox() = 0;
> 
> // -- active widgets
> 
> virtual void addButton(const char* label, FAUSTFLOAT* zone) = 0;
> virtual void addCheckButton(const char* label, FAUSTFLOAT* zone) 
> = 0;
> virtual void addVerticalSlider(const char* label, FAUSTFLOAT* 
> zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) 
> = 0;
> virtual void addHorizontalSlider(const char* label, FAUSTFLOAT* 
> zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) 
> = 0;
> virtual void addNumEntry(const char* label, FAUSTFLOAT* zone, 
> FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) = 0;
> 
> // -- passive widgets
> 
> virtual void addHorizontalBargraph(const char* label, 
> FAUSTFLOAT* zone, FAUSTFLOAT min, FAUSTFLOAT max) = 0;
> virtual void addVerticalBargraph(const char* label, FAUSTFLOAT* 
> zone, FAUSTFLOAT min, FAUSTFLOAT max) = 0;
> 
> // -- metadata declarations
> 
> virtual void declare(FAUSTFLOAT*, const char*, const char*) {}
> };
> 
> Best regards Dirk Mueller
> 
> 
> ---
> 
> [Issue on Faustlive new Compiler 
> 2.0a57](https://sourceforge.net/p/faudiostream/discussion/347045/thread/b1614854/?limit=25#ebde)
> 
> 
> ---
> 
> Sent from sourceforge.net because you indicated interest in 
> 
> 
> 
> 
> To unsubscribe from further messages, please visit 
> 


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [faudiostream:discussion] Issue on Faustlive new Compiler 2.0a57

2017-03-13 Thread Stéphane Letz
Should be fixed in 
https://github.com/grame-cncm/faustlive/commit/107da332b5cf3651ccf4607b4908769278d798f4

Stéphane 

> Le 12 mars 2017 à 22:50, Albert Graef  a écrit :
> 
> Hi Stéphane,
> 
> there's also a compile error in FaustLive (current HEAD on the dev branch), 
> on Linux I get:
> 
> /usr/bin/rcc -name application ../../Resources/application.qrc -o 
> ../../src/Utilities/qrc_application.cpp
> ../../Resources/application.qrc: Warning: potential duplicate alias detected: 
> 'fdnRev.dsp'
> RCC: Error in '../../Resources/application.qrc': Cannot find file 
> 'Examples/fluteStk.dsp'
> make[2]: *** [Makefile-qt:950: ../../src/Utilities/qrc_application.cpp] Error 
> 1
> 
> Looks like a fallout from the library update? On macOS I'm getting a similar 
> error, which keeps me from updating the Arch, Ubuntu and MacPorts packages 
> right now.
> 
> Albert
> 
> 
> On Sun, Mar 12, 2017 at 5:48 AM, Stéphane Letz  wrote:
> Yep, incorrect testing here… Fixed on master-dev 
> https://github.com/grame-cncm/faust/commit/d99bf03a1f55fab9147406483cbfd1cd68b21124
> 
> Will be corrected on online compiler next week.
> 
> Stéphane
> 
> 
> > Le 12 mars 2017 à 03:20, dirk mueller  a écrit :
> >
> > Hello,
> > I have since the Update this days a lot NSString and zone Issues and
> > seen the DSP Class was changed to UI and think there are the Failure
> > under Xcode and Generating a Juice Plugin
> > Please have a look on a Compiled with 2.0a56 here
> >
> > #ifndef __dsp__
> > #define __dsp__
> >
> > #include 
> >
> > #ifndef FAUSTFLOAT
> > #define FAUSTFLOAT float
> > #endif
> >
> > class UI;
> > struct Meta;
> >
> > /**
> > * Signal processor definition.
> > */
> >
> > class dsp {
> >
> > public:
> >
> > dsp() {}
> > virtual ~dsp() {}
> >
> > /* Return instance number of audio inputs */
> > virtual int getNumInputs() = 0;
> >
> > /* Return instance number of audio outputs */
> > virtual int getNumOutputs() = 0;
> >
> > /**
> >  * Trigger the UI* parameter with instance specific calls
> >  * to 'addBtton', 'addVerticalSlider'... in order to build the
> > UI.
> >  *
> >  * @param ui_interface - the UI* user interface builder
> >  */
> > virtual void buildUserInterface(UI* ui_interface) = 0;
> >
> > /* Returns the sample rate currently used by the instance */
> > virtual int getSampleRate() = 0;
> >
> > /** Global init, calls the following methods :
> >  * - static class 'classInit' : static table initialisation
> >  * - 'instanceInit' : constants and instance table
> > initialisation
> >  *
> >  * @param samplingRate - the sampling rate in Herz
> >  */
> > virtual void init(int samplingRate) = 0;
> >
> > /** Init instance state
> >  *
> >  * @param samplingRate - the sampling rate in Herz
> >  */
> > virtual void instanceInit(int samplingRate) = 0;
> >
> > At next the 2.0a57
> >
> > #ifndef FAUST_UI_H
> > #define FAUST_UI_H
> >
> > #ifndef FAUSTFLOAT
> > #define FAUSTFLOAT float
> > #endif
> >
> > /***
> >  * UI : Faust User Interface
> >  * This abstract class contains only the method that the faust compiler
> > can
> >  * generate to describe a DSP interface.
> >
> > **/
> >
> > class UI
> > {
> >
> > public:
> >
> > UI() {}
> >
> > virtual ~UI() {}
> >
> > // -- widget's layouts
> >
> > virtual void openTabBox(const char* label) = 0;
> > virtual void openHorizontalBox(const char* label) = 0;
> > virtual void openVerticalBox(const char* label) = 0;
> > virtual void closeBox() = 0;
> >
> > // -- active widgets
> >
> > virtual void addButton(const char* label, FAUSTFLOAT* zone) = 0;
> > virtual void addCheckButton(const char* label, FAUSTFLOAT* zone)
> > = 0;
> > virtual void addVerticalSlider(const char* label, FAUSTFLOAT*
> > zone, FAUSTFLOAT init, FAUSTFLOAT min, 

Re: [Faudiostream-users] faust2supercollider compilation script

2017-03-13 Thread Stéphane Letz
I’ve simply added the -xml parameter to the second ‘faust -i ….' » command, 
since we don’t need to issue 2 ‘faust ‘ command. This will also save time with 
big compilations. 
Can you test and report ?

BTW about the other requests from Florian Grond (debug message and so on..) 
difficult to help, without being able to test here. But please provide patch or 
concrete ways to improve the faust2supercollider script.

Stéphane 


> Le 13 mars 2017 à 07:19, Pierre Lecomte  a écrit :
> 
> Hello,
> 
> When compiling with faust2supercollider script, I sometimes have trouble with 
> these lines:
> 
>faust -xml "$SRCDIR/$f" -o /dev/null  || exit
>mv "$SRCDIR/$f.xml" $TMP/
>faust -i -a supercollider.cpp $OPTIONS "$SRCDIR/$f" -o "$TMP/${f
>%.dsp}.cpp" || exit
> 
> In fact, I've got some scripts which compile in more than 2min, thus the 
> compilation has a clock alert and stops when generating the xml with
> 
>faust -xml "$SRCDIR/$f" -o /dev/null  || exit
>mv "$SRCDIR/$f.xml" $TMP/
> 
> Is is possible to pass the $OPTIONS at this step in order to allow parameters 
> such as
>   faust2supercollider -t 0 or -t 3600 for instance ?
> 
> Thanks, 
> 
> Pierre
> 
> --
> Announcing the Oxford Dictionaries API! The API offers world-renowned
> dictionary content that is easy and intuitive to access. Sign up for an
> account today to start using our lexical data to power your apps and
> projects. Get started today and enter our developer competition.
> http://sdm.link/oxford
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [faudiostream:discussion] Issue on Faustlive new Compiler 2.0a57

2017-03-11 Thread Stéphane Letz
Yep, incorrect testing here… Fixed on master-dev 
https://github.com/grame-cncm/faust/commit/d99bf03a1f55fab9147406483cbfd1cd68b21124

Will be corrected on online compiler next week.

Stéphane


> Le 12 mars 2017 à 03:20, dirk mueller  a écrit :
> 
> Hello,
> I have since the Update this days a lot NSString and zone Issues and 
> seen the DSP Class was changed to UI and think there are the Failure 
> under Xcode and Generating a Juice Plugin
> Please have a look on a Compiled with 2.0a56 here
> 
> #ifndef __dsp__
> #define __dsp__
> 
> #include 
> 
> #ifndef FAUSTFLOAT
> #define FAUSTFLOAT float
> #endif
> 
> class UI;
> struct Meta;
> 
> /**
> * Signal processor definition.
> */
> 
> class dsp {
> 
> public:
> 
> dsp() {}
> virtual ~dsp() {}
> 
> /* Return instance number of audio inputs */
> virtual int getNumInputs() = 0;
> 
> /* Return instance number of audio outputs */
> virtual int getNumOutputs() = 0;
> 
> /**
>  * Trigger the UI* parameter with instance specific calls
>  * to 'addBtton', 'addVerticalSlider'... in order to build the 
> UI.
>  *
>  * @param ui_interface - the UI* user interface builder
>  */
> virtual void buildUserInterface(UI* ui_interface) = 0;
> 
> /* Returns the sample rate currently used by the instance */
> virtual int getSampleRate() = 0;
> 
> /** Global init, calls the following methods :
>  * - static class 'classInit' : static table initialisation
>  * - 'instanceInit' : constants and instance table 
> initialisation
>  *
>  * @param samplingRate - the sampling rate in Herz
>  */
> virtual void init(int samplingRate) = 0;
> 
> /** Init instance state
>  *
>  * @param samplingRate - the sampling rate in Herz
>  */
> virtual void instanceInit(int samplingRate) = 0;
> 
> At next the 2.0a57
> 
> #ifndef FAUST_UI_H
> #define FAUST_UI_H
> 
> #ifndef FAUSTFLOAT
> #define FAUSTFLOAT float
> #endif
> 
> /***
>  * UI : Faust User Interface
>  * This abstract class contains only the method that the faust compiler 
> can
>  * generate to describe a DSP interface.
> 
> **/
> 
> class UI
> {
> 
> public:
> 
> UI() {}
> 
> virtual ~UI() {}
> 
> // -- widget's layouts
> 
> virtual void openTabBox(const char* label) = 0;
> virtual void openHorizontalBox(const char* label) = 0;
> virtual void openVerticalBox(const char* label) = 0;
> virtual void closeBox() = 0;
> 
> // -- active widgets
> 
> virtual void addButton(const char* label, FAUSTFLOAT* zone) = 0;
> virtual void addCheckButton(const char* label, FAUSTFLOAT* zone) 
> = 0;
> virtual void addVerticalSlider(const char* label, FAUSTFLOAT* 
> zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) 
> = 0;
> virtual void addHorizontalSlider(const char* label, FAUSTFLOAT* 
> zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) 
> = 0;
> virtual void addNumEntry(const char* label, FAUSTFLOAT* zone, 
> FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) = 0;
> 
> // -- passive widgets
> 
> virtual void addHorizontalBargraph(const char* label, 
> FAUSTFLOAT* zone, FAUSTFLOAT min, FAUSTFLOAT max) = 0;
> virtual void addVerticalBargraph(const char* label, FAUSTFLOAT* 
> zone, FAUSTFLOAT min, FAUSTFLOAT max) = 0;
> 
> // -- metadata declarations
> 
> virtual void declare(FAUSTFLOAT*, const char*, const char*) {}
> };
> 
> Best regards Dirk Mueller
> 
> 
> ---
> 
> [Issue on Faustlive new Compiler 
> 2.0a57](https://sourceforge.net/p/faudiostream/discussion/347045/thread/b1614854/?limit=25#ebde)
> 
> 
> ---
> 
> Sent from sourceforge.net because you indicated interest in 
> 
> 
> 
> 
> To unsubscribe from further messages, please visit 
> 


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] debug output

2017-03-08 Thread Stéphane Letz

> Le 8 mars 2017 à 17:37, Florian Grond  a écrit :
> 
> Thanks Stéphane,
> 
> I installed the most recent faust version:
> 
> 
> Thanks for changing the paths, please if you can adjust the order:
> 
> in fact an include should possibly be behind each of the paths listed. 
> 
> if you compare with
>  https://github.com/supercollider/supercollider/tree/master/include
> 
> this is where the plugin_interface resides no matter where you put the SC 
> sources
> #---
> # Need SuperCollider 'plugin_interface' include path to compile UGens:
> 
> 
> 
> 
> SC0=$SUPERCOLLIDER_HEADERS
> SC1="/usr/local/include/SuperCollider/include"
> SC2="/usr/local/include/supercollider"
> SC3="/usr/include/SuperCollider"
> SC4="/usr/include/supercollider"
> SC5="/usr/local/include/SuperCollider/« 


Done on GIT.

> 
> 
> As far as the the -dm flag is concerned. I can set it and it compiles into 
> the cpp files, if I also set the -d flag. 
> 
> I have not compiled the resulting cpp files yet, but they look pretty 
> identical to me no matter if I set the -dm flag or not.

Yes sure.

> 
> I believe that if the -dm flag is not set the cpp file should feature the 
> MACRO
> 
> #define NDEBUG
> 
> and if it is set this should be commented out 
> 
> // #define NDEBUG
> 
> so that all the print messages show accordingly for debugging
> 
> #if !defined(NDEBUG)
> Print("Faust: %s numControls=%d\n", name.c_str(), g_numControls);
> #endif // NDEBUG
> 
> If there was an easy way for the faust2supercollider script to return the sc 
> + (scx / so /dll) and optionally the cpp with or without debug mode that 
> would be of great help for the SC folks.
> 
> Thanks a lot,
> 
> Florian
> 
> 

The point of -dm is to define set DNDEBUG to that the code path in correctly 
compile in the cpp file.` Please test the cpp code first.

Stéphane


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] debug output

2017-03-07 Thread Stéphane Letz
Would be great if this could be a compilation flag for faust2supercollider :   
Can you possibly provide a patch for that?

Thanks.

Stéphane 


> Le 7 mars 2017 à 21:47, Florian Grond  a écrit :
> 
> 
> Thanks, Stéphane, for the hint, for now, I just commented out the debug 
> settings in the C++ files.
> Would be great if this could be a compilation flag for faust2supercollider 
> 
> Best, Florian
> 
> 
> I also always need to change this line:
> 
> SC1="/usr/local/include/SuperCollider/
> 
> so that the plugin_interface is found
> 
> 
> #---
> # Need SuperCollider 'plugin_interface' include path to compile UGens:
> 
> SC0=$SUPERCOLLIDER_HEADERS
> SC1="/usr/local/include/SuperCollider/include"
> SC2="/usr/local/include/supercollider"
> SC3="/usr/include/SuperCollider"
> SC4="/usr/include/supercollider"
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> //#if !defined(NDEBUG)
> //Print("Faust[%s]:\n", g_unitName);
> //Print("Inputs:   %d\n"
> //  "Outputs:  %d\n"
> //  "Callback: %s\n",
> //  numInputs, numOutputs,
> //  unit->mCalcFunc == (UnitCalcFunc)Faust_next ? "zero-copy" 
> : "copy");
> //#endif
> 
> 
> 
> 
> // #if !defined(NDEBUG)
> //Print("Faust: %s numControls=%d\n", name.c_str(), g_numControls);
> // #endif // NDEBUG
> 
> 
> 
> // #if !defined(NDEBUG) & defined(SC_API_EXPORT)
> //Print("Faust: supercollider.cpp: sc_api_version = %d\n",sc_api_version);
> // #endif
> 
> 
> 
> 
> www.grond.at
> 
> On Tue, Mar 7, 2017 at 1:06 PM, Stéphane Letz  wrote:
> You may have to hack the faust2supercollider script, see how F2SC_DEBUG flag 
> is used, and possibly play with DNDEBUG also.
> 
> Stéphane
> 
> 
> > Le 7 mars 2017 à 18:50, Florian Grond  a écrit :
> >
> > Dear list,
> >
> > I am currently trying to put together SC3plugins based on Faust.
> > When I compile the .dsp files using the faust2supercollider script, all 
> > works fine.
> > When I try to keep the .cpp file by using the -d flag so that I can later 
> > add the .cpp + .sc  files to the SC3plugins repository and compile the 
> > repository, I get debug output from the Faust based plugins when I launch 
> > the server and when I launch a synth.
> > Is there a way to avoid this debug setting when compiling the SC3plugins or 
> > can I suppress the debug info when generating the CPP files from Faust code?
> >
> > Kind regards,
> >
> > Florian
> >
> >
> >
> >
> > www.grond.at
> > --
> > Announcing the Oxford Dictionaries API! The API offers world-renowned
> > dictionary content that is easy and intuitive to access. Sign up for an
> > account today to start using our lexical data to power your apps and
> > projects. Get started today and enter our developer competition.
> > http://sdm.link/oxford___
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] debug output

2017-03-07 Thread Stéphane Letz
You may have to hack the faust2supercollider script, see how F2SC_DEBUG flag is 
used, and possibly play with DNDEBUG also.

Stéphane


> Le 7 mars 2017 à 18:50, Florian Grond  a écrit :
> 
> Dear list,
> 
> I am currently trying to put together SC3plugins based on Faust.
> When I compile the .dsp files using the faust2supercollider script, all works 
> fine.
> When I try to keep the .cpp file by using the -d flag so that I can later add 
> the .cpp + .sc  files to the SC3plugins repository and compile the 
> repository, I get debug output from the Faust based plugins when I launch the 
> server and when I launch a synth. 
> Is there a way to avoid this debug setting when compiling the SC3plugins or 
> can I suppress the debug info when generating the CPP files from Faust code?
> 
> Kind regards,
> 
> Florian 
> 
> 
> 
> 
> www.grond.at
> --
> Announcing the Oxford Dictionaries API! The API offers world-renowned
> dictionary content that is easy and intuitive to access. Sign up for an
> account today to start using our lexical data to power your apps and
> projects. Get started today and enter our developer competition.
> http://sdm.link/oxford___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] 'faustbench' tool to test

2017-03-06 Thread Stéphane Letz
Hi All, 

For developers a new tool called ‘faustbench’ can be used to help find out the 
best compilation options for a given DSP program, using the C++ generated code 
and located in tools/benchmark folder. The faustbench script calls the Faust 
compiler with different compilation parameters, produces a set of .h files with 
different variant of the mydsp C++ class, and compiles them with a 
faustbench.cpp wrapper to produce an executable.  When running, the program 
will measure the DSP use of each code variant, and report the best set of 
compilation parameters. The tool can be used to create ready to use iOS 
projects, to be run in Xcode. Here is the description: 
https://github.com/grame-cncm/faust/tree/master/tools.

faustbench allows to test CPU use of DSP programs compiled with different 
compiler parameters:

- faustbench  runs the test for the given file.dsp
- faustbench -ios  produces an iOS project to be launched in Xcode

Available on master and faust2 branches.

Testing and report welcome !

Stéphane 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] Access to the FaustWeb compilation service to test

2017-03-01 Thread Stéphane Letz
FaustWeb github project is here : 

https://github.com/grame-cncm/faustservice/tree/dev

In this project now exists a « faustwebclient » program that can be used to 
remotely access the FaustWeb compilation service, send it a Faust DSP source, 
and get back the binary result for a given platform/target. 

https://github.com/grame-cncm/faustservice/tree/dev/client

Tested sur OSX, testing on Linux and general feedback welcome !

Stéphane 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] problems with Faust based ugens in SuperCollider

2017-02-24 Thread Stéphane Letz
 I guess .scx and the .sc file have to be placed in a specific location, don't 
remember the detail….

Stéphane

> Le 24 févr. 2017 à 15:21, Florian Grond  a écrit :
> 
> Here are a few more details investigating this:
> 
> macOS Sierra: 10.12.2 (16C67)
> 
> I have upgraded faust:
> 
> faust -v
> FAUST, DSP to C++ compiler, Version 0.9.96
> Copyright (C) 2002-2017, GRAME - Centre National de Creation Musicale. All 
> rights reserved. 
> 
> Also I have added the 3.8 SC sources they reside in 
> usr/local/include/SuperCollider
> 
> So typically when I run it first it throws the following error:
> 
> faust2supercollider HOAtest.dsp 
> HOAtest.cpp:53:10: fatal error: 'SC_PlugIn.h' file not found
> #include 
>  ^
> 1 error generated.
> 
> 
> Then I go to 
> usr/local/bin
> to the faust2supercollider script and change the following line:
> 
> SC0=$SUPERCOLLIDER_HEADERS
> SC1="/usr/local/include/SuperCollider/"
> 
>  to 
> 
> SC0=$SUPERCOLLIDER_HEADERS
> SC1="/usr/local/include/SuperCollider/include"
> 
> so that it finds the 'plugin_interface'
> 
> This has been always necessary ever since I use it 
> 
> Then it compiles and yields the .scx and the .sc files but the executable is 
> not found from the server after
> 
> s.boot
> 
> {Fausttest.ar()}.play 
> 
> And I tried it with SC3.7 and SC 3.8
> 
> Also when I use the online compiler, I have the same problem.
> 
> Any help much appreciated,
> 
> Best,
> 
> Florian
> 
> 
> 
> 
> 
> www.grond.at
> 
> On Fri, Feb 24, 2017 at 2:33 AM, Stéphane Letz  wrote:
> A crashing issue has been fixed 2 months ago 
> (https://github.com/grame-cncm/faust/commit/073a90e1ad5a21b32c80244e07b44e05b3fde3c7
>  and some other just before) and at that time I was able to test working 
> Ugens on OS X.
> 
> On which platform does it occur? I hope some other SC users here can then 
> help…
> 
> Stéphane
> 
> 
> > Le 24 févr. 2017 à 04:40, Florian Grond  a écrit :
> >
> > Dear List,
> >
> > I had successfully compiled Ugens from Faust into SuperCollider in the past.
> > However, I had to use an old Faust version.
> >  Now I still get the scx and the sc files.
> > The servers boots, but when I use the Faust based Ugens it says they are 
> > not installed.
> >
> > The reoccurring error is:
> > exception in GraphDef_Recv: UGen 'Faust...' not installed.
> >
> > However, the plugins are in the correct place. and the SC language class 
> > file of the Ugen works as it should
> >
> > Any idea what the problem could be would be much appreciated.
> >
> > Kind regards,
> >
> > Florian
> >
> >
> >
> > www.grond.at
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! 
> > http://sdm.link/slashdot___
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] problems with Faust based ugens in SuperCollider

2017-02-23 Thread Stéphane Letz
A crashing issue has been fixed 2 months ago 
(https://github.com/grame-cncm/faust/commit/073a90e1ad5a21b32c80244e07b44e05b3fde3c7
 and some other just before) and at that time I was able to test working Ugens 
on OS X.

On which platform does it occur? I hope some other SC users here can then help…

Stéphane 


> Le 24 févr. 2017 à 04:40, Florian Grond  a écrit :
> 
> Dear List,
> 
> I had successfully compiled Ugens from Faust into SuperCollider in the past.
> However, I had to use an old Faust version.
>  Now I still get the scx and the sc files.
> The servers boots, but when I use the Faust based Ugens it says they are not 
> installed.
> 
> The reoccurring error is:
> exception in GraphDef_Recv: UGen 'Faust...' not installed.
> 
> However, the plugins are in the correct place. and the SC language class file 
> of the Ugen works as it should  
> 
> Any idea what the problem could be would be much appreciated.
> 
> Kind regards,
> 
> Florian
> 
> 
> 
> www.grond.at
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! 
> http://sdm.link/slashdot___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust meets JUCE...

2017-02-23 Thread Stéphane Letz
Have you copied the produced folder in your « JUCE/examples » folder?

Stéphane 

> Le 23 févr. 2017 à 17:27, alfonso santimone  a 
> écrit :
> 
> Hi! Great news! Many thanks!
> At least i can generate 64 bit VST on windows i guess!
> I just generated a "dummy" plugin with the online compiler but Projucer 
> claims that
> error: C:\Users\Live Machine\Desktop\myFaustProgram\FaustPluginProcessor.cpp: 
> 'JuceLibraryCode/JuceHeader.h' file not found
> the header file is infact not included in the .zip files generated by the 
> online compiler.
> best
> a.
> 
> www.elgallorojorecords.com
> soundcloud.com/alfonsosantimone
> www.facebook.com/alfonsosantimone
> 
> On Wed, Feb 22, 2017 at 5:50 PM, Stéphane Letz  wrote:
> First official version, post here :  
> http://faust.grame.fr/news/2017/02/21/Faust-meets-JUCE.html
> 
> Stéphane
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] Faust meets JUCE...

2017-02-22 Thread Stéphane Letz
First official version, post here :  
http://faust.grame.fr/news/2017/02/21/Faust-meets-JUCE.html

Stéphane 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] faust2juce : new -plugin parameter

2017-02-11 Thread Stéphane Letz
JUCE plugins can now be generated, MIDI and OSC controlled, see: 

https://github.com/grame-cncm/faust/tree/master-dev/architecture/juce

Test and feedback on JUCE platforms welcome !

Stéphane
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] faust2juce to test

2017-02-06 Thread Stéphane Letz
Developed by Adrien Albouy over the last months, faust2juce is a new script to 
create JUCE projects from Faust DSP files. 

The command is explained here : 
https://github.com/grame-cncm/faust/tree/master-dev/architecture/jucer

Several architecture files have been created : 

- JuceGUI.h is used to create a GUI using JUCE widget system

- JuceOSCUI.h allows to control the DSP with OSC messages, using the JUCE OSC 
layer

- juce-midi.h connect the generic MidiUI.h MIDI control architecture with JUCE 
MIDI layer

faust2juce is currently able to produce standalone audio applications. 
Generating plugins is not yet possible. The code has been tested on OS X and 
iOS.

Test and feedback on other supported JUCE platforms welcome !

Stéphane
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive Error Messages

2017-01-23 Thread Stéphane Letz
Same thing, you’ll have to manually remove the "FaustLive-CurrentSession-2.0 » 
folder that is usually created in your « Documents »  folder, or your user 
account folder (don’t remember exactly right now…)

Stéphane


> Le 23 janv. 2017 à 15:43, Ming-Lun Lee  a écrit :
> 
> Dear Stéphane,
> 
> I met the same issue on my Windows laptops. How can I resolve it? Thank you.
> 
> Best,
> Ming-Lun
> 
> On Sun, Jan 22, 2017 at 7:47 AM, Ming-Lun Lee  
> wrote:
> Dear Stéphane,
> 
> It successfully resolved the issue. Thank you very much.
> 
> Best,
> Ming
> 
> Ming-Lun Lee
> Assistant Professor
> Department of Electrical and Computer Engineering
> Audio and Music Engineering
> University of Rochester
> 510 Computer Studies Building
> (585) 275-2120
> 
> On Sun, Jan 22, 2017 at 4:01 AM, Stéphane Letz  wrote:
> Old preference folder is probably the problem, open a terminal and run the 
> exact following command:
> 
> rm  -rf .FaustLive-CurrentSession-2.0
> 
> the will remove the hidden FaustLive preference on your user account.
> 
> Then start FL again.
> 
> Stéphane
> 
> 
> > Le 22 janv. 2017 à 05:51, Ming-Lun Lee  a écrit :
> >
> > Hi,
> >
> > I just installed the latest FaustLive (FaustLive-OSX-2.46) on my two 
> > Macbooks (Yosemite & Sierra). When I started FaustLive for the first time, 
> > both of them show the following error message in the "MESSAGE_WINDOW":
> >
> > ERROR (file effect.lib:288) : multiple definitions of symbol x
> > x = highpass;
> > x = pregain;
> >
> > Sometimes it also shows "Server Could not Start On Port 7778" and "Server 
> > Started on Port 7779".
> >
> > Does anyone know how to resolve these issues?  When I ran the "flute.dsp" 
> > example, it always showed the first error message. When I ran most of the 
> > other examples, they were working well.
> >
> > When I tested it with the earlier two versions of FaustLive 
> > (FaustLive-OSX-2.40 & FaustLive-OSX-2.44), both of them were running fine.
> >
> > Thank you.
> > Best,
> > Ming
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! 
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F-5F&d=DwIFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=tAbQrNooSRb1SP0W2zN-NTZ_rgFAk7EAImW1DpkV-_w&m=HpL6HcG_1uu7MeDtp0jyVtIrBtTSlvP-QZnQZbLmgN4&s=-EMn-3nZAlnbnUl5xZ_0-tFPHzhyEzOf7j58QQG2Lno&e=
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_faudiostream-2Dusers&d=DwIFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=tAbQrNooSRb1SP0W2zN-NTZ_rgFAk7EAImW1DpkV-_w&m=HpL6HcG_1uu7MeDtp0jyVtIrBtTSlvP-QZnQZbLmgN4&s=RhuvG32Dk7Bp7pvGsWKVTYLznq8dWdi9BwrCrKwmXPs&e=
> 
> 
> 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive Error Messages

2017-01-22 Thread Stéphane Letz
Old preference folder is probably the problem, open a terminal and run the 
exact following command:

rm  -rf .FaustLive-CurrentSession-2.0

the will remove the hidden FaustLive preference on your user account.

Then start FL again.

Stéphane 


> Le 22 janv. 2017 à 05:51, Ming-Lun Lee  a écrit :
> 
> Hi, 
> 
> I just installed the latest FaustLive (FaustLive-OSX-2.46) on my two Macbooks 
> (Yosemite & Sierra). When I started FaustLive for the first time, both of 
> them show the following error message in the "MESSAGE_WINDOW":
> 
> ERROR (file effect.lib:288) : multiple definitions of symbol x
> x = highpass;
> x = pregain;
> 
> Sometimes it also shows "Server Could not Start On Port 7778" and "Server 
> Started on Port 7779". 
> 
> Does anyone know how to resolve these issues?  When I ran the "flute.dsp" 
> example, it always showed the first error message. When I ran most of the 
> other examples, they were working well.
> 
> When I tested it with the earlier two versions of FaustLive 
> (FaustLive-OSX-2.40 & FaustLive-OSX-2.44), both of them were running fine.
> 
> Thank you.
> Best,
> Ming
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! 
> http://sdm.link/slashdot___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Beta of Faust WebAssembly backends to test

2017-01-17 Thread Stéphane Letz
Two custom backends written from scratch : the point is to have the complete 
compilation chain in the Web thus :

1) C++ libfaust compiled to libfaust.wasm using Emscripten (the way we already 
did to have a pure asm.js  libfaust.js file…)

2) this new custom wasm backend

This was we can have : Faust DSP ==> (libfaust.wasm including the asm backend) 
==> wasm code to wrap in a WebAudio API node.

Stéphane 


> Le 17 janv. 2017 à 12:36, Albert Graef  a écrit :
> 
> Hi Stéphane,
> 
> that's interesting news! Is this a custom backend written from scratch, or 
> does LLVM already provide this target?
> 
> Albert
> 
> On Fri, Jan 13, 2017 at 4:10 PM, Stéphane Letz  wrote:
> Hi All,
> 
> The faust2 branch now contains 2 WebAssembly backends (textual and binary). A 
> more complete post can be description here : 
> http://faust.grame.fr/news/2017/01/13/faust-webassembly.html
> 
> WebAssembly (http://webassembly.org) is still a fresh technology, as well as 
> the Faust backends, but we are interested to get feedback !
> 
> Stéphane
> 
> 
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> Faudiostream-devel mailing list
> faudiostream-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
> 
> 
> 
> -- 
> Dr. Albert Gr"af
> Computer Music Research Group, JGU Mainz, Germany
> Email:  aggr...@gmail.com
> WWW:https://plus.google.com/+AlbertGraef


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] Beta of Faust WebAssembly backends to test

2017-01-13 Thread Stéphane Letz
Hi All,

The faust2 branch now contains 2 WebAssembly backends (textual and binary). A 
more complete post can be description here : 
http://faust.grame.fr/news/2017/01/13/faust-webassembly.html

WebAssembly (http://webassembly.org) is still a fresh technology, as well as 
the Faust backends, but we are interested to get feedback !

Stéphane



--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] httpd inconsistency

2017-01-07 Thread Stéphane Letz
Have you tried if OSC control works on the same machine?

Otherwise I guess you’ll have to hack yourself the httpd wrapping code 
(architecture/faust/gui/httpdUI.h and implementation files in 
architecture/httpdlib), to understand where it stalls.

Stéphane 

> Le 7 janv. 2017 à 01:23, Peter Nyboer  a écrit :
> 
> I’ve successfully gotten some examples working with the CHIP computer with 
> faust, but I’m having some issues with httpd.
> I downloaded the latest code (0.9.95) got all the dependencies, and 
> successfully run `make all http` and `make install`. I modified the 
> faust2alsaconsole script with the appropriate GCC flags:
> MYGCCFLAGS="-O3 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=vfpv3-fp16 
> -mfloat-abi=hard -ffast-math -ftree-vectorize”
> and used that with the osc.dsp example in examples/generators
> Everything seemed to work out, but when I run “./osc” it usually stalls out 
> at the start:
> 
> $ ./osc
> HTTPD is on
> 
> I have at different times gotten it to work properly:
> $ ./osc
> HTTPD is on
> inputs : 0, outputs : 1
> NRT: sun4i-codec|0|1|44100|512|S32_LE
> Faust httpd server version 0.73 is running on TCP port 5510
> Type 'q' to quit
> 
> Is there a log or debugging I can engage to try to figure out where the 
> problem is?  I’ve tried different networks and other voodoo, without much 
> success.
> 
> Thanks,
> 
> Peter
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! 
> http://sdm.link/slashdot___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [faudiostream:discussion] FaustLive Doesn't work on Windows 10 x86

2017-01-05 Thread Stéphane Letz
Tested successfully here in Windows 10 64 bits installed on Virtual Box : have 
tout correctly run the installer (that first install FL then the Microsoft 
Visual C++ 12 redistributable) ?

Stéphane


> Le 2 janv. 2017 à 07:50, John Carlson  a écrit :
> 
> 
> 
> 
> ---
> 
> [FaustLive Doesn't work on Windows 10 
> x86](https://sourceforge.net/p/faudiostream/discussion/347046/thread/00458165/?limit=25#ca96/0394)
> 
> 
> ---
> 
> Sent from sourceforge.net because you indicated interest in 
> 
> 
> 
> 
> To unsubscribe from further messages, please visit 
> 


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] adaption to sample rate

2016-12-17 Thread Stéphane Letz
1) This code is correct, but you can also write like this (using the SR symbol 
defined in math.lib): 

phasor(f) = f/ma.SR : (+,1.0:fmod) ~ _ ;

2) Then architecture file you are using with this code will have to correctly 
gives the actual sample rate at runtime. This works correctly in FaustLive

I've just corrected something that can help on github master-dev branch: 
https://github.com/grame-cncm/faust. Can you  possibly check?

Stéphane

> Le 17 déc. 2016 à 13:16, Lervik Olav  a écrit :
> 
> Thank you for the response. Still kind of feel like a newbie in faust. Well 
> faust2faustvst does not seem to work if you want to have a VST instrument….
> How would I easily implement the SR symbol in the code? I started with the 
> very simple Organ Example from the faust website.
> 
> // Simple Organ
> import("stdfaust.lib");
> // Midi interface
> midigate  = button ("gate");  // MIDI 
> keyon-keyoff
> midifreq  = hslider("freq[unit:Hz]", 440, 20, 2, 1);  // MIDI keyon 
> key
> midigain  = hslider("gain", 0.5, 0, 10, 0.01);// MIDI keyon 
> velocity
> 
> process   = voice(midigate, midigain, midifreq) * hslider("volume", 0.5, 
> 0, 1, 0.01);
> 
> 
> // Implementation
> 
> phasor(f) = f/fconstant(int fSamplingFreq, ) : (+,1.0:fmod) ~ _ ;
> 
> osc(f)= phasor(f) * 6.28318530718 : sin;
> 
> timbre(freq)  = osc(freq) + 0.5 * osc(2.0*freq) + 0.25 * osc(3.0*freq);
> 
> envelop(gate, gain) = gate * gain : smooth(0.9995)
>   with { smooth(c) = * (1-c) : + ~ * (c) ; } ;
> 
> voice(gate, gain, freq) = envelop(gate, gain) * timbre(freq);
> 
> 
> 
>> On 17 Dec 2016, at 10:56, Stéphane Letz  wrote:
>> 
>> Assuming you are using the SR symbol (defined in math.lib library) in your 
>> code, and assuming the host actual sample rate is correctly given to the 
>> allocated DSP at runtime, it should work. For VST are you using 
>> faust2faustvast script? 
>> 
>> Stéphane 
>> 
>> 
>>> Le 17 déc. 2016 à 10:08, Lervik Olav  a écrit :
>>> 
>>> Hey,
>>> 
>>> my compiled VSTis and AUs from faust seem not to adapt to the sample rate. 
>>> Meaning, they play the right pitch, when the sample rate is at 44.1 but not 
>>> when it is at 48 kHz. Is this a bug or do I have to implement this in the 
>>> code?
>>> 
>>> thanks and cheers
>>> 
>>> olav
>>> 
>>> 
>>> —
>>> — 
>>> Zürcher Hochschule der Künste
>>> Zurich University of the Arts
>>> — 
>>> Olav Lervik
>>> ICST - Institute for Computer Music and Sound Technology
>>> 
>>> Toni-Areal, Pfingstweidstr. 96, Postfach, CH-8031 Zürich
>>> Mobil: +41 (0) 76 572 19 28
>>> olav.ler...@zhdk.ch
>>> —
>>> www.zhdk.ch / www.zhdk.ch/ftm
>>> —
>>> —
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most 
>>> engaging tech sites, SlashDot.org! 
>>> http://sdm.link/slashdot___
>>> Faudiostream-users mailing list
>>> Faudiostream-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>> 
> 


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] adaption to sample rate

2016-12-17 Thread Stéphane Letz
Assuming you are using the SR symbol (defined in math.lib library) in your 
code, and assuming the host actual sample rate is correctly given to the 
allocated DSP at runtime, it should work. For VST are you using faust2faustvast 
script? 

Stéphane 


> Le 17 déc. 2016 à 10:08, Lervik Olav  a écrit :
> 
> Hey,
> 
> my compiled VSTis and AUs from faust seem not to adapt to the sample rate. 
> Meaning, they play the right pitch, when the sample rate is at 44.1 but not 
> when it is at 48 kHz. Is this a bug or do I have to implement this in the 
> code?
> 
> thanks and cheers
> 
> olav
> 
> 
> —
> — 
> Zürcher Hochschule der Künste
> Zurich University of the Arts
> — 
> Olav Lervik
> ICST - Institute for Computer Music and Sound Technology
> 
> Toni-Areal, Pfingstweidstr. 96, Postfach, CH-8031 Zürich
> Mobil: +41 (0) 76 572 19 28
> olav.ler...@zhdk.ch
> —
> www.zhdk.ch / www.zhdk.ch/ftm
> —
> —
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! 
> http://sdm.link/slashdot___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Revisited DSP init model

2016-12-01 Thread Stéphane Letz
Old methods (init, instanceInit..) are and behave the same. Some new methods 
are added, so it it not supposed to break client code...

Stéphane

> Le 1 déc. 2016 à 17:05, Victor Lazzarini  a écrit :
> 
> Do we need to change the client code?
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
>> On 1 Dec 2016, at 15:59, Stéphane Letz  wrote:
>> 
>> Yes, all these new methods are also exported in LLVM dsp generated  (see the 
>> lllvm-dsp.h header file)
>> 
>> Stéphane 
>> 
>>> Le 1 déc. 2016 à 16:55, Victor Lazzarini  a écrit 
>>> :
>>> 
>>> Would that affect the Faust 2 JIT compiler and/or the API?
>>> 
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 15 Sep 2016, at 09:53, Stéphane Letz  wrote:
>>>> 
>>>> Hi all,
>>>> 
>>>> We have revisited the generated DSP « init »  code to allow a finer 
>>>> control of the different init phases.
>>>> 
>>>> Up to now the Faust compiler generated the « init » method  has the 
>>>> following shape :
>>>> 
>>>> virtual void init(int samplingFreq) {
>>>>   classInit(samplingFreq);
>>>>   instanceInit(samplingFreq);
>>>> }
>>>> 
>>>> where « classInit » is initializing data (like readtables..) shared 
>>>> between all instances of the DSP class,
>>>> where « instanceInit » is initializing data for the given instance.
>>>> 
>>>> «  instanceInit » has been splitted in 3 new public methods:
>>>> 
>>>>   - instanceConstants(samplingFreq); that computes constants values, 
>>>> tables… for the instance
>>>> 
>>>>   - instanceResetUserInterface(); that reset user interface elements to 
>>>> their default values
>>>> 
>>>>   - instanceClear(); that clears internal delay lines..etc…
>>>> 
>>>> virtual void instanceInit(int samplingFreq) {
>>>>   instanceConstants(samplingFreq);
>>>>   instanceResetUserInterface();
>>>>   instanceClear();
>>>> }
>>>> 
>>>> This way architecture files may decide to use any of the new methods for 
>>>> finer control of the DSP internal state during it's life cycle. The new 
>>>> generated code does not change the current behavior of the init call, thus 
>>>> does not break any architecture file. 
>>>> 
>>>> The new generated code model has been done in both master and faust2 
>>>> branches.
>>>> 
>>>> Stéphane
>>>> --
>>>> ___
>>>> Faudiostream-users mailing list
>>>> Faudiostream-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>> 
>> 


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


Re: [Faudiostream-users] Revisited DSP init model

2016-12-01 Thread Stéphane Letz
Yes, all these new methods are also exported in LLVM dsp generated  (see the 
lllvm-dsp.h header file)

Stéphane 

> Le 1 déc. 2016 à 16:55, Victor Lazzarini  a écrit :
> 
> Would that affect the Faust 2 JIT compiler and/or the API?
> 
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 15 Sep 2016, at 09:53, Stéphane Letz  wrote:
>> 
>> Hi all,
>> 
>> We have revisited the generated DSP « init »  code to allow a finer control 
>> of the different init phases.
>> 
>> Up to now the Faust compiler generated the « init » method  has the 
>> following shape :
>> 
>> virtual void init(int samplingFreq) {
>>  classInit(samplingFreq);
>>  instanceInit(samplingFreq);
>> }
>> 
>> where « classInit » is initializing data (like readtables..) shared between 
>> all instances of the DSP class,
>> where « instanceInit » is initializing data for the given instance.
>> 
>> «  instanceInit » has been splitted in 3 new public methods:
>> 
>>  - instanceConstants(samplingFreq); that computes constants values, 
>> tables… for the instance
>> 
>>  - instanceResetUserInterface(); that reset user interface elements to 
>> their default values
>> 
>>  - instanceClear(); that clears internal delay lines..etc…
>>  
>> virtual void instanceInit(int samplingFreq) {
>>  instanceConstants(samplingFreq);
>>  instanceResetUserInterface();
>>  instanceClear();
>> }
>> 
>> This way architecture files may decide to use any of the new methods for 
>> finer control of the DSP internal state during it's life cycle. The new 
>> generated code does not change the current behavior of the init call, thus 
>> does not break any architecture file. 
>> 
>> The new generated code model has been done in both master and faust2 
>> branches.
>> 
>> Stéphane
>> --
>> ___
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 


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


Re: [Faudiostream-users] faust2supercollider with supercollider 3.8 c++11

2016-11-17 Thread Stéphane Letz
The problem is not in Faust generated code AFAICS, it seems that log2 in not 
found in the SuperCollider SC_InlineUnaryOp.h header. Possibly a missing header 
 ? Try to add #include  in this file.

(Up to now the Faust generated code does not used any specific «  c++11 » 
feature)

Stéphane


> Le 17 nov. 2016 à 20:24, Ali Rasulovitch  a écrit :
> 
> Hi all,
> These days I compiled new SC 3.8
> and latest faust code following instructions from 
> https://ccrma.stanford.edu/~rmichon/faustWorkshops/2016/#installFaust
> 
> when I try to compile my .dsp file like 
> faust2supercollider file.dsp
> I get output as follows:
> 
> In file included from 
> /usr/local/include/SuperCollider/plugin_interface/SC_PlugIn.h:30:0,
>  from allpass_jot_w_atten_nicer.cpp:35:
> /usr/local/include/SuperCollider/plugin_interface/SC_InlineUnaryOp.h: In 
> function ‘float32 sc_log2(float32)’:
> /usr/local/include/SuperCollider/plugin_interface/SC_InlineUnaryOp.h:83:9: 
> error: ‘log2’ is not a member of ‘std’
>   return std::log2(x);
>  ^
> /usr/local/include/SuperCollider/plugin_interface/SC_InlineUnaryOp.h:83:9: 
> note: suggested alternative:
> In file included from /usr/include/features.h:367:0,
>  from 
> /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
>  from 
> /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
>  from /usr/include/c++/5/bits/stl_algobase.h:59,
>  from /usr/include/c++/5/bits/stl_tree.h:63,
>  from /usr/include/c++/5/map:60,
>  from allpass_jot_w_atten_nicer.cpp:32:
> /usr/include/x86_64-linux-gnu/bits/mathcalls.h:144:1: note:   ‘log2’
>  __MATHCALL (log2,, (_Mdouble_ __x));
>  ^
> In file included from 
> /usr/local/include/SuperCollider/plugin_interface/SC_PlugIn.h:30:0,
>  from allpass_jot_w_atten_nicer.cpp:35:
> /usr/local/include/SuperCollider/plugin_interface/SC_InlineUnaryOp.h: In 
> function ‘float32 sc_trunc(float32)’:
> /usr/local/include/SuperCollider/plugin_interface/SC_InlineUnaryOp.h:240:9: 
> error: ‘trunc’ is not a member of ‘std’
>   return std::trunc(x);
>  ^
> etc
> 
> As I got it the reason is that faust compiler should be instructed to use 
> kind of "-std=c++11"
> 
> How can I achieve that with faust2supercollider script?
> --
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


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


[Faudiostream-users] Faust git tree moved to Github

2016-11-09 Thread Stéphane Letz
Hi All,

We finally moved Faust git tree to Github, available here : 
https://github.com/grame-cncm/faust.

In the process we had to clean the Source Forge tree that has some huge files 
(after some old incorrect commits…) which could not be moved to GitHub.

WARNING : contributors, please start with a fresh cloned tree in order to avoid 
using some old state from the Source Forge tree.

Stéphane
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Errors upgrading projects to new libraries

2016-11-08 Thread Stéphane Letz
typo at line 101 :

‘de.delay' should be ‘delay'.

Stéphane


> Le 8 nov. 2016 à 22:11, Oliver Larkin  a écrit :
> 
> Hello,
> 
> I was trying to upgrade my faust Tambura model, but unfortunately I had a few 
> problems.
> 
> First of all I don’t seem tp be able to include maxmsp.lib without an error 
> about if. Can’t work out the issue.
> 
> BoxIdent[if] is defined here : basic.lib:475
> 
> second issue is that my code no longer compiles
> 
> Error in sequential composition (A:B)
> The number of outputs (1) of A = +
> must be equal to the number of inputs (3) of B : 
> \(x416).(\(x417).(\(x418).(x418,((x417 : int),(x416,1 : -) : &) : @)))
> 
> 
>  I’ve uploaded the changes here if anyone can see what I doing wrong. 
> Unfortunately Faust gives me no clue where this error in sequential 
> composition is!
> 
> https://github.com/olilarkin/Tambura/commit/cca6c429f98e293411faa5258a2c651478c86f6d
> 
> 
>  Thanks,
> 
> Oli
> 
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. 
> http://sdm.link/xeonphi___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Script to convert code to the new libraries.

2016-10-20 Thread Stéphane Letz
> 
> And a related question to the devs:
> Could you do a release of faust 2 that has the new libraries?
> That would make the lives of packagers easier.
> 
> Thanks,
> Bart.
> 

Done on https://sourceforge.net/projects/faudiostream/files/

File is faust-2.0.a52.tgz

Stéphane 


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faustlive says "Impossible to init CoreAudio Client" ?

2016-10-19 Thread Stéphane Letz
Try FaustLive-OSX-2.44.dmg from here : 
https://sourceforge.net/projects/faudiostream/files/

Stéphane 


> Le 19 oct. 2016 à 20:18, Mykle Hansen  a écrit :
> 
> Hi,
> 
> About a year ago, it seemed that the only way to get FaustLive working on 
> OS X 10.11 was via macports.  Is that still the recommended install method?
> 
> I’ve just installed the latest faustlive-devel package, from macports, onto a 
> mac
> running El Capitan 10.11.6.  Now I can launch Faustlive, but when I try to 
> open any
> formula I get a popup with the aforementioned error: “impossible to init 
> coreaudio client”.
> 
> What is that error about?  How can I address it?  When I try to use Google I 
> only find the Faust source code.  CoreAudio is working just fine for the rest 
> of OS X.
> 
> Thanks for any advice,
> -mykle-
> 
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] using faust online compiler with a script

2016-10-05 Thread Stéphane Letz
Hi Pierre,

The access to the online compiler is certainly something we’ll make officially 
public at some point, probably by published a document API to be used either 
from JavaScript, C/C++ library (using « libcurl » to build the appropriate 
URLs) or even script based usages. 

Stéphane 


> Le 27 sept. 2016 à 16:44, Pierre Lecomte  a écrit :
> 
> Hello,
> I'm wondering if it is possible to use faust online compiler with a script 
> (php) : the script could send the .dsp file, set the compilation parameters 
> and 
> download back the executable file. I was thinking doing that with HTTP 
> requests... is there any help with that somewhere ?
> 
> It looks like what FaustLive is doing I guess, but the idea here is obtain an 
> exec file from a website, without the need to have local installation of 
> Faust 
> or FaustLive , for users who just want the exec, without seeing a line of 
> code.. :p
> 
> Thank you!
> 
> Pierre
> 
> --
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] 'inf' was not declared in this scope

2016-09-23 Thread Stéphane Letz
The generated C++ code is incorrect (see this "(inf.0f * (float)input1[i]))) » 
subexpression), so probably a bug in the compiler.

Stéphane 


> Le 23 sept. 2016 à 13:28, Pierre Lecomte  a écrit :
> 
> import("stdfaust.lib");
> process=(_*cos(1/2*ma.PI)^3,_,_*cos(-1/2*ma.PI)^3):>_;


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


Re: [Faudiostream-users] osc compilation issue

2016-09-22 Thread Stéphane Letz
You’ll probably to play with compiler/link options in OSC Makefile in 
architecture/osclib/Makefile, like adding -std=c++11…etc….

Stéphane


> Le 21 sept. 2016 à 10:03, Pierre Lecomte  a écrit :
> 
> Hello,
>> Probably « yet another lib++/libstdc++ or c++11 » related compilation issue
>> : which OS X version? which Xcode/clang versions?
> 
> Linux Ubuntu 16.04
> clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
> 
> Thanks.
> Pierre
> 
>> Thanks.
>> 
>> Stéphane
>> 
>>> Le 20 sept. 2016 à 13:10, Pierre Lecomte  a écrit
>>> :
>>> 
>>> Hello,
>>> I've got some issues when trying to compile some code with osc aliases :
>>> 
>>> test.dsp:
>>> 
>>> import("stdfaust.lib");
>>> process=_*hslider("Gain[osc:/gain 0 10]", 0, 0, 10, 0.01);
>>> 
>>> faust2jaqt -osc test.dsp returns :
>>> 
>>> test.o: dans la fonction « void
>>> oscfaust::FaustFactory::addAlias(std::__cxx11::basic_string>> std::char_traits, std::allocator > const&, float*, float,
>>> float, float, float, float, char const*) »:
>>> test.cpp:
>>> (.text._ZN8oscfaust12FaustFactory8addAliasIfEEvRKNSt7__cxx1112basic_string
>>> IcSt11char_traitsIcESaIcEEEPT_SA_SA_SA_SA_SA_PKc[_ZN8oscfaust12FaustFactor
>>> y8addAliasIfEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_SA
>>> _SA_SA_SA_SA_PKc] +0x25a): référence indéfinie vers «
>>> oscfaust::MessageDriven::getOSCAddress[abi:cxx11]() const »
>>> test.o: dans la fonction « void
>>> oscfaust::FaustFactory::addnode(char
>>> const*, float*, float, float, float, bool, bool) »:
>>> test.cpp:
>>> (.text._ZN8oscfaust12FaustFactory7addnodeIfEEvPKcPT_S4_S4_S4_bb[_ZN8oscfau
>>> st12FaustFactory7addnodeIfEEvPKcPT_S4_S4_S4_bb] +0xbb): référence
>>> indéfinie vers «
>>> oscfaust::MessageDriven::getOSCAddress[abi:cxx11]() const »
>>> test.o:(.rodata._ZTVN8oscfaust9FaustNodeIfEE[_ZTVN8oscfaust9FaustNodeIfEE]
>>> +0x28): référence indéfinie vers «
>>> oscfaust::MessageDriven::propose(oscfaust::Message const*,
>>> oscfaust::OSCRegexp const*, std::__cxx11::basic_string>> std::char_traits,
>>> std::allocator >) »
>>> collect2: error: ld returned 1 exit status
>>> make: *** [test] Erreur 1
>>> 
>>> However, I've got the library file
>>> 
>>> /usr/local/lib/libOSCFaust.a
>>> 
>>> on my local installation..
>>> 
>>> Any ideas ?
>>> 
>>> Thanks,
>>> Pierre
>>> 
>>> --
>>>  ___
>>> Faudiostream-users mailing list
>>> Faudiostream-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 


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


Re: [Faudiostream-users] osc compilation issue

2016-09-20 Thread Stéphane Letz
Probably « yet another lib++/libstdc++ or c++11 » related compilation issue : 
which OS X version? which Xcode/clang versions?

Thanks.

Stéphane


> Le 20 sept. 2016 à 13:10, Pierre Lecomte  a écrit :
> 
> Hello,
> I've got some issues when trying to compile some code with osc aliases :
> 
> test.dsp:
> 
> import("stdfaust.lib");
> process=_*hslider("Gain[osc:/gain 0 10]", 0, 0, 10, 0.01);
> 
> faust2jaqt -osc test.dsp returns :
> 
> test.o: dans la fonction « void 
> oscfaust::FaustFactory::addAlias(std::__cxx11::basic_string std::char_traits, std::allocator > const&, float*, float, float, 
> float, float, float, char const*) »:
> test.cpp:
> (.text._ZN8oscfaust12FaustFactory8addAliasIfEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_SA_SA_SA_SA_SA_PKc[_ZN8oscfaust12FaustFactory8addAliasIfEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_SA_SA_SA_SA_SA_PKc]
> +0x25a): référence indéfinie vers « 
> oscfaust::MessageDriven::getOSCAddress[abi:cxx11]() const »
> test.o: dans la fonction « void oscfaust::FaustFactory::addnode(char 
> const*, float*, float, float, float, bool, bool) »:
> test.cpp:
> (.text._ZN8oscfaust12FaustFactory7addnodeIfEEvPKcPT_S4_S4_S4_bb[_ZN8oscfaust12FaustFactory7addnodeIfEEvPKcPT_S4_S4_S4_bb]
> +0xbb): référence indéfinie vers « 
> oscfaust::MessageDriven::getOSCAddress[abi:cxx11]() const »
> test.o:(.rodata._ZTVN8oscfaust9FaustNodeIfEE[_ZTVN8oscfaust9FaustNodeIfEE]
> +0x28): référence indéfinie vers « 
> oscfaust::MessageDriven::propose(oscfaust::Message const*, 
> oscfaust::OSCRegexp 
> const*, std::__cxx11::basic_string, 
> std::allocator >) »
> collect2: error: ld returned 1 exit status
> make: *** [test] Erreur 1
> 
> However, I've got the library file
> 
> /usr/local/lib/libOSCFaust.a
> 
> on my local installation..
> 
> Any ideas ?
> 
> Thanks,
> Pierre
> 
> --
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


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


[Faudiostream-users] Revisited DSP init model

2016-09-15 Thread Stéphane Letz
Hi all,

We have revisited the generated DSP « init »  code to allow a finer control of 
the different init phases.

Up to now the Faust compiler generated the « init » method  has the following 
shape :

virtual void init(int samplingFreq) {
classInit(samplingFreq);
instanceInit(samplingFreq);
}

where « classInit » is initializing data (like readtables..) shared between all 
instances of the DSP class,
where « instanceInit » is initializing data for the given instance.

«  instanceInit » has been splitted in 3 new public methods:

- instanceConstants(samplingFreq); that computes constants values, 
tables… for the instance

- instanceResetUserInterface(); that reset user interface elements to 
their default values

- instanceClear(); that clears internal delay lines..etc…

virtual void instanceInit(int samplingFreq) {
instanceConstants(samplingFreq);
instanceResetUserInterface();
instanceClear();
}

This way architecture files may decide to use any of the new methods for finer 
control of the DSP internal state during it's life cycle. The new generated 
code does not change the current behavior of the init call, thus does not break 
any architecture file. 

The new generated code model has been done in both master and faust2 branches.

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


[Faudiostream-users] 'bench-llvm' tool to test

2016-09-09 Thread Stéphane Letz
Hi All,

I’ve restructured and make public code we had to do DSP CPU benchmarks. For 
developers a new tool called 'bench-llvm’ can be used to help find out the best 
compilation options for a given DSP program.

On Faust2 branch and assuming Faust/LLVM are correctly compiled an installed 
do, 

cd benchmark

make bench-llvm && sudo make install 

Then bench-llvm foo.dsp can be used to discover best compilation options, like 
for instance :

bench-llvm freeverb.dsp that gives :

Discover best parameters option
 -scal : 86.2888
 -vec -lv 0 -vs 4 : 176.712
 -vec -lv 0 -vs 8 : 202.025
 -vec -lv 0 -vs 16 : 215.681
 -vec -lv 0 -vs 32 : 212.01
 -vec -lv 0 -vs 64 : 217.916
 -vec -lv 0 -vs 128 : 206.906
 -vec -lv 0 -vs 256 : 149.128
 -vec -lv 0 -vs 512 : 153.923
 -vec -lv 1 -vs 4 : 162.558
 -vec -lv 1 -vs 8 : 201.7
 -vec -lv 1 -vs 16 : 209.534
 -vec -lv 1 -vs 32 : 214.032
 -vec -lv 1 -vs 64 : 210.461
 -vec -lv 1 -vs 128 : 205.331
 -vec -lv 1 -vs 256 : 145.351
 -vec -lv 1 -vs 512 : 145.588
 -vec -lv 0 -vs 4 -dfs : 172.634
 -vec -lv 0 -vs 8 -dfs : 204.772
 -vec -lv 0 -vs 16 -dfs : 229.479
 -vec -lv 0 -vs 32 -dfs : 221.281
 -vec -lv 0 -vs 64 -dfs : 216.011
 -vec -lv 0 -vs 128 -dfs : 208.13
 -vec -lv 0 -vs 256 -dfs : 153.893
 -vec -lv 0 -vs 512 -dfs : 151.132
 -vec -lv 1 -vs 4 -dfs : 164.406
 -vec -lv 1 -vs 8 -dfs : 202.688
 -vec -lv 1 -vs 16 -dfs : 211.306
 -vec -lv 1 -vs 32 -dfs : 211.62
 -vec -lv 1 -vs 64 -dfs : 210.413
 -vec -lv 1 -vs 128 -dfs : 210.301
 -vec -lv 1 -vs 256 -dfs : 147.78
 -vec -lv 1 -vs 512 -dfs : 145.636
Refined with -mcd
 -vec -lv 0 -vs 16 -dfs -mcd 2 : 222.197
 -vec -lv 0 -vs 16 -dfs -mcd 4 : 215.45
 -vec -lv 0 -vs 16 -dfs -mcd 8 : 216.117
 -vec -lv 0 -vs 16 -dfs -mcd 16 : 225.706
 -vec -lv 0 -vs 16 -dfs -mcd 32 : 228.542
 -vec -lv 0 -vs 16 -dfs -mcd 64 : 219.499
 -vec -lv 0 -vs 16 -dfs -mcd 128 : 213.928
 -vec -lv 0 -vs 16 -dfs -mcd 256 : 176.189
Best compilation parameters for 'freeverb.dsp' are : -vec -lv 0 -vs 16 -dfs 
-mcd 32 value = 228.542

It would be helpful if the tool can be tested on various DSP, see how ‘stable’ 
it is (that is find out similar options each run…)

Several classes : time_bench, measure_dsp (in faust/dsp/dsp-bench.h) and 
dsp_optimizer (in faust/dsp/dsp-optimizer.h) can possibly be used to 
dynamically find out best options in programs using libfaust based dynamic 
compilation chain.

Thanks.

Stéphane



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


Re: [Faudiostream-users] segfault with latest git faust2

2016-09-08 Thread Stéphane Letz

> Le 8 sept. 2016 à 12:24, victor.lazzar...@nuim.ie a écrit :
> 
> Hi Stéphane,
> 
> here is what I did for OSX 10.11 to get faust2 built and installed:
> 
> 1. Got LLVM 3.7.1 sources.
> 2. To build it: at the top level sources
> $ mkdir build ; cd build
> $ cmake -DLLVM_ENABLE_RTTI=ON ..
> $ make 
> $ sudo make install

OK so not using the macports version.

> 
> 3. Got Faust, faust2 branch
> 4. I needed to edit compiler/Makefile.unix
> 
>- ARCHFLAGS:=  -arch x86_64 -arch i386
>+ ARCHFLAGS:=  -arch x86_64
> 
>-  $(CXX) $(CXXFLAGS) $(LDFLAGS) $(objects) main.o libcode.o global.o 
> `$(LLVM_CONFIG) --ldflags` $(LLVMLIBS) $(CLANGLIBS) -lcrypto -o faust
>+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(objects) main.o libcode.o global.o 
> `$(LLVM_CONFIG) --ldflags --libs` $(LLVMLIBS) $(CLANGLIBS) -lcrypto -o faust
> 
> (I reckon 10.11 has drop i386 support, that’s why; and 
> the LLVM libs were not being passed to the linker).
> 
> 5. then just make; sudo make install

Still compiling the 32 bits version here, since we want to keep the faustgen~ 
object support for 32 bits MAX 7...

> 
> Working well. I got a faust MIDI instrument working.
> 
> PS: - I also noticed that the online compiler is not packaging the QT 
> dependencies within the bundle, making it
> impossible to run the app if do not have them. It’s also not possible to 
> install QT4 on OSX 10.11 (5.7 is the latest; 4.* won’t even
> build from sources).

Yes, I think Yann did somme work for that but I guess this is not deployed yet.

Stéphane 


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


Re: [Faudiostream-users] segfault with latest git faust2

2016-09-07 Thread Stéphane Letz
Cannot link with latest LLVM 3.8.1 from macports here… hum...

But LLVM  3.7.1 works.

Stéphane


> Le 7 sept. 2016 à 15:34, victor.lazzar...@nuim.ie a écrit :
> 
> This seems related to Kjetil’s issues 
> 
> https://sourceforge.net/p/faudiostream/mailman/message/35145821/
> 
> I found this by googling. Do I need to apply the patches, or have they been
> incorporated already?
> 
> 
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 7 Sep 2016, at 14:11, Stéphane Letz  wrote:
>> 
>> OSX ? Linux ?
>> 
>>> Le 7 sept. 2016 à 15:06, victor.lazzar...@nuim.ie a écrit :
>>> 
>>> Ok. Thanks. LLVM 3.8 gives me this now when trying to link faust
>>> 
>>> undefined symbols for architecture x86_64:
>>> "typeinfo for llvm::Instruction", referenced from:
>>>typeinfo for llvm::SelectInst in llvm_code_container.o
>>> "typeinfo for llvm::ObjectCache", referenced from:
>>>typeinfo for FaustObjectCache in llvm_dsp_aux.o
>>> "typeinfo for llvm::CmpInst", referenced from:
>>>typeinfo for llvm::FCmpInst in llvm_code_container.o
>>> ld: symbol(s) not found for architecture x86_64
>>> 
>>> Do you know anything about these? Looks an LLVM install problem but it 
>>> built and installed fine.
>>> ====
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 7 Sep 2016, at 09:53, Stéphane Letz  wrote:
>>>> 
>>>> Not really  but who knows? ((-,
>>>> 
>>>> Another possible issue is mismatch between libc++ and linstdc++ (this « 
>>>> string" trace could say …)
>>>> 
>>>> Stéphane
>>>> 
>>>> 
>>>>> Le 7 sept. 2016 à 10:48, victor.lazzar...@nuim.ie a écrit :
>>>>> 
>>>>> OK, did you see anything from the backtrace that might indicate an LLVM 
>>>>> issue?
>>>>> 
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>> 
>>>>>> On 7 Sep 2016, at 09:45, Stéphane Letz  wrote:
>>>>>> 
>>>>>> Possibly try a newer LLVM version also (up to 3.8 should work)
>>>>>> 
>>>>>> Stéphane
>>>>>> 
>>>>>>> Le 7 sept. 2016 à 10:43, victor.lazzar...@nuim.ie a écrit :
>>>>>>> 
>>>>>>> The debug build did not yield any clearer lldb outputs.
>>>>>>> 
>>>>>>> Dr Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952 
>>>>>>> 
>>>>>>>> On 7 Sep 2016, at 09:40, victor.lazzar...@nuim.ie wrote:
>>>>>>>> 
>>>>>>>> LLVM 3.2, any DSP.
>>>>>>>> 
>>>>>>>> The funny thing is that I went to rebuild the older version I had and 
>>>>>>>> it also segfaults, so it could be something
>>>>>>>> to do with moving to 10.11. The version I build on 10.10 last year was 
>>>>>>>> working fine until I tried the update.
>>>>>>>> 
>>>>>>>> I am building now with -g and no optimisation to see if I get a 
>>>>>>>> clearer debug line for you.
>>>>>>>> 
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952 
>>>>>>>> 
>>>>>>>>> On 7 Sep 2016, at 09:32, Stéph

Re: [Faudiostream-users] [Error] running faust-stk examples with .h files in FaustLive

2016-08-10 Thread Stéphane Letz
Yes, this is a current limitation of FL that internally uses the LLVM backend 
for dynamic compilation. The LLVM backend does not contains a full C/C++ 
compiler that would be needed to compile externally defined C/C++ functions. 

Stéphane


> Le 10 août 2016 à 14:48, Elecoustics  a écrit :
> 
> Hello all, 
> 
> I’ve been using Faust for 2-3 months and I really fascinated by the program! 
> but today I encountered a problem. 
> 
> I tried to run some faust-stk examples which uses external .h files 
> (ffunction) in FaustLive, but all of the examples doesn’t work with this kind 
> of message
> 
> “ Program used external function '_getValueBassLoopFiltera1' which could not 
> be resolved! “ .
> 
> with faust2supercollider or other faust2*** looks like it works,  but with 
> FaustLive it doesn’t work
> 
> is the FaustLive not able to handle external functions and .h files?
> 
> if anyone knows solution, please let me know
> 
> 
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. http://sdm.link/zohodev2dev
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive crashes with "Illegal instruction (core dumped)"

2016-07-22 Thread Stéphane Letz
Do you have a more complete crash log (= core dump) to send?

Thanks.

Stéphane

> Le 22 juil. 2016 à 16:46, free-creations  a écrit :
> 
> Hi,
> 
> I tried to follow Romain Michon's Faust Workshop that can be found on:
> 
> https://ccrma.stanford.edu/~rmichon/faustWorkshops/course2015/
> 
> As indicated there, I compiled and installed Faust2 and FaustLive. I did 
> this on an Oracle VirtualBox 4.3 running Ubuntu Studio xenial 16.04.1 .
> 
> 
> All seemed to have worked well.
> 
> In FaustLive I open a .dsp file which contains this single line:
> 
> process = _;
> 
> Then I have a new plugin in Jack which works as expected.
> 
> 
> But when I change the above line to:
> 
> process = +;
> 
> The FaustLive user-interface disappears and I get on the console:
> 
>> Illegal instruction (core dumped)
> 
> 
> Cheers,
> 
> Harald
> 
> 
> 
> 
> 
> 
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Onset/beat/tempo detection in Faust?

2016-07-19 Thread Stéphane Letz
Nobody we know of… This would be great to have this added in Faust libs...

Stéphane

> Le 15 juil. 2016 à 21:32, Mykle Hansen  a écrit :
> 
> Hi,
> 
> The richness of the Stanford STK ported to Faust is such that I've gotten 
> used to assuming any signal processing tool I could want is in there ... But 
> I'm hunting around for some tempo/beat detection algorithm, and not finding 
> it in the standard libraries. Am i missing something? I might not have the 
> right terminology.  I'm looking ideally for a faust filter that takes a 
> signal in, and eventually emits impulses in sync with the detected/predicted 
> beat points of the music it's listening to.
> 
> Easy to describe, harder to do.  But I've found at least a few published 
> papers describing algorithms/approaches for this. And I found aubio, a 
> c++-based open source library for doing that kind of detection.  If none of 
> that technology is connected to Faust yet, I'd like to make it so!  But 
> first, is anyone else working on this?
> 
> -mykle-
> --
> IM IN MY IPHON MISPELIN UR W0RDZ
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust: 10 Questions

2016-07-05 Thread Stéphane Letz
Answering some of them:

> Question 7:
> When Faust repo (git) is modified, these modifications are included in 
> FaustLive repo (MacPorts) too?

Albert Greaf does that for time to time

> 
> Question 8:
> In Terminal, all applications "faust2xxx" doesn't have a --help.
> How can I know the right arguments of each application?

1) hoping the people that wrote the « faust2xxx » tools will finally document 
them...

2) in the meantime reading the faust2xxx code in tools/faust2appls…(which is 
not always easy to understand for sure)

Stéphane
--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Ann: Develop Faust programs inside the Radium music editor

2016-06-28 Thread Stéphane Letz
Written in Elm : very interesting, is the Elm source code visible somewhere?

Thanks.

Stéphane

> Le 28 juin 2016 à 12:48, Michael Bylstra  a écrit :
> 
> Hi,
> 
> This looks great. I've been working on something kind of similar for the web. 
> Well, just the editor functionality is similar -  it's not a full featured 
> DAW. It's very much a work in progress but you can see a version here: 
> http://michaelbylstra.com/faust-instant/
> 
> I also considered making Faust programs compile as you type, but compilation 
> in a browser is a bit too slow for that. I opted for making compile respond 
> to the CTRL-ENTER key combination, like SuperCollider. I also find it 
> annoying to have to click a compile button to hear results as you type.
> 
> "Faust Instant" doesn't offer anything you can't already do with the online 
> compiler or the Faust Playground, and it's missing most of their 
> functionality. My motivation was that I wanted something super simple that's 
> really easy for new users (like myself) to get up and running with. It also 
> happens to be written in the Elm programming language - so it was a good 
> excuse to write some Elm. I'm hoping it will evolve into an equivalent of 
> ShaderToy (of https://www.shadertoy.com/) so people can share Faust 
> instruments and demos. 
> 
> cheers!
> 
> 
> 
> On Fri, Jun 24, 2016 at 4:00 AM, Kjetil Matheussen  
> wrote:
> Hello all,
> 
> With the help of libfaust, you can now develop programs within
> the Radium music editor. This has several advantages:
> 
> * Hear (and see) immediately the changes while writing.
>   I.e. realtime compilation. No "compile" button.
> 
> (Hmm, I guess "several advantages" was a bit exaggerated,
> considering it's only one, but it's a quite big one though,
> I think.)
> 
> Here's a video:
> https://www.youtube.com/watch?v=LJm9Lox1WFA
> 
> Radium is available here:
> http://users.notam02.no/~kjetism/radium/
> 
> This feature is available in the latest version of Radium (V3.9.4)
> for Linux, Mac OS X, and Windows 64 bit.
> 
> 
> --
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 
> --
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive Crash

2016-06-18 Thread Stéphane Letz
You are hitting a bug in the compiler, here is the crash log;

Exception Type:EXC_ARITHMETIC (SIGFPE)
Exception Codes:   EXC_I386_DIV (divide by zero)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   faust   0x000101ba91f4 
divExtendedNums(CTree*, CTree*) + 164
1   faust   0x000101b86c62 
mterm::operator/=(CTree*) + 50
2   faust   0x000101b8665b 
mterm::operator*=(CTree*) + 171
3   faust   0x000101b868b5 mterm::mterm(CTree*) 
+ 69
4   faust   0x000101b8512c 
aterm::operator+=(CTree*) + 156
5   faust   0x000101b851b6 aterm::aterm(CTree*) 
+ 38
6   faust   0x000101b88b76 
normalizeAddTerm(CTree*) + 38
7   faust   0x000101b8a036 
simplification(CTree*) + 678
8   faust   0x000101b89822 sigMap(CTree*, 
CTree* (*)(CTree*), CTree*) + 322
9   faust   0x000101b897d0 sigMap(CTree*, 
CTree* (*)(CTree*), CTree*) + 240

Yann the compiler should protect against that yes?

Stéphane

> Le 18 juin 2016 à 22:06, Nycholas Maia  a écrit :
> 
> Ahh...just to you have sure that my code is correct, I'm sending to you now...
> 
> import ("music.lib");
> import("instrument.lib");
> 
> // voice parameters
> freq = nentry("freq", 440, 20, 2, 1); // Hz
> gain = nentry("gain", 1, 0, 10, 0.01); // %
> gate = button("gate"); // 0/1
> 
> fundamental = osc(freq) * gain;
> parcial_1 = osc(freq * 3) * gain * 0.5;
> parcial_2 = osc(freq * 5) * gain * 0.25;
> parcial_3 = osc(freq * 7) * gain * 0.125;
> parcial_4 = osc(freq * 9) * gain * 0.0625;
> parcial_5 = osc(freq * 11) * gain * 0.03125;
> 
> Attack = hslider("Attack (ms)", 100, 0, 200, 1);
> Decay = hslider("Decay (ms)", 100, 0, 200, 1);
> Sustain = hslider("Sustain (percent)", 10, 0, 100, 1);
> Release = hslider("Release (ms)", 100, 0, 200, 1);
> 
> noiseAmp = hslider("noiseAmp", 0.5, 0, 1, 0.1);
> 
> ADSR_env = adsr(Attack/1000, Decay/1000, Sustain, Release/1000, gate);
> 
> // Envelop Breath:
> ar(a,r,t) = rec~(_,_) : !, _
>   with {
> // n is the time position in the envelop
> // v is the value of the envelop
> rec(n,v) = (n + 1) * (t <= t'), 
>   max(0, v + (n=a)/r)*(t<=t');
>   };
> 
> env_Breath = ar(0, 5000, gate);
> 
> breath = noise * env_Breath;
> flow = breath * (noiseAmp/10);
> 
> spectro = fundamental + parcial_1 + parcial_2 + parcial_3 + parcial_4 + 
> parcial_5 + flow;
> 
> process = (spectro * ADSR_env) <: _, _;
> 
> On Sat, Jun 18, 2016 at 5:05 PM, Nycholas Maia  wrote:
> Thank you Stéphane,
> 
> It works. Now FL is alive again.
> The only DSP file that FL crashes is my main project that I'm working 
> today...rs. Why?
> 
> The code is correct because I don't change nothing and it was working in FL.
> I don't know now why this is the unique DSP file that FL crashes and OS X 
> say: "FaustLive quit unexpectedly. Click Reopen to open the application 
> again. Click Report to see more detailed information and send a report to 
> Apple."
> 
> What I have to do now?
> 
> Thank you!
> Nyck
> 
> 
> On Sat, Jun 18, 2016 at 8:09 AM, Stéphane Letz  wrote:
> Remove FL ressources, so in your home folder do in  a terminal:
> 
> rm -rf  .FaustLive-CurrentSession-2.0
> 
> and then restart FL
> 
> Stéphane
> 
> > Le 17 juin 2016 à 23:01, Nycholas Maia  a écrit :
> >
> > Hi,
> >
> > I was working in FaustLive and suddenly it crashes.
> > The problem is that it never came back start up again.
> >
> > When I try to open FL, I got very fast error message of FL, then this 
> > message fades away.
> > Finally the OS X shows me the standard app error saying: "FaustLive quit 
> > unexpectedly. Click Reopen to open the application again. Click Report to 
> > see more detailed information and send a report to Apple."
> >
> > When I try, "reopen", this message came again in the screen.
> >
> > What I have to do?
> >
> > Thanks!
> > Nyck
> > --
> > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> > patterns at an interface-level. Reveals which users, apps, and protocols are
> > consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> > J-Flow, sFlow and other flows. Make informed decisi

Re: [Faudiostream-users] FaustLive Crash

2016-06-18 Thread Stéphane Letz
Remove FL ressources, so in your home folder do in  a terminal:

rm -rf  .FaustLive-CurrentSession-2.0

and then restart FL

Stéphane

> Le 17 juin 2016 à 23:01, Nycholas Maia  a écrit :
> 
> Hi,
> 
> I was working in FaustLive and suddenly it crashes.
> The problem is that it never came back start up again.
> 
> When I try to open FL, I got very fast error message of FL, then this message 
> fades away.
> Finally the OS X shows me the standard app error saying: "FaustLive quit 
> unexpectedly. Click Reopen to open the application again. Click Report to see 
> more detailed information and send a report to Apple."
> 
> When I try, "reopen", this message came again in the screen.
> 
> What I have to do?
> 
> Thanks!
> Nyck
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports. 
> http://sdm.link/zohomanageengine___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] "remorked_dsp" branch to test

2016-06-17 Thread Stéphane Letz
Hi All,

Since we don’t want to cause any  « cardiac arrest » to anybody anymore… ((-; 
we have created a new « remorked_dsp »  branch with some work in the base dsp 
class.

https://sourceforge.net/p/faudiostream/code/ci/reworked_dsp/

Two different things have been done :

1) a new « virtual dsp* clone() » method has been added in the base dsp class, 
and is now added by the compiler in the generated « mydsp » class. This method 
has become necessary with the new « poly » dsp model (to easily duplicate the 
DSP voice used in the polyphonic object) and will be needed with future 
extensions we plan in a more « macro construction » model of DSP construction.

2)  the « static void metadata(Meta* m) » method of the dsp class has been made 
an object method. Defining a static method was really a C++ like way to do, and 
was finally more annoying that helpful in a lot of cases : C, LLCM, asm.js…etc… 
backends in the faust2 branch with this static model dos not make real 
sense..etc.

The 1) change should not break anything. I did necessary changes for 2) 
everywhere it should be needed. I even « blindly » edited some architecture 
files that I cannot test : pure.cpp, vsp.cpp, dssi.cpp, supercollider.cpp, 
lv2ui.cpp, lv2.cpp, faustvst.cpp.  This would be great is someone could test 
they are properly modified, before we merge the branch back in master.

Stéphane
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] faust2 compilation error

2016-06-15 Thread Stéphane Letz
Should be fixed.

> Le 15 juin 2016 à 16:24, Pierre Lecomte  a écrit :
> 
> Thanks for the fix, the compilation goes further but doesn't end yet :
> 
> http://pastebin.com/sAirAxAS
> 
> Pierre
> 
>> We are moving to C++11, but the Makefile is not yet ready for that I guess…
>> 
>> One line code fixed to properly compile before C++11 again.
>> 
>> Stéphane
>> 
>>> Le 15 juin 2016 à 00:34, Pierre Lecomte  a écrit
>>> :
>>> 
>>> I'm unable to compile the last faust2 commit
>>> 
>>> Here is the log
>>> 
>>> http://pasted.co/fe2b0f12
>>> 
>>> Thank you for your help !
>>> 
>>> Pierre
>>> 
>>> --
>>>  What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>> traffic patterns at an interface-level. Reveals which users, apps, and
>>> protocols are consuming the most bandwidth. Provides multi-vendor support
>>> for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using
>>> capacity planning reports.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
>>> ___
>>> Faudiostream-users mailing list
>>> Faudiostream-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] faust2 compilation error

2016-06-14 Thread Stéphane Letz
We are moving to C++11, but the Makefile is not yet ready for that I guess… 

One line code fixed to properly compile before C++11 again.

Stéphane

> Le 15 juin 2016 à 00:34, Pierre Lecomte  a écrit :
> 
> I'm unable to compile the last faust2 commit
> 
> Here is the log
> 
> http://pasted.co/fe2b0f12
> 
> Thank you for your help !
> 
> Pierre
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] SR now a float

2016-06-14 Thread Stéphane Letz
Albert; look at the commit : SR definition has been changed in math.lib, it 
does not change any public interface and so should not break anything…

Stéphane 

> Le 14 juin 2016 à 17:21, Albert Graef  a écrit :
> 
> Yann, maybe it would be possible to discuss such changes *before* they 
> actually happen? ;-)
> 
> This opens a can of worms for me. Probably means that the Pure-Faust bitcode 
> interface is broken now. And this might affect other architectures as well. 
> We really need a Faust test suite which covers at least the most popular 
> architectures...
> 
> Albert
> 
> On Tue, Jun 14, 2016 at 4:32 PM, Yann Orlarey  wrote:
> SR is now a float instead of an int. This fix problems observed when running 
> some filters that works at 44100Hz but not at 48000Hz. In this case SR^2 > 
> 2^31 and it wraps to negative values if SR is an int !
> 
> Yann Orlarey
> 
> Directeur scientifique
> www.grame.fr
> 
> 
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Faudiostream-devel mailing list
> faudiostream-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
> 
> 
> 
> 
> -- 
> Dr. Albert Gr"af
> Computer Music Research Group, JGU Mainz, Germany
> Email:  aggr...@gmail.com
> WWW:https://plus.google.com/+AlbertGraef
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. 
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
> Faudiostream-devel mailing list
> faudiostream-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] faust2: undefined reference to `vtable for QTGUI'

2016-06-08 Thread Stéphane Letz
Does faust2qt works yes? Is yes then you'll have to understand what faust2qt 
does that you don’t with the simpler line :  " g++ fausttest.cpp -I 
../faust2/architecture/ `pkg-config --cflags QtGui` -ljack `pkg-config --libs 
QtGui`"

Stéphane 

> Le 8 juin 2016 à 11:52, Kjetil Matheussen  a écrit :
> 
> Hi,
> 
> I'm trying to use the qtgui template in faust2, but getting undefined 
> reference to vtable linker errors.
> 
> As far as I can see, all virtual methods are implemented, so I don't know 
> what's wrong.
> 
> I've tried to uncomment QTGUI::QTGUI and QTGUI::~QTGUI, but that didn't make 
> any difference.
> I've also googled the problem, and thought hard, but I haven't been able to 
> solve it.
> 
> 
> [kjetil@ttlush test]$ faust2 -a jack-qt.cpp fausttest.dsp >fausttest.cpp
> 
> [kjetil@ttlush test]$ g++ fausttest.cpp -I ../faust2/architecture/ 
> `pkg-config --cflags QtGui` -ljack `pkg-config --libs QtGui`
> 
> /tmp/cctIcRaD.o: In function `QTGUI::QTGUI()':
> fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x62): undefined reference 
> to `vtable for QTGUI'
> fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x71): undefined reference 
> to `vtable for QTGUI'
> fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x81): undefined reference 
> to `vtable for QTGUI'
> fausttest.cpp:(.text._ZN5QTGUIC2Ev[_ZN5QTGUIC5Ev]+0x91): undefined reference 
> to `vtable for QTGUI'
> /tmp/cctIcRaD.o: In function `QTGUI::~QTGUI()':
> fausttest.cpp:(.text._ZN5QTGUID2Ev[_ZN5QTGUID5Ev]+0xe): undefined reference 
> to `vtable for QTGUI'
> /tmp/cctIcRaD.o:fausttest.cpp:(.text._ZN5QTGUID2Ev[_ZN5QTGUID5Ev]+0x1a): more 
> undefined references to `vtable for QTGUI' follow
> collect2: error: ld returned 1 exit status
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. 
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive Windows MaxMSP export

2016-05-27 Thread Stéphane Letz
Nope…

Stéphane

> Le 27 mai 2016 à 15:07, alfonso santimone  a 
> écrit :
> 
> Hi guys,
> FaustLive has an option for 64 bit .mxe64 export on Windows.
> But the external exported is a .mxe for 32 bit Max.
> Is Max 64 bit export functional on Windows?
> many thanks
> a.
> www.elgallorojorecords.com
> soundcloud.com/alfonsosantimone
> www.facebook.com/alfonsosantimone
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. 
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] documentation for Faust MIDI support?

2016-05-24 Thread Stéphane Letz

> Le 24 mai 2016 à 14:42, Ming-Lun Lee  a écrit :
> 
> Hello Stéphane,
> 
> Thank you for your quickly reply. It's really helpful. I just installed the 
> latest Faust Git version and tried to compile the midi_tester.dsp. 
> If I type
> $ faust2caqt -midi midi_tester.dsp
> 
> faust: unrecognized option "-midi"
> 
> ./midi_tester.app;


Seems an installation issue with Faust :  have you installed the MacPort 
version along the GIT version? if yes this is the reciepe for problems : 
uninstall the MacPort version


> 
> I can get midi_test.app this time. When I run this application, I can see the 
> QT GUI. However, I cannot send or receive MIDI messages successfully.
> 
> If I type 
> $ faust2caqt -midi -poly midi_tester.dsp
> 
> faust: unrecognized option "-midi"
> 
> faust: unrecognized option "-poly"
> 
> ./midi_tester.app;
> 
> I can still get midi_test app, but cannot use MIDI, either.
> 
> 
> If I type
> faust2jaqt -midi -poly midi_tester.dsp
> 
> faust: unrecognized option "-midi"
> 
> faust: unrecognized option "-poly"
> 
> midi_tester.cpp:2317:10: fatal error: 'jack/jack.h' file not found
> 
> #include 
> 
>  ^
> 
> 1 error generated.
> 
> make: *** [midi_tester.o] Error 1
> 
> ./midi_tester.app;
> 
> Could you help me solve these issues? I appreciate your help.
> 
> Best,
> Ming-Lin
> 

faust2jaqt need JackOSX package : latest version here 
https://dl.dropboxusercontent.com/u/28869550/JackOSX.0.92_b3.zip

Stéphane 


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] documentation for Faust MIDI support?

2016-05-24 Thread Stéphane Letz

> Le 24 mai 2016 à 13:08, Ming-Lun Lee  a écrit :
> 
> Hello Stéphane,
> 
> I also tried to understand the two MIDI documentations. I am a little bit 
> confused. Both webpages use "faustcaqt", instead of "faust2caqt". I couldn't 
> find faustcaqt, faustjaqt, or faustios in /usr/local/bin on my Mac computer. 
> I also could not use "fuast2caqt ».

Typos corrected : will be visible tomorrow on the website. You should read: 
faust2caqt, faust2jaqt, faust2ios...

> It shows "faust: unrecognized option "-midi" « .

You must use latest GIT version.

> May I compile my dsp code via FaustLive or the Faust Online Compiler?

With latest FaustLive yes (MacPort version as described by Albert yesterday)

> It would be great if you can give us a simple dsp file (with MIDI metadata) 
> for testing and show us how to compile it step by step (or with a video).


Attached midi_tester.dsp file that is also on GIT in « examples »  folder



midi_tester.dsp
Description: Binary data


Stephane--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] documentation for Faust MIDI support?

2016-05-23 Thread Stéphane Letz
Some preliminary MIDI documentation is available here: 

http://faust.grame.fr/news/2016/01/14/controlling-with-midi.html

and for polyphonic/MIDI instruments here:

http://faust.grame.fr/news/2016/01/13/polyphonic-instruments.html

All of this can be tested in FaustLive or with some of the faust2xxx scripts 
like ‘faust2caqt' or ‘faust2jaqt’ : 

faust2caqt -h
faust2caqt [-httpd] [-qrcode] [-poly] [-poly2] [-midi] [-osc] [-debug] 

Use '-httpd' to activate HTTP control
Use '-qrcode' to activate QR code generation
Use '-poly' to produce a polyphonic self-contained DSP, ready to be used with 
MIDI events
Use '-poly2' to produce a polyphonic DSP connected to the effect part, ready to 
be used with MIDI events
Use '-midi' to activate MIDI control
Use '-osc' to activate OSC control
Use '-debug' to print all the build steps

faust2jaqt -h 

magellan-pro-2:examples letz$ faust2jaqt -h
faust2jaqt [-httpd] [-qrcode] [-poly] [-midi] [-osc] 
Use '-httpd' to activate HTTP control
Use '-qrcode' to activate QR code generation
Use '-poly' to produce a polyphonic DSP, ready to be used with MIDI events
Use '-midi' to activate MIDI control
Use '-osc' to activate OSC control

Please fell free to suggest improvements of the documentation.

Stéphane


> Le 24 mai 2016 à 07:10, Mykle Hansen  a écrit :
> 
> Hello, can I ask some advice?
> 
> I’m trying to work out how to get MIDI controller information into
> Faust — specifically FaustLive at the moment.  I know that there’s
> automatic support for converting MIDI note messages into the 
> ‘gate’ ‘gain’ and ‘freq’ UI elements .  But I’m trying to
> map MIDI knobs on my control surface to vsliders, so I can tweak 
> values while I listen.
> 
> I’ve been digging through various documentation sources on Faust. 
> I thought that somwhere I saw a reference to getting generic MIDI 
> knob controller values by putting [midi:*] metadata in UI element 
> labels.  Was I dreaming that?  I can’t find it now.  The OSC 
> documentation for Faust is quite complete, but I’ve found hardly 
> anything about MIDI.  (And I don’t have any OSC hardware. =)  Is
> there some standard mapping from MIDI to OSC that people use for this?
> 
> Thanks,
> -mykle-
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FOF in faust

2016-05-23 Thread Stéphane Letz

>> Yes sound is normally working. 
> 
> Thanks.
> Just to make sure we're not miscommunicating: you get sound when compiling 
> with faust 2 - sch?
> 
> Cheers,
> Bart.
> 

Yes on OSX. So my question is : does -sch mode correctly works with other DSP 
on Linux? Can you test that?

Thanks.

Stéphane
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FOF in faust

2016-05-22 Thread Stéphane Letz

> Le 22 mai 2016 à 16:37, Bart Brouns  a écrit :
> 
> Hi Stéphane,
> 
> Thanks for looking in to it.
> Does the -sch compile use huge amounts of RAM for you too?

 I have a 16 GO MacBook here,  and  I’m using Clang to compile, 

> I only have 4Gb, so probably swapping is my main problem..
> Which Faust version are you using?


Latest GIT.

> If version 2, did you check whether it produces sound when you input sound?

Yes sound is normally working. 
> 
> Sorry for bombarding you with questions like that!
> 
> The simplest dsp to reproduce it with is:
> 
> import ("lib/common.lib");
> import ("lib/FullGUI.lib");
> import ("lib/FOFvocoder.lib");
> process = fofOscs , fofOscs;
> 
> If I use just one fofOscs, it doesn't need swap, and all is fine.
> If I use my old FOF function all is fine too:
> git checkout a7bf8f3d22f6e38f23d9fcb40b1b6cbc5457cc03
> 
> 
> Thanks,
> Bart.
> 

process = fofOscs, fofOscs  ==>

scal mode DSP CPU use : 73 %

sched mode DSP CPU use : 17%

(time to compile 10mins 54 s, I don’t see this « huge RAM consumption » issue : 
going up to 1,5 GO maybe…)

Stéphane
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FOF in faust

2016-05-22 Thread Stéphane Letz
Answering part of your questions:

- compiled onn MacBook Pro 4 cores 2,2 GHz : faust2jaqt scal and vec compile 
quite fast, sch takes 24 mins. DSP CPU used with JACK 1024 frames:

- scal ==> 98% 

- vec  ==> 79%

- sch ==> 30% and is works OK compiled with faust2. I guess you are on Linux, 
so is the problem with -sch mode reproductible with simpler .dsp ?

Thanks.

Stéphane

> Le 20 mai 2016 à 23:35, Bart Brouns  a écrit :
> 
> Hi,
> 
> I'm porting Forme d'Onde Formantique (FOF) to faust. [1] [2]
> 
> It's based on [3], but can be used with dynamic parameters.
> [3] creates a single enveloped sine, and feeds it into a delay with full 
> feedback, so it never changes.
> 
> My version has everything synced to a master lf_rawsaw, so it 
> continuously creates new enveloped sines.
> 
> It has multiple parallel sine-envelope pairs, so the envelopes can 
> overlap without being cut off, and you get an octaviation coefficient 
> parameter almost 'for free' [4].
> 
> A demo song: [5].
> 
> The synth making most of the above sounds has a few problems:
> - It takes too much CPU when compiled with -scal, -vec or -omp.
> - When compiling with -sch, cc1plus eats about 13Gb of RAM/swap, and 
>  takes 7 hours. (faust 0.9.73 or faust 1 git)
> - Faust 2 with -sch produces a silent program.
> 
> Granted, those are 256 sine-envelope pairs, so it's a miracle it runs at
> all!
> 
> Steps to reproduce:
> 
> git clone https://github.com/magnetophon/VoiceOfFaust
> cd VoiceOfFaust
> git checkout a44c5784e55f48ef44b76bac2e628e7a941e2474
> time /home/bart/.nix-profile/bin/faust2jack -t 9 -time -osc -sch 
> FOFvocoder.dsp
> ./FOFvocoder & sleep 2 && jack_connect system:capture_1 FOFvocoder:in_0 
> & jack_connect FOFvocoder:out_0 system:playback_1 & jack_connect 
> FOFvocoder:out_1 system:playback_2
> 
> To use it as intended, you also have to run:
> pd PureData/OscSendVoc.pd
> 
> 
> Cheers,
> Bart.
> 
> 
> [1] 
> https://github.com/magnetophon/VoiceOfFaust/blob/NewFOF/lib/Foflet.dsp
> [2] 
> http://anasynth.ircam.fr/home/english/media/singing-synthesis-chant-program
> [3] https://ccrma.stanford.edu/~mjolsen/220a/fp/Foflet.dsp
> [4] http://www.csounds.com/tootsother/fof/FOF.html
> [5] http://magnetophon.nl/sounds/magnetophon/oldCombo-12.wav
> 
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Precision of constants in generated C++

2016-04-24 Thread Stéphane Letz
Fixed on GIT for 'float' and ‘double'. Note the ‘quad’ handling is not yet 
fully implemented as deferent places in the compiler.

Stéphane


> Le 24 avr. 2016 à 03:43, Aaron Heller  a écrit :
> 
> Looking over the C++ that Faust generates, it seems that constants are always 
> single precision, regardless of the translation options.  I appreciate that 
> the input and output samples are aways going to be single precision, but 
> there are times when it would be useful to have greater precision internally, 
> say the coefficients in a biquad IIR filter when the cutoff frequency is much 
> lower than the sample rate.
> 
> To illustrate, the program:
> 
> process = _: *(1/9) :_;
> 
> with no options compiles to:
> 
> output0[i] = FAUSTFLOAT((0.11f * float(input0[i])));
> 
> with -double compiles to:
> 
> output0[i] = FAUSTFLOAT((0.11 * double(input0[i])));
> 
> and -quad
> 
> output0[i] = FAUSTFLOAT((0.11 * quad(input0[i])));
> 
> so the samples are getting converted, but the representation of 1/9 remains 
> single precision.  I'd expect to see a lot more digits in double and quad.   
> I'm using this version of Faust currently:
> 
> bash-3.2$ faust -v
> FAUST : DSP to C, C++, JAVA, JavaScript/ASMJavaScript, WebAssembly, LLVM IR 
> version 2.0.a42
> Copyright (C) 2002-2016, GRAME - Centre National de Creation Musicale. All 
> rights reserved.
> 
> 
> Thanks for any feedback or advice...
> 
> Aaron Heller (hel...@ai.sri.com)
> Menlo Park, CA  US
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Polyphonic instruments in Max/MSP to test

2016-04-23 Thread Stéphane Letz
Here is a link with the binary:

https://dl.dropboxusercontent.com/u/28869550/faustgen-poly.zip

Several points:

- static compilation tools (faust2msp and faust2max6) can now take «  -midi 
-poly »  parameters to activate this new « polyphonic » MIDI controllable mode

- faust2max6 creates a patch that automatically creates the UI (using some 
JavaScript code)

- faust2max6 -poly mode creates a patch that will also have a « polyphonic N » 
message : clicking on it with activate the polyphonic mode and adjust the 
automatically generated UI

When using fausgen~, you can possibly :

- use the « faust2gen » script that also produces a wrapping patch with a « 
read foo.dsp » message to load and compile the DSP

- use the « faust2gen -poly » script that also produces a wrapping patch with a 
« read foo.dsp » message to load and compile the DSP, and a « polyphonic N » 
message : clicking on it with activate the polyphonic mode and adjust the 
automatically generated UI

- notre that the exemple « Faustgen-poly-midi.maxpat » needs some manual 
connections to work : I could not edit and save it in Max7 ((-; , you’ll have 
to connect the « midiformat » or « midiparse » boxes with the faustgen~ item, 
(or static version if using faust2max6…)

Stéphane 


> Le 23 avr. 2016 à 03:03, Albert Graef  a écrit :
> 
> Hi Stéphane,
> 
> I'd like to give it a go with Max 7, but the latest faustgen from faust2 git 
> refuses to build with Xcode 7.2.1 -- after updating the Xcode project the 
> build fails at max-includes/ext_path.h:209 (from the latest Max SDK source) 
> because the compiler can't find Files.h (is this a Carbon header?).
> 
> I must admit that I'm not really that familiar with Xcode, and having to wade 
> through a ton of settings in its GUI to adjust include and linker paths is a 
> real pita for me. ;-) Do you have some kind of Makefile for building faustgen 
> available? Or maybe you could just provide a compiled Mac binary of the 
> latest version of the external somewhere?
> 
> Thanks,
> Albert
> 
> On Fri, Apr 15, 2016 at 2:36 PM, Stéphane Letz  wrote:
> Polyphonic instruments are now available in Max/MSP : static compilation 
> (faust2msp or faust2max6) or faustgen~
> 
> 
> 
> 
> -- 
> Dr. Albert Gr"af
> Computer Music Research Group, JGU Mainz, Germany
> Email:  aggr...@gmail.com
> WWW:https://plus.google.com/+AlbertGraef


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Polyphonic instruments in Max/MSP to test

2016-04-15 Thread Stéphane Letz
Tested on OS X for now. Code should work on Windows, adaptation (if needed) and 
testing welcome…

Stéphane


> Le 15 avr. 2016 à 14:39, alfonso santimone  a 
> écrit :
> 
> hi! I would be happy to test. can I test it on Win 64bit Max 7.2.1?
> many thanks! 
> a.
> 
> Il 15/apr/2016 14:37, "Stéphane Letz"  ha scritto:
> Polyphonic instruments are now available in Max/MSP : static compilation 
> (faust2msp or faust2max6) or faustgen~
> 
> faust2msp -midi -poly foo.dsp, faust2max6 -midi -poly foo.dsp
> 
> Stéphane
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] Polyphonic instruments in Max/MSP to test

2016-04-15 Thread Stéphane Letz
Polyphonic instruments are now available in Max/MSP : static compilation 
(faust2msp or faust2max6) or faustgen~

faust2msp -midi -poly foo.dsp, faust2max6 -midi -poly foo.dsp

Stéphane
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] flute.dsp with midi ?

2016-04-10 Thread Stéphane Letz
Use faust2jaqt -midi -poly  flute.dsp

Read the following:

http://faust.grame.fr/news/2016/01/13/polyphonic-instruments.html

Stéphane

> Le 10 avr. 2016 à 23:08, Stefaan Himpe  a écrit :
> 
> Hi all, 
> 
> I took the flute.dsp from the faust-stk. I am able to make flute sounds with 
> it by clicking the "gate" button (yay!) .  
> 
> Then I recompiled it with "faust2jaqt -midi flute.dsp" and I get something 
> that offers midi input, but doesn't seem to react to midi events (I send midi 
> note on messages to it from the jack-keyboard virtual keyboard, connected to 
> the flute model using jack.)
> 
> Are my expectations wrong that this should work? Is there anything I can do 
> to try to pinpoint the problem? The flute model has a freq, gain and gate 
> parameter as described on one of the blog entries that describes how midi can 
> be used). 
> 
> I'm using the latest git version of faust. This is on arch linux, kernel 
> 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux. 
> 
> Thanks for any insights you may have.
> Stefaan.
> 
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] pd crashes with multiple faust objects

2016-04-06 Thread Stéphane Letz

> Le 7 avr. 2016 à 07:38, Martin Jaroszewicz  a écrit :
> 
> Hi,
> This has been documented at least a year ago in the pdpatchrepo forum and I 
> can confirm today that multiple instances of (different) objects made with 
> faust crash pd. Also, signal flow is disrupted when having two objects in a 
> patch. Sometimes signal passes through only one, or if the object is stereo, 
> signal comes out from only one outlet. 
> I wonder if this happens in Max too.

This does not happen on Max/MSP. We can perfectly use several DSP instances of 
the same Faust code or different Faust code without any issue.


> To reproduce, try using two instances of freeverb~ from the examples, in the 
> same or a different patch.
> Thanks
> — 

1) On which platform ? do you have a patch we could test?

2) do you have a crash log?

Thanks.

Stéphane


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


Re: [Faudiostream-users] newest faust version error

2016-04-01 Thread Stéphane Letz
This "jack_midi_reset_buffer" function is part of latest jack2 tree, not yet 
released but soon.

You'll have to build the jack2 GIT version to solve the problem in the meantime.

Stéphane


Le 1 avr. 2016 à 19:06, Julius Peters  a écrit :

> Hello,
>  
> I installed the newest faust version from git on a new computer with ubuntu 
> studio 14. Althought there was no problem with the install process, now my 
> old .dsps, compiled for any linux-jack-version, now cause a binary build 
> error. It says:
>  
> Script error : mConsoleNeu2.cpp: In member function �void 
> jack_midi_handler::processMidiOutBuffer(void*, bool)�:
> mConsoleNeu2.cpp:5321:52: error: �jack_midi_reset_buffer� was not 
> declared in this scope
> jack_midi_reset_buffer(port_buf_out);
> ^
> compilation terminated due to -Wfatal-errors.
> make: *** [mConsoleNeu2.o] Error 1
>  
> None of the .dsps contain any midi. And the error does not occur on my older 
> computer. Does anybody know what is going on?
>  
> Thanks for your help.
>  
> Julius
>  
>  
>  
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [faudiostream:discussion] trouble compiling faustlive

2016-03-21 Thread Stéphane Letz
Can you try again with latest master branch?

Thanks

Stéphane 

Le 20 mars 2016 à 03:49, rgoggans  a écrit :

> Hi, I'm trying to build faustlive on a fresh fedora 23 install. I'm stuck 
> with this. Any help is appreciated. Thank you
> 
> 
> 
> In file included from ../../src/Audio/JA/JA_audioFader.cpp:11:0:
> ../../src/Audio/JA/JA_audioFader.h:32:21: error: conflicting return type 
> specified for ‘virtual int JA_audioFader::processAudio(jack_nframes_t)’
> virtual int processAudio(jack_nframes_t nframes);
> ^
> In file included from ../../src/Audio/JA/JA_audioFader.h:15:0,
> from ../../src/Audio/JA/JA_audioFader.cpp:11:
> /usr/local/include/faust/audio/jack-dsp.h:504:22: error:   overriding 
> ‘virtual void jackaudio_midi::processAudio(jack_nframes_t)’
> virtual void processAudio(jack_nframes_t nframes)
>  ^
> Makefile-qt:455: recipe for target '../../src/objectsFolder/JA_audioFader.o' 
> failed
> make[1]: *** [../../src/objectsFolder/JA_audioFader.o] Error 1
> make[1]: *** Waiting for unfinished jobs
> In file included from ../../src/Audio/JA/JA_audioManager.cpp:13:0:
> ../../src/Audio/JA/JA_audioFader.h:32:21: error: conflicting return type 
> specified for ‘virtual int JA_audioFader::processAudio(jack_nframes_t)’
> virtual int processAudio(jack_nframes_t nframes);
> ^
> In file included from ../../src/Audio/JA/JA_audioFader.h:15:0,
> from ../../src/Audio/JA/JA_audioManager.cpp:13:
> /usr/local/include/faust/audio/jack-dsp.h:504:22: error:   overriding 
> ‘virtual void jackaudio_midi::processAudio(jack_nframes_t)’
> virtual void processAudio(jack_nframes_t nframes)
>  ^
> ../../src/Audio/JA/JA_audioManager.cpp:48:39: warning: unused parameter 
> ‘error’ [-Wunused-parameter]
> bool JA_audioManager::setDSP(QString& error, dsp* DSP, const char* port_name)
>   ^
> Makefile-qt:447: recipe for target 
> '../../src/objectsFolder/JA_audioManager.o' failed
> make[1]: *** [../../src/objectsFolder/JA_audioManager.o] Error 1
> make[1]: Leaving directory '/home/om/code/faudiostream-faustlive/Build/Linux'
> Makefile:59: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> 
> 
> 
> ---
> 
> [trouble compiling 
> faustlive](https://sourceforge.net/p/faudiostream/discussion/347045/thread/ca108a33/?limit=25#3355)
> 
> 
> ---
> 
> Sent from sourceforge.net because you indicated interest in 
> 
> 
> 
> 
> To unsubscribe from further messages, please visit 
> 


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] osc aliases

2016-03-05 Thread Stéphane Letz
Fixed on git "master" and "faust2" as well as in documentation.

You'll have to use "-xmit 2" mode when running your OSC aware application.

Stéphane


Le 4 mars 2016 à 17:14, Pierre Lecomte  a écrit :

> Hello,
> I'd like to know if it's possible to send on osc aliases for controllers, not 
> only bargraphs ?
> 
> For example
> 
> import("music.lib");
> process = noise*hslider("level[osc :/1/fader1 0 1]" ,0 ,0 ,1 ,0.01);
> 
> 
> $ oscdump 5511
> 
> if I move the slider I would like to have :
> 
> /1/fader1 f 0.2
> 
> instead of the complete adress
> /0x00/level f 0.2
> 
> Thank you
> 
> Pierre
> 
> 
> 
> 
> --
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


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


Re: [Faudiostream-users] BELA very likely a good option for your FAUST-based embedded systems

2016-03-03 Thread Stéphane Letz
Yes.. we are in contact with Bela people, and hope to have a platform to work 
on soon.

Stéphane 


Le 2 mars 2016 à 09:00, Till Bovermann  a écrit :

> Dear list,
> 
> 
> Bela is an open-source ultra-low-latency embedded audio platform with high 
> performance audio and sensor processing. For instrument makers, hackers, 
> developers.
> 
> According to their twitter, 
>   "FAUST is not yet fully supported but it has been made to work on Bela" 
> i.e. 
>   "ideally needs a Bela Faust architecture but in the meantime it's 
> pretty easy to use with minimal.cpp &some boiler plate"
> 
> https://twitter.com/belaplatform/status/704365157741436928 
> 
> 
> might be interesting for peeps on this list :)
> 
>   Till
> 
> https://www.kickstarter.com/projects/423153472/bela-an-embedded-platform-for-low-latency-interact
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Polyphonic and MIDI support in FaustLive (to test…)

2016-03-02 Thread Stéphane Letz

Le 2 mars 2016 à 20:46, Albert Graef  a écrit :

> On Wed, Mar 2, 2016 at 2:44 PM, Vincent G. Listes  
> wrote:
> Is there a document somewhere outside the code that explains polyphony 
> handling in FAUST ?
> 
> That's easy to explain: There is no polyphony handling in Faust. :) This 
> falls outside of Faust's scope, all handling of MIDI and other specific 
> control interfaces is done in the architectures.
> 
> That said, Stéphane has recently added a polyphony implementation to the 
> Faust headers, which was used to implement the polyphony support in 
> FaustLive. He should be able to tell you more about this
> 
> Stéphane will surely correct me if I'm wrong :), but I think that right now 
> the most mature polyphony implementations is in the faust-lv2 and faust-vst 
> architectures, featuring MIDI CC mapping, MIDI master tuning and pitch bend 
> range controls, MTS tunings, and multi-channel voice allocation. (All that 
> baggage might actually get in the way if you want to roll your own 
> implementation, but it might be worth taking a look at.)

Sure, the poly-dsp.h implementation is much simpler than Albert's faust-lv2 and 
faust-vst architectures, and was intended to be "good enough"… But now the 
question is : what is "good enough" ? ((-;  

My initial idea was to possibly share more code with faust-lv2 and faust-vst 
architectures, but since the code is not so easy to follow, and even not 
completely shared between faust-lv2 and faust-vst..., I gradually improved an 
initial implementation of Romain + Yann done for Android.

> 
> Basically, the convention is that a dsp intended to be used as an instrument 
> should provide control parameters labelled "freq" (pitch in Hz), "gain" 
> (velocity normalized to the 0-1 range) and "gate" (0/1 signal indicating 
> whether the voice is playing or not, to be used as a trigger for the envelop) 
> and implement a monophonic synthesizer using these. The rest is up to the 
> architecture. There are also some conventions concerning control meta data 
> indicating CC mappings ("[midi:ctrl n]") and such. Some of those meta tags 
> concerning MIDI and OSC are described in the Faust Quick Reference, IIRC. 
> There's also a recent article from Grame about that here: 
> http://faust.grame.fr/news/2016/01/14/controlling-with-midi.html. This mostly 
> applies to FaustLive, I guess, but [midi:ctrl n] is implemented at least by 
> some of the polyphonic plugin architectures, among them faust-lv2 and 
> faust-vst. Presumably an MPE synth architecture would implement its own voice 
> allocation and interpret some special meta tags in order to assign the MPE 
> controllers to corresponding controls in the Faust program. At least that's 
> how I would go about implementing it.
> 
> You're right, all this really needs to be documented somewhere. ;-) As it 
> stands, the above conventions were first implemented in some early 
> architectures and then became a kind of de facto standard way of doing these 
> things.
> 
> I will be at LAC@Berlin in April, and I've heard rumors that Yann might be 
> there as well. ;-) So if any of you guys attend LAC we could have a 
> discussion about all these things.
> 
> Albert
> 

If you guys think we can at some point create a unique implementation, usable 
by plugins and standalone applications, this would surely be better...

Stéphane




--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Polyphonic and MIDI support in FaustLive (to test…)

2016-03-02 Thread Stéphane Letz
Thanks !  Improvements pushed in git.

Stéphane

Le 1 mars 2016 à 23:51, Albert Graef  a écrit :

> On Tue, Mar 1, 2016 at 11:36 PM, Albert Graef  wrote:
> Stolen voices should have their gate control zeroed before starting the new 
> note so that their envelop is retriggered.
> 
> I should add that the same holds true for voices which already got their note 
> off, but are reused immediately before the next audio block, i.e., before 
> they can pick up the zero gate control value. That's probably true for most 
> of the notes in the sample I posted, where I used 3 voices polyphony. BTW, 
> the version of KS I used for testing there can be found here:
> 
> https://bitbucket.org/agraef/faust-vst/src/HEAD/examples/karplus.dsp
> 
> -- 
> Dr. Albert Gr"af
> Computer Music Research Group, JGU Mainz, Germany
> Email:  aggr...@gmail.com
> WWW:https://plus.google.com/+AlbertGraef


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Polyphonic and MIDI support in FaustLive (to test…)

2016-03-01 Thread Stéphane Letz
Tried a "steal voice in release mode" then "steal oldest voice" method, pushed 
in git.

Stéphane


Le 1 mars 2016 à 13:24, Albert Graef  a écrit :

> On Thu, Feb 25, 2016 at 3:13 PM, Stéphane Letz  wrote:
> 
> > I have some problems reloading dsps with FaustLive on Linux, though. [...]
> 
> This should be fixed on git.
> 
> Indeed it is, merci!
> 
> > Also, when editing a previously loaded dsp while FL is *not* running, FL 
> > properly detects that the file was changed and shows the dialog in the 
> > attached screenshot. If I then pick the "Path" option to load the latest 
> > version of the file, FL just exits (it really just exits, no error message, 
> > segfault, failed assertion or anything). When I restart FL, it shows the 
> > same dialog again. The only way to get past that stage is to choose 
> > "Internal Copy" eventually. FL then just exits again, but next time I 
> > launch it it will at least open the (previous version of the) dsp. I can 
> > then close the old version and open the new version.
> 
> Cannot reproduce the issue, possibly fixed with latest git also?
> 
> No dice, I still get the same behavior on Linux. (I don't recall ever seeing 
> this on OSX, though, so this might well be a Linux-specific issue.) Can 
> anyone else reproduce this, or is it just me?
> 
> Panic button added, "All Note Off" MIDI ctrl (123 and 120) implemented.
> 
> - Note release (= when KeyOff is received) audio click fixed
> 
> Works great now, thanks!
> 
> - voice stealing based of level added
> 
> Well, this (kind of) works, but whatever the "voice stealing based on level" 
> algorithm does, it sure has a weird way of picking voices to steal:
> 
> Steal voice 0 
> Steal voice 0 
> Steal voice 4 
> Steal voice 1 
> Steal voice 5 
> Steal voice 0 
> Steal voice 0 
> 
> You *never* steal a voice that just started playing, or you'll notice the 
> stolen note immediately. A round-robin way of picking voices based on note 
> start times works much better, no matter how loud the sounding voices 
> actually are (as long as they are still audible). Must have something to do 
> with the way our mind processes musical events.
> 
> But all in all the polyphony mode works much better now.
> 
> Thanks,
> Albert
> 
> -- 
> Dr. Albert Gr"af
> Computer Music Research Group, JGU Mainz, Germany
> Email:  aggr...@gmail.com
> WWW:https://plus.google.com/+AlbertGraef


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Portingstuff to Windows 64 bit

2016-03-01 Thread Stéphane Letz
They are already Microsoft VS projects (32 bits) at several places, you may 
start with them. For faustgen~ you'll have to also compile LLVM and other 
dependancies.

Stéphane

Le 1 mars 2016 à 15:57, alfonso santimone  a écrit 
:

> Hi all,
> i realized that in the Faust community does not seems to be so much activity 
> in the Windows OS area.
> Things i miss :
> 
> - faustgen~ for Windows 64 bit
> - VST/i export for Windows 64 bit
> - Supercollider export for both Win 32/64
> - Csound export for Win 32/64.
> - Albert Graef's faust-vst for Win 32/64.
> 
> I guess that the reason is that there's no a VStudio solution and most of the 
> sources are based on Xcode or MinGW.
> 
> Given that i have a VS version installed i would like to help porting all 
> this stuff to Win 32/64.
> Is there any resource on hot to setup all the faust sources and dependencies?
> I would really like to help!
> 
> many thanks and all the best
> 
> a.
> 
> www.elgallorojorecords.com
> soundcloud.com/alfonsosantimone
> www.facebook.com/alfonsosantimone
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140___
> Faudiostream-devel mailing list
> faudiostream-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Polyphonic and MIDI support in FaustLive (to test…)

2016-02-25 Thread Stéphane Letz

Le 17 févr. 2016 à 09:49, Albert Graef  a écrit :

> On Mon, Feb 15, 2016 at 2:29 PM, Stéphane Letz  wrote:
> I've just added a "All Voices" tab in the UI that basically "groups" all 
> voices so that parameter control in this "All Voices" tab is redirected on 
> all voices. Then each voice can still possibly be controlled separately if 
> needed.
> 
> Works like a treat, thanks! :)
> 
> I have some problems reloading dsps with FaustLive on Linux, though. Try 
> loading any synth in FL (I used my organ.dsp), then edit the file by adding a 
> MIDI ctrl (e.g., add [midi:ctrl 7] to the "vol" control in organ.dsp). Save 
> the file, FL will auto-detect this and reload the file all right. Then send 
> it a CC7 => FL crashes with a segmentation fault (maybe it's still using a 
> stale "zone" pointer?). After restarting FL it reloads the file and the CC7 
> now works all right.

This should be fixed on git.

> 
> Also, when editing a previously loaded dsp while FL is *not* running, FL 
> properly detects that the file was changed and shows the dialog in the 
> attached screenshot. If I then pick the "Path" option to load the latest 
> version of the file, FL just exits (it really just exits, no error message, 
> segfault, failed assertion or anything). When I restart FL, it shows the same 
> dialog again. The only way to get past that stage is to choose "Internal 
> Copy" eventually. FL then just exits again, but next time I launch it it will 
> at least open the (previous version of the) dsp. I can then close the old 
> version and open the new version.

Cannot reproduce the issue, possibly fixed with latest git also?

> 
> It goes without saying that the two issues above make it rather inconvenient 
> to edit the dsp on the fly outside of FL (I prefer to do it in Emacs). Not 
> sure whether these two issues are also present on OSX, will test that later 
> if I find the time.
> 
> Besides the note-off clicks and the missing panic button, these are the most 
> annoying problems with FL I noticed. I'm afraid, however, that they make FL 
> unsuitable for serious work right now. :(

Panic button added, "All Note Off" MIDI ctrl (123 and 120) implemented.

Also:

- Note release (= when KeyOff is received) audio click fixed

- voice stealing based of level added 

> 
> Concerning code sharing between this poly mode and Faust-lv2, Faust-vst….we 
> could possibly start by doing a "Skype" work session at some point  ?
> 
> Sure, let's do that! Better meet in person than Skype, though. Will you be at 
> LAC in April?
> 
> Albert
> 
> 
Probably not.

Stéphane
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Polyphonic and MIDI support in FaustLive (to test…)

2016-02-15 Thread Stéphane Letz
> 
> Finally, it's nice to be able to see all the parameters for each voice in 
> FaustLive and manipulate them separately. But there should be a "Lock" button 
> which binds together all the "global" synth parameters (i.e., all parameters 
> except freq, gain and gate) so that you can change stuff like filter 
> resonances or ADSR params for all voices simultaneously (which is the usual 
> way to operate a synth, so "Lock" should probably be checked by default).
> 
> 

Hi Albert,

I've just added a "All Voices" tab in the UI that basically "groups" all voices 
so that parameter control in this "All Voices" tab is redirected on all voices. 
Then each voice can still possibly be controlled separately if needed. 

Concerning code sharing between this poly mode and Faust-lv2, Faust-vst….we 
could possibly start by doing a "Skype" work session at some point  ?

Stéphane 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Polyphonic and MIDI support in FaustLive (to test…)

2016-02-14 Thread Stéphane Letz
Le 14 févr. 2016 à 00:42, Albert Graef  a écrit :
> It seems that for some reason libHTTPFaust.so contains http_fetch() without 
> external linkage (note the lowercase t):
> 
>   $ nm /usr/local/lib/libHTTPDFaust.so|grep http_fetch
>   000469b0 t _Z10http_fetchPKcPPc
> 
> In contrast, the static libHTTPFaust.a library *does* have http_fetch() as an 
> external symbol (note the uppercase T):
> 
>   $ nm /usr/local/lib/libHTTPDFaust.a|grep http_fetch
>   0756 T _Z10http_fetchPKcPPc
> 
> Funny. And in fact the static build (`make STATIC=1`) works ok, the binary 
> links and runs all right. I haven't looked into why this happens yet. Do 
> others (non-Arch users) see the same issue?

Hum, … I did not actually tested  the dynamic HTTPD library compilation, I'll 
test (and possibly export this http_fetch symbol as pure C maybe ?

> 
> Polyphony implementation:
> 
> Very nice, but not *quite* there yet IMHO. The Jack MIDI implementation is 
> looking good AFAICT right now, but I have the following pet peeves with the 
> voice allocation:
> 
> - No voice stealing. Try playing a fifth note with 4 voice polyphony when all 
> the voices are playing already. :) IMHO voice stealing should be the default 
> or at least selectable as an option.
> 
> - Voices seem to be shut down immediately when the corresponding note-off is 
> received. Consequently, note-offs produce audible clicks because the voice 
> doesn't have time to go through its release phase. To fix this, voices should 
> be managed in a round-robin (LIFO) fashion instead of FIFO (which seems to be 
> the case right now), and shouldn't be shut down before their signal drops 
> below a certain threshold (-60 dB maybe). A simple way to deal with this is 
> to just let all voices run all the time.
> 
> - Also, please implement the "all notes off" (123) and "all sounds off" (120) 
> controllers. This really needs to be done at the voice allocation level. 
> Otherwise you invariably end up with hanging notes galore, which is 
> especially annoying if there's no voice stealing. :) I found that some MIDI 
> players (like Drumstick on Linux) are just lazy and will send CC 120/123 
> instead of proper note-offs when some notes are still on when the user 
> presses the stop button. The usual "Panic" button to do the all notes/sounds 
> off action manually in FaustLive would also be helpful.

Sure… the polyphonic mode *is* basic…  (I was sure you would say that ((-;)  It 
was initially developed by Romain/Yann on Android and my job was only to 
cleanup the code a bit and connect to the MIDI stuff.

I've already looked at your faust-lv2 code: the point is: do you think we could 
share a common code base for polyphonic instruments, to be used by faust-vst, 
faust-lv2, this new standalone mode.. etc. ? This would save some 
development/maintenance time. If yes how do you think we should proceed?

> 
> Finally, it's nice to be able to see all the parameters for each voice in 
> FaustLive and manipulate them separately. But there should be a "Lock" button 
> which binds together all the "global" synth parameters (i.e., all parameters 
> except freq, gain and gate) so that you can change stuff like filter 
> resonances or ADSR params for all voices simultaneously (which is the usual 
> way to operate a synth, so "Lock" should probably be checked by default).

Yes also : Yann did the same remark.
> 
> I hope that my nitpicking above doesn't sound too negative. In any case being 
> able to run FaustLive as an instrument is just awesome! A big thank you for 
> that! :)
> 
> Cheers,
> Albert


No problem, thanks Albert for the long feedback… ((-;  

Stéphane 




--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


[Faudiostream-users] Polyphonic and MIDI support in FaustLive (to test…)

2016-02-11 Thread Stéphane Letz
Hi all,

We recently added polyphonic and MIDI support in FaustLive, to be activated in 
the "Parameter" section of each DSP window. The polyphonic support uses the 
"mydsp_poly" DSP wrapping class already explained here :

http://faust.grame.fr/news/2016/01/13/polyphonic-instruments.html

and MIDI support already described here :

http://faust.grame.fr/news/2016/01/14/controlling-with-midi.html

Note that polyphonic instruments can possibly be used without MIDI control (and 
controlled with something like OSC or httpd). Before preparing new binaries, we 
are interested to get some feedback from people able to compile the 
applications themselves :

- get the GIT version of Faust2 branch, recompile it (including the HTTPD 
library with "make httpd") and re-install everything.

- get the latest "dev" version of FaustLive GIT, recompile it.

- on OSX  use "make JACK=1" to have the CoreAudio and JACK versions compiled. 
When running with CoreAudio backend, connection to the MIDI world is done using 
RtMIDI frameworks. When running with JACK backend, JACK also handles MIDI.

- on Linux, the version compiled by default uses JACK (and so JACK MIDI).

Thanks!

Stéphane
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faustlive Build Error

2016-02-08 Thread Stéphane Letz
In the Faust2 branch, you'll need to explicitly rebuild HTTP library so in the 
Faust2 folder

make httpd

sudo make install

Then build FL again

Stéphane

Le 8 févr. 2016 à 15:12, Steve Duell  a écrit :

> In January, I had a very hard time installing faust2-git on my machine, a 
> manjaro linux box with an updated system.  I gave up on it and reinstalled 
> manjaro, starting from scratch.  It must have helped, because I was able to 
> install faust2-git this time with no problems.
> 
> But now, I keep getting errors installing faustlive-git.  I have positively 
> confirmed that all of the dependencies are satisfied.  Can someone please 
> have a look at the build log and shed some light on the error I'm getting?
> 
> Most appreciated,
> 
> Steve Duell
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faustlive compilation error

2016-01-14 Thread Stéphane Letz
Until I merge "dev" to "master" to get a compiling "master"… but need to check 
something with Yann first….

Stéphane


Le 14 janv. 2016 à 19:13, Pierre Lecomte  a écrit :

> Solved !
> Thank you :)
> 
> Pierre
>> Are you in the FaustLive "dev"  branch? If not, then switch on it.
>> 
>> Stéphane
>> 
>> Le 14 janv. 2016 à 17:48, Pierre Lecomte  a écrit :
>>> Hello,
>>> I'm trying to compile Faustlive on my system (ubuntu linux) from the git
>>> repository, but without success :
>>> 
>>> http://pastebin.com/aCwwitQ4
>>> 
>>> I think it's with rtmidi...
>>> 
>>> Thanks for your help
>>> 
>>> Pierre
>>> 
>>> --
>>>  Site24x7 APM Insight: Get Deep Visibility into Application
>>> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
>>> $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>> ___
>>> Faudiostream-users mailing list
>>> Faudiostream-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] faust4processing linux compilation

2016-01-14 Thread Stéphane Letz
This is still a hard coded OSX only path in the 
embedded/faust4processing/src/Makefile.library file

Thy first to manually change the line 7 : javac -d . *.java  -classpath 
.:/Applications/Processing.app/Contents/Java/core.jar with your actual  path.

Then we'll have to figure out a more generic way to discover where Processing 
in installed. Do you know of any way to know Processing path installation on 
Linux?

Stéphane


Le 14 janv. 2016 à 18:12, Pierre Lecomte  a écrit :

> Hello,
> I'm having trouble trying to compile faust4processing under linux :
> 
> http://pastebin.com/Yfux7EM3
> 
> I'm using processing 3.0.1 installed in /usr/share/processing/processing3.0.1 
> folder.
> 
> In the report, it is said "package processing.core" does not exist.
> I suppose I have to tell somehow where is the installation path of processing 
> on my system or where should it be installed ?
> 
> Thank you
> 
> Pierre
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faustlive compilation error

2016-01-14 Thread Stéphane Letz
Are you in the FaustLive "dev"  branch? If not, then switch on it.

Stéphane


Le 14 janv. 2016 à 17:48, Pierre Lecomte  a écrit :

> Hello,
> I'm trying to compile Faustlive on my system (ubuntu linux) from the git 
> repository, but without success :
> 
> http://pastebin.com/aCwwitQ4
> 
> I think it's with rtmidi...
> 
> Thanks for your help
> 
> Pierre
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] (no subject)

2016-01-13 Thread Stéphane Letz
This is a little strange thing :  -lLLVM-3.5.2 appears in the link step when 
you said that  version 3.5.2-3 was used ?

Stéphane


Le 14 janv. 2016 à 02:57, Steve Duell  a écrit :

> Hi Folks,
> 
> I wonder if I can get a little help with a *small* problem.  You see, I'm 
> having trouble compiling the faust2 branch.
> 
> I am running Manjaro linux, and trying to build the faust2-git package from 
> the AUR.  Actually, I already have built it, but in order to do so, I had to 
> downgrade the following packages first: llvm35, llvm35-libs, and clang35.  I 
> found that with these packages downgraded to version 3.5.2-2, faust2 built 
> OK.  After upgrading these packages again to version 3.5.2-3, faust2 will not 
> compile.  The failed build log can be viewed here.
> 
> Like I said it's a small problem - I already have faust2 working, and 
> faustlive seems to do it's thing OK as well.  It's just that any time an 
> update for faust comes along, I'll have to downgrade a few packages first.  
> It's not a major inconvenience - I just want to understand what's causing the 
> failure.
> 
> Thanks for your time,
> 
> -Steve Duell
> 
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] osc aliases

2016-01-11 Thread Stéphane Letz
You can specify "-xmit 2" at launch time like :

./your_faust_pgm  -xmit 2

or you can possibly send on OSC message to change -xmit to 2

Note that aliases work also at "-xmit 0" (which is the default value)

(anything new on the processing side ?)

Stéphane
 
Le 11 janv. 2016 à 14:21, pierre.leco...@gadz.org a écrit :

> It's working now  ! Thank you. 
> An other question  : is it possible to specify -xmit 2 at compilation time to 
> fix the default transmission mode i.e. something like
> $  faust2jaqt mydsp.dsp -osc -xmit 2
> Thanks for help
> Pierre
> -- Message d'origine--
> De: Stéphane Letz
> Date: dim., 10/01/2016 8:56
> À: Pierre Lecomte;
> Cc: faudiostream-users@lists.sourceforge.net;
> Objet :Re: [Faudiostream-users] osc aliases
>  
> Le 10 janv. 2016 à 00:34, Pierre Lecomte 
>  a écrit :
> 
> > Hello,
> > I'm a bit confused with the use of osc aliases in Faust :
> > Let's say i've a slider in code
> > 
> > hslider("volume",0,-5,5,0,0.1);
> > 
> > when I run
> > 
> > $ oscsend localhost 5510 "/*" s get
> > 
> > I see it but the osc adress is very long :
> > 
> > /the/osc/adress/is/very/long/volume fff 0. -5. 5.
> 
> Yes the parameter OSC address reflects the complete "hierarchy" of 
> groups..etc.. that your UI code is using
> 
> > 
> > So I try to use aliases :
> > 
> > hslider("volume[osc:/level 0 10]",0,-5,5,0,0.1);
> > 
> > now when I run 
> > 
> > $ oscsend localhost 5510 "/*" s get 
> > 
> > /level ffssff -5. 5. "alias" "/the/osc/adress/is/very/long/volume" 
> > -5. 5.
> > 
> > /the/osc/adress/is/very/long/volume fff 0. -5. 5.
> > 
> > but the commands
> > $ oscsend localhost 5510 "/level" s get 
> > or
> > $ oscsend localhost 5510 "/level" f 10 
> > don't work
> > 
> > why ?
> > Thank you
> > 
> > Pierre
> 
> Bug fixed in GIT, please try again and report.
> 
> Stéphane 
> 


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive: stkmain error

2016-01-10 Thread Stéphane Letz
1) on which platform are you using FL ?

2) do others examples (included in the application work using the "Open 
Example") work?

Stéphane

Le 11 janv. 2016 à 01:52, Nycholas Maia  a écrit :

> Hi everybody,
> 
> I am new in FaustLive and I'm trying to run a "flute.dsp" example.
> 
> I got the error:
> Undefined Symbol: BoxIdent[stkmain]
> 
> Should I install some Faust library?
> 
> Thanks,
> Nyck
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust 2: Compiling error

2016-01-10 Thread Stéphane Letz
LLVM 3.8 (not officially released…)  is not yet supported.

Please use LLVM 3.6 or 3.7 instead.

Stéphane

Le 10 janv. 2016 à 23:14, Nycholas Maia  a écrit :

> Hi everybody,
> 
> I'm trying to compile Faust 2 to get the support to AU plug-in plugin 
> architecture.
> I installed llvm-3.8 from MacPorts...but I got this error:
> :3:9: error: macro name must be an identifier
> 
> #define 3.8.0svn 1
> 
> ^
> 
> 1 error generated.
> 
> make[1]: *** [boxes/boxcomplexity.o] Error 1
> 
> make: *** [all] Error 2
> 
> What can I do?
> 
> Thanks,
> Nyck
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] osc aliases

2016-01-10 Thread Stéphane Letz

Le 10 janv. 2016 à 00:34, Pierre Lecomte  a écrit :

> Hello,
> I'm a bit confused with the use of osc aliases in Faust :
> Let's say i've a slider in code
> 
> hslider("volume",0,-5,5,0,0.1);
> 
> when I run
> 
> $ oscsend localhost 5510 "/*" s get
> 
> I see it but the osc adress is very long :
> 
> /the/osc/adress/is/very/long/volume fff 0. -5. 5.

Yes the parameter OSC address reflects the complete "hierarchy" of 
groups..etc.. that your UI code is using

> 
> So I try to use aliases :
> 
> hslider("volume[osc:/level 0 10]",0,-5,5,0,0.1);
> 
> now when I run 
> 
> $ oscsend localhost 5510 "/*" s get 
> 
> /level ffssff -5. 5. "alias" "/the/osc/adress/is/very/long/volume" 
> -5. 5.
> 
> /the/osc/adress/is/very/long/volume fff 0. -5. 5.
> 
> but the commands
> $ oscsend localhost 5510 "/level" s get 
> or
> $ oscsend localhost 5510 "/level" f 10 
> don't work
> 
> why ?
> Thank you
> 
> Pierre

Bug fixed in GIT, please try again and report.

Stéphane 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust, FaustLive and Midi

2016-01-09 Thread Stéphane Letz

- are you testing MIDI in FaustLive when you see those problems ?

- can you send me the .dsp file you are using to test ?

Thanks

Stéphane

Le 9 janv. 2016 à 21:35, azvinz  a écrit :

> Hello everybody and happy new year!
> 
> I just figured out Midi is now implemented in Faust and Faust live, which is 
> very very amazing. :)
> 
> I just tested it out (Linux) and figured out a strange behavior with the 
> RtMidi out port: it sends aftertouch data (note) on channel 16 instead of 
> Ctrl data.
> 
> Here is a complete list of the tests:
> 
> sliders: 
> midi in is correct, midi out as afterouch data in ch16 with correct value
> 
> nentry: 
> midi in working with range between 0 and 127 (correct), midi out aftertouch 
> ch16 with correct value (int)
> 
> button:
> midi in not working, midi out as aftertouch, ch16 with only one value (63)
> 
> checkbox:
> 
> midi in not working, midi out as aftertouch, ch16 with only one value (63)
> 
> 
> bargraph: 
> midi in is not working (correct), midi out as aftertouch, ch16 with only one 
> value (63)
> 
> ---
> 
> 
> Another question: Is there a way to get Jack transport informations 
> (especially the bpm) in jack? I'd like to sync my LFOs :)
> 
> -
> 
> 
> All the best,
> 
> Vincent (Superdirt²)
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] faust compilation problem

2016-01-09 Thread Stéphane Letz
Added a possible fix on GIT. Can you try again?

Stéphane

Le 9 janv. 2016 à 16:33, Pierre Lecomte  a écrit :

> Hello,
> I've a little trouble to (re)install faust on my system (Linux/Ubuntu):
> 
> What I've done:
> 
> $ git clone git://git.code.sf.net/p/faudiostream/code faust
> 
> $ make
> $ sudo make install
> 
> everything is fine so far but when i try to compile an example :
> 
> $ cd examples
> 
> $ faust2jaqt osc.dsp
> 
> osc.cpp:5741:39: fatal error: CoreAudio/CoreAudioTypes.h: Aucun fichier ou 
> dossier de ce type
>  #include 
>   ^
> compilation terminated.
> make: *** [osc.o] Erreur 1
> 
> So it seems that faust is looking for some iOS library.. I guess I could 
> compile faust without CoreAudio dependency but I don't know what flag to add 
> when I exectute the command $ make
> 
> Any help ?
> 
> Pierre Lecomte
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Faust user interface message flow in Max 7 console

2015-11-24 Thread Stéphane Letz
Hi Alain,

The "static" architecture files have been fixed for this problem, but are 
probably not yet updated in the "faustweb" remote compilation service.

Stéphane


Le 24 nov. 2015 à 14:34, bonardi  a écrit :

> Hi everybody,
> 
> I am moving from Max 6 to Max 7.
> 
> My Max objects previously generated from Faust code thanks to FaustLive work 
> well on both softwares.
> 
> But I face a problem in Max 7 console: I get a continuous flow of Faust user 
> interface messages. It never stops, fills the console and prevents me from 
> catching the few important messages I expect.
> In Max 6, I did not get any message of that kind.
> 
> Examples of messages:
> Slider(double): rowFactor0 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor1 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor10 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor11 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor12 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor13 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor14 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor15 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor2 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor3 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor4 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor5 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor6 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor7 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor8 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): rowFactor9 [init=1:min=0:max=1:step=0.001:cur=1]
> Slider(double): t0[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t1[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t10[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t11[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t12[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t13[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t14[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t15[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t2[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t3[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t4[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t5[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t6[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t7[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t8[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): t9[3:] [init=1000:min=0:max=43000:step=1:cur=1000]
> Slider(double): tStretch[6:] [init=1:min=0.01:max=100:step=0.01:cur=1]
> Slider(double): winDelay[6:] [init=100:min=1:max=1000:step=1:cur=100]
> Slider(double): winHarmo[6:] [init=30:min=1:max=127:step=1:cur=30]
> 
> 
> Any ideas about the origin of this? How to avoid it?
> 
> Many thanks in advance.
> 
> Best,
> 
> Alain
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] FaustLive not finding all library symbols (?)

2015-10-20 Thread Stéphane Letz
> 
> I just installed DMG 2.40 (after removing 2.39 and 
> .FaustLive-CurrentSession-2.0)
> but I get the same incomplete effect.lib as in 2.39. 
> 
> Could you check if In your install of 2.40, you have definitions for 
> "amp_follower_ar" 
> and "mono_freeverb" in the cached effect.lib?
> 

I've changed the include order so that "-l faudiostream-code/architecture/" 
kind of options will be used first, and so prevent use of internal "libs", 
which make senses since adding "-l faudiostream-code/architecture/"  is the way 
to possibly use a newest version of libs….

Will be in the next release.

Stéphane


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


Re: [Faudiostream-users] FaustLive not finding all library symbols (?)

2015-10-19 Thread Stéphane Letz


Le 20 oct. 2015 à 01:55, Daniel Chapiro  a écrit :

> Hi Yann, Stephane,
> 
> I had no idea from where FLive was pulling the libraries… Removing it and 
> restarting didn't fix the problem because FL put again an incomplete 
> effect.lib. But when I replaced .FaustLive-CurrentSession-2.0/effect.lib with 
> the copy from faudiostream-code/architecture/ all worked :)

All lib files are "binary included" in the FL application at build time, and 
copied as files in the .FaustLive-CurrentSession-2.0/effect.lib. The FL 
application is supposed to be "self-contained" and do now require a full 
"Faust" installation to be done.

If you manually replace ".FaustLive-CurrentSession-2.0/effect.lib " then the 
risk is that the next time FL recreates this file (for some reason….) it will 
use again it's own "internalversion.

> 
> However, it seems there are a couple of related problems:
> 
> Libary Switch:
> I had set Flive's compile switch to "-l faudiostream-code/architecture/", but 
> it made no difference: Could it be that by the time one sets it, FLive has 
> already made a hidden cache. Shouldn't FLive re-load this cache when the user 
> sets/changes the library path? 

I will check that (possibly an  "include order" issue then…)
> 
> FaustLive .dmg:
> I had cloned the FLive sources, but when make osx failed I just installed 
> from the .dmg. However, this install from dmg kept using the libraries from 
> the old cloned sources (a git pull in faudiostream-faustlive/ updated all the 
> libraries now). However, shouldn't the install from a .dmg have installed 
> it's own, complete set of up to date libraries, rather than use stuff that 
> was left over from older sources?
> 
> Thanks!
> Daniel
> 
Have you tried the more recent 2.40 version? 
https://sourceforge.net/projects/faudiostream/files/

(Yann the 2.43 DMG does now seem to be correct, it does not open here..)

Stéphane



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


Re: [Faudiostream-users] FaustLive not finding all library symbols (?)

2015-10-19 Thread Stéphane Letz
Try to delete your FL resources, opening a terminal and doing (in you home 
folder) :

rm -rf .FaustLive-CurrentSession-2.0/

Then start FL and try again.

Stéphane


Le 17 oct. 2015 à 22:15, Daniel Chapiro  a écrit :

> Sure, Stephane. Here is a small example that shows the problem:
> 
> import ("oscillator.lib");
> import ("effect.lib");
> 
> src= sawtooth(200) : *(0.1);
> r1 = satrev;
> r2 = mono_freeverb(0.5,0.5,0.5,0.5);
> process = src : r1;   // ok
> // process = src : r2;// fails
> 
> Julius, yes, it could be in the scope handling, but it's strange that some 
> things that are defined in the same scope, and imported in the same way, show 
> up while others don't  (unless I am doing something really dumb, or there's 
> some issue with my setup)
> 
> --Daniel
> 
> On Oct 17, 2015, at 12:34 PM, Stéphane Letz wrote:
> 
>> Can you send me a simple .dsp that shows the problem?
>> 
>> Thanks.
>> 
>> Stéphane
>> 
>> Le 17 oct. 2015 à 21:27, Daniel Chapiro  a écrit :
>> 
>>> Hi all,
>>> 
>>> Maybe somebody else has seen this?  FLive 2.39 (OSX 10.7.5) is not finding 
>>> some specific library objects (whether I use import or library). However, 
>>> the same .dsp compiles and runs fine with faust2ck, or with faust2caqt.
>>> 
>>> I have the Compilation Switch set to -l /op/faudiostream-code/architecture, 
>>> and the .dsp has:
>>> import("music.lib");
>>> import("instrument.lib");
>>> import ("filter.lib");
>>> effLib = library ("effect.lib");
>>> 
>>> So far I have found this problem only with effect.lib. FLive complains that 
>>> some symbols, like
>>> amp_follower_ar, mono_freeverb, etc.,
>>> are not defined, even though they are... The curious thing is that it 
>>> accepts other symbols from this same library, such as
>>> amp_follower_ud, satrev, etc., 
>>> which I can see in the SVG diagram, so I know that FLive found effect.lib, 
>>> and loaded it.
>>> 
>>> Is this a known bug, or something that has been fixed in 2.40?
>>> 
>>> Thanks,
>>> Daniel 
>>> 
>>> PS: BTW,
>>> 
>>> 
>>> --
>>> ___
>>> Faudiostream-users mailing list
>>> Faudiostream-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>> 
> 


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


Re: [Faudiostream-users] FaustLive segfault

2015-09-11 Thread Stéphane Letz

Program received signal SIGSEGV, Segmentation fault.
0x00418daa in JA_audioManager::connect_Audio(std::string) ()


So crash in JA_audioManager::connect_Audio(std::string)

1) Possibly try to remote FL resources (folder named 
".FaustLive-CurrentSession-2.0"  on user account in FL on OSX, probably similar 
on Linux, but  I dot remember the details..)

2) Is  JACK server running when you start FL?

Stéphane


Le 11 sept. 2015 à 11:17, Pierre Lecomte  a écrit :

> Hi,
> 
>> Hi,
>> 
>> Answers in the text:
>> 
>> Le 10 sept. 2015 à 17:06, Pierre Lecomte  a écrit :
>>> Hello,
>>> I've got some troubles after compiling FaustLive
>>> What I did :
>>> Install faust2:
>>> 
>>> $git clone git://git.code.sf.net/p/faudiostream/code faudiostream-code
>>> $git checkout faust2
>>> $make world
>>> $sudo make install
>>> 
>>> Then FaustLive:
>>> $git clone git://git.code.sf.net/p/faudiostream/faustlive faudiostream
>>> faustlive
>>> 
>>> $cd Build/Linux
>>> $make
>>> $sudo make install
>>> $FaustLive
>>> 
>>> At this stage I've got the following error :
>>> 
>>> FaustLive: error while loading shared libraries: libHTTPDFaust.so: cannot
>>> open shared object file: No such file or directory
>> 
>> Do you mean that you have this link error at compile/link time? Or at launch
>> time?
> 
> This link error appears after compilation, at launch time
> 
>> (if FL compile/links correctly and fails at launch time, then you may have
>> to use "libconfig" to indicate to your system to look for dynamic libraries
>> sin /usr/local/lib)
> 
> I'm not really sure how to to that, I've done this in a terminal, and it 
> appears to work :
> 
> sudo ldconfig -n /usr/local/lib/
> 
> 
>>> The problem is that all the needeed librairies (i.e. libfaust,
>>> libHTTPDFaust, libOSCFaust) are located in /usr/local/lib/ and I guess
>>> FaustLive is looking for them in /usr/bin
>>> 
>>> So I've created symlinks between for thoses libs in /usr/bin/.
>>> FaustLive is running but as soon as I try to load an example, I've got a
>>> segfault error :
>>> 
>>> Erreur de segmentation (core dumped)
>> 
>> Can you start with GDB to get a crash log?
> 
> I did following the instruction here 
> https://wiki.ubuntu.com/Backtrace (section Already running programs)
> 
> However, I guess the log is kind of useless since it's written everywhere "no 
> debugging symbols found."
> 
>>> I don't really know where to specify FaustLive to check the shared libs in
>>> /usr/local/lib instead of /usr/lib in the MakeFile
>>> 
>>> Any help ?
>>> Pierre Lecomte
>> 
>> Stéphane
> 
> Thanks for your support
> Pierre
> 


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


Re: [Faudiostream-users] FaustLive segfault

2015-09-10 Thread Stéphane Letz
Hi,

Answers in the text:


Le 10 sept. 2015 à 17:06, Pierre Lecomte  a écrit :

> Hello,
> I've got some troubles after compiling FaustLive 
> What I did :
> Install faust2:
> 
> $git clone git://git.code.sf.net/p/faudiostream/code faudiostream-code
> $git checkout faust2
> $make world
> $sudo make install
> 
> Then FaustLive:
> $git clone git://git.code.sf.net/p/faudiostream/faustlive faudiostream 
> faustlive
> 
> $cd Build/Linux
> $make
> $sudo make install
> $FaustLive
> 
> At this stage I've got the following error :
> 
> FaustLive: error while loading shared libraries: libHTTPDFaust.so: cannot 
> open 
> shared object file: No such file or directory

Do you mean that you have this link error at compile/link time? Or at launch 
time?

(if FL compile/links correctly and fails at launch time, then you may have to 
use "libconfig" to indicate to your system to look for dynamic libraries sin 
/usr/local/lib)


> 
> The problem is that all the needeed librairies (i.e. libfaust, libHTTPDFaust, 
> libOSCFaust) are located in /usr/local/lib/ and I guess FaustLive is looking 
> for them in /usr/bin
> 
> So I've created symlinks between for thoses libs in /usr/bin/.
> FaustLive is running but as soon as I try to load an example, I've got a 
> segfault error :
> 
> Erreur de segmentation (core dumped)

Can you start with GDB to get a crash log?
> 
> I don't really know where to specify FaustLive to check the shared libs in 
> /usr/local/lib instead of /usr/lib in the MakeFile
> 
> Any help ?
> Pierre Lecomte

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


Re: [Faudiostream-users] sample bank program

2015-09-07 Thread Stéphane Letz
I would go for 2), but maybe you could describer first a bit more what you are 
trying to develop :

- on which platform?

- what would be the role of Faust processing into your application?

- would you application need a complete  UI or would it be only remotely 
controlled? (like with OSC..)

Stéphane


Le 7 sept. 2015 à 02:59, Ben Burdette  a écrit :

> Hey all;
> 
> I'm interesting in writing a program which can load multiple banks of
> sound samples based on a configuration file.  For a given config file
> there might be 10 or 15 banks, and (probably) 24 samples per bank. 
> 
> Faust, by design, doesn't have any provisions for this sort of thing as
> far as I can tell.  So I'll need to do my sample loading outside of faust. 
> 
> What would be a recommended architecture for such a program?  I can
> think of a couple of possibilities:
> 
> 1) write a faust program with 24 slots for sounds.  Have an external
> program put the sounds into faust via osc, perhaps (is this possible?). 
> Each time the sample bank is changed, load new sounds into faust,
> replacing the old. 
> 
> 2) write a program which uses the faust-generated C++ code as a module. 
> This program would load the samples into its memory, and handle
> streaming them (and perhaps external sound sources) into the faust code,
> and then routing the faust code results to an audio device. 
> 
> 3) ??
> 
> Option 2 certainly involves more responsibility, what with dealing with
> audio devices and so forth.  Option 1 seems easier, but perhaps a little
> kludgy - switching from one sound bank to another would be comparatively
> slow. 
> 
> Anyway, any input would be appreciated!
> 
> - Ben
> 
> --
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


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


Re: [Faudiostream-users] OSC interface becomes unresponsive

2015-09-06 Thread Stéphane Letz
You may try to hack the "OSCSetup::start" method in 
"faust/src/osc/OSCSetup.cpp" and add a "SetPriority" call like:

fOSCThread = new OscThread (mp, port, fErrCallback, fArg);
fOSCThread ->SetPriority(80);
fOSCThread->start();

recompile/restart and see if it helps.

Stéphane


Le 6 sept. 2015 à 02:41, Ben Burdette  a écrit :

> Hey all;
> 
> I'm trying out faust for synthesis on an instrument, which uses a
> bananapi ARM computer.  On the banana pi there's a c++ program which
> continuously scans a number of sensors, and then faust which receives
> the osc messages to trigger audio.
> 
> When the key scanner is run full blast it maxes out one of the two
> cpus.  This causes the osc interface for faust to be unresponsive, even
> though it apparently continues with audio synthesis.  If I throttle back
> on the scanner, the osc stuff starts responding - if I restart the faust
> program. 
> 
> At certain rates I can start the faust program first, then start the key
> scanner and it works.  But the other way around doesn't. 
> 
> Any ideas re this?  Maybe running faust with realtime priority? 
> 
> thanks,
> 
> Ben
> 
> 
> 
> --
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users


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


[Faudiostream-users] WAC 2016 : call for submissions

2015-09-05 Thread Stéphane Letz

Here: http://webaudio.gatech.edu/node/22

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


<    1   2   3   4   5   6   7   >