Re: [Faudiostream-users] Fixed point arithmetic status?

2024-04-09 Thread Stéphane Letz
Nothing usable for now.

Stéphane 

> Le 9 avr. 2024 à 05:39, M. Edward (Ed) Borasky  a 
> écrit :
> 
> What is the latest status on the fixed point arithmetic capability in Faust?
> 
> 
> Sent from ProtonMail mobile
> 
> 
> ___
> 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] The soundfile primitive can finally be used in the Faust Web IDE

2024-04-08 Thread Stéphane Letz
The soundfile primitive can finally be used in the Faust Web IDE (WIP), see: 
https://github.com/grame-cncm/faustide?tab=readme-ov-file#soundfiles-access

Stéphane 



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


[Faudiostream-users] Faust version 2.72.14 released

2024-04-04 Thread Stéphane Letz
https://github.com/grame-cncm/faust/releases/tag/2.72.14

Stéphane

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


[Faudiostream-users] FaustLive version 2.5.18 released

2024-04-04 Thread Stéphane Letz
https://github.com/grame-cncm/faustlive/releases/tag/2.5.18

Stéphane 

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


[Faudiostream-users] Faust version 2.72.13 pre-release version to test

2024-04-01 Thread Stéphane Letz
https://github.com/grame-cncm/faust/releases/tag/2.72.13

Stéphane 

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


[Faudiostream-users] Faust Conference (IFC) 2024 in Turin, Italy, on November 21-22, 2024.

2024-02-22 Thread Stéphane Letz
Soundmit announces that it will host the International Faust Conference (IFC) 
2024 in Turin, Italy, on November 21-22, 2024. The IFC is a biennial event that 
brings together the global community of developers and users of the FAUST audio 
programming language. The conference offers a unique opportunity to: 

Learn more about the FAUST language and its various applications Meet other 
professionals in the audio and music industry Attend talks, workshops, and 
panels on a variety of topics related to FAUST Contribute to the future 
development of the language The IFC 2024 will be held two days before the 14th 
edition of Soundmit, the international fair on synthesizers, electronic musical 
instruments, digital music and sound art, which will take place in Turin on 
November 23-24, 2024. The two events will be united for the first time, 
creating a unique opportunity for participants to fully immerse themselves in 
the world of digital audio. 

Companies that wish to support the conference can do so with a small 
sponsorship that offers a great return in terms of visibility. It is also 
possible to participate in the Soundmit as an exhibitor to present your 
products and services to an international audience of professionals. 

 Dates: IFC24 - 21/22 Nov 2024 - Turin 
SOUNDMIT (14th edition) - 23/24 Nov 2024 - Turin 

https://www.soundmit.com/en
https://ifc24.soundmit.com/en

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


Re: [Faudiostream-users] Using Faust export in C'74 Max gen~ codebox?

2024-02-22 Thread Stéphane Letz
No, codebox is a somewhat an «improved gen~ » language, and cannot be used 
within gen~.

(the initial idea what to have a Faust => gen~, backend, to be usable in both 
MSP *and* RNBO contexts, but it appeared that gen~ was not complete enough to 
support all needed primitives. Thus the choice of within Faust => codebox 
backend, to be only usable in RNBO patches.) 

Stéphane 

> Le 22 févr. 2024 à 13:11, Trond Lossius  a écrit :
> 
> Hi,
> 
> I see that Faust code can be exported to Max RBNO and will then mostly end up 
> in a codebox. Can this codebox code also be used within gen~, or are there 
> differences that make that impossible?
> 
> Thanks,
> Trond
> 
> ___
> 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] Grame with Faust selected for Google Summer of Code 2024

2024-02-21 Thread Stéphane Letz
Hi everybody,

Grame with the Faust project is selected as a Google Summer of Code 2024 mentor 
organisation for the third year, see: 
https://summerofcode.withgoogle.com/programs/2024/organizations/grame

Stéphane 

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


Re: [Faudiostream-users] Fftw foreign function

2024-02-18 Thread Stéphane Letz
This seems more a link issue, not really related to Faust by itself right ?

In any case we can possibly chat and try to help on Faust Discord: 
https://faust.grame.fr/community/help/#faust-on-discord

Stéphane 

> Le 18 févr. 2024 à 09:58, Francesco Vitucci  a écrit :
> 
> Good morning,
> I'm trying to use fftw to write a foreign function that can perform some 
> tasks based on the Fourier transform. I don't know if it will be possible to 
> use it, for the moment it is only an attempt.
> At the moment, in the same folder, there are the .dsp file and the .h file 
> (with the inclusion of fftw3.h, the foreign function declared and written).  
> When I try to invoke any faust2..., I get "Undefined symbols for architecture 
> x86_64" errors followed by the names of some functions from the fftw package. 
>  I installed this library via homebrew and I think the problem at the moment 
> may be that the gcc compiler doesn't point towards the library.  What do you 
> think?  I would like to find a way to solve it.
> 
> Thank you very much
> 
> Francesco Vitucci
> ___
> 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] My VST plugins for Windows do not work

2024-02-12 Thread Stéphane Letz
The VST export is old and unmaintained. Better use the JUCE export and compile 
for VST3.

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

Note that the JUCE project can be directly exported from the faust Web IDE: 
https://faustide.grame.fr (and https://github.com/grame-cncm/faustide for the 
documentation)

Stéphane 

> Le 12 févr. 2024 à 09:11, David Dowler via Faudiostream-users 
>  a écrit :
> 
>  I am a total Faust NOOB.I got the effect I wanted after about 5 days, I 
> compiled it as a VST in Win64 and Audacity said it was incompatible. I tried 
> it anyway and there was a message about the DLL not being able to be 
> registered. I used regsvr32 and it said something about no entry point. I 
> tried other DLLs that were VSTs and they worked fine. I saved the project for 
> use in Android and the effect work perfectly. I tried the DLL in Reaper, and 
> it said it was a VSTI. I know I did not save it as a VSTI, but I tried again 
> and had the same result. Just for the heck of it, I compiled it as a VSTI and 
> Reaper said that was also a VSTI.
> 
> What am I doing wrong?
> 
> Thanks in advance
> 
> Tink
> 
> 
> 
> ___
> 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] emsc error

2024-02-06 Thread Stéphane Letz
The lowpass first parameter 
(https://faustlibraries.grame.fr/libs/filters/#filowpass) has to be a « 
nonnegative constant numerical expression » , see : 
https://faustdoc.grame.fr/manual/syntax/#constant-numerical-expressions

So a slider cannot be used here. 

The reported error should be «  ERROR : stack overflow in eval », but for some 
reason the libfaust version in WebAssembly does not report it correctly for now.

Stéphane 


> Le 6 févr. 2024 à 12:30, Carlos Antúnez  a écrit :
> 
> Hi, an "emsc" error message is appearing, possibly related with:
> 
> lowpass = fi.lowpass(n, fc);
> n = hslider("n", 1 , 1 , 700, 1);
> fc = hslider("cut", 252, 10, 1, 1);
> 
> 
> 
> 
> What does it mean?
> 
> Thanks for the attention.
> ___
> 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] Floor operation

2024-01-28 Thread Stéphane Letz
What about https://faustdoc.grame.fr/manual/syntax/#floor-primitive ?

Stéphane 

> Le 28 janv. 2024 à 11:58, Carlos Antúnez  a écrit :
> 
> Hi! Is there any way to implement a floor operation in Faust?
> 
> Thank you.
> ___
> 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 2.70.3 prerelease to test

2024-01-06 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.70.3

Stéphane 

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


Re: [Faudiostream-users] algorithmically generating rdtables?

2024-01-04 Thread Stéphane Letz
Not sure to fully understand the logic, but looking at the C++ generated file, 
I see the global table being filled in fillmydspSIG0 method, so once at init 
time.

Try to simplify the code as much as possible, and looking at the SVG diagram 
can possibly help ?

Stéphane 

> Le 4 janv. 2024 à 15:56, Autumn Cheney  a écrit :
> 
> of course!
> 
> this was as simple as i could get it, but hopefully everything is 
> self-explanatory:
> 
> import("stdfaust.lib");
> 
> table_size = 2 << 16;
> min_freq = 16.3515978313;
> p_num = 64;
> 
> current_oct(x) = ceil(ma.log2(x-0.3515978313))-5;
> 
> sine_partial(len,harm,amp,phase,x) = 
> (sinx+phase)*2*ma.PI)/(len))*harm)*amp)/(harm);
> 
> // 1st 64 are harmonic amplitudes, 2nd 64 are harmonic phases
> blank = 0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0, 
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
> 
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0, 
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0,
>   0, 0, 0, 0, 0, 0, 0, 0;
> 
> // saw wave example
> saw_wave_add = par(i,64,1),par(i,64,0); 
> 
> table_init(table_size,partials,freq) = 
> (partials),par(i,p_num,(float(ba.time)/float(table_size))) : 
> route(p_num*3,p_num*3,par(i,p_num*3,((i+1),(3*(ma.modulo(i,p_num)))+(ceil((i+1)/p_num)
>  : par(i,p_num,(_*(freq*(i+1)<=(ma.SR/2)),_,_)) : 
> par(i,p_num,(sine_partial(1,i+1))) :> _;
> table_gen(table_size,partials,oct,min_freq,read) = 
> table_size,table_init(table_size,partials,min_freq*(2^(oct))),read:rdtable;
> table_osc(table_size,partials,freq,min_freq,reset,phase) = 
> int(os.hsp_phasor(freq,reset,phase))<:par(i,10,table_gen(table_size,partials,i,min_freq)):>ba.selectn(10,current_oct(freq));
> 
> process = table_osc(table_size,saw_wave_add,440,min_freq,0,0); 
> 
> /*
> 
> table_init(table_size,partials) = 
> (partials),par(i,p_num,(float(ba.time)/float(table_size))) : 
> route(p_num*3,p_num*3,par(i,p_num*3,((i+1),(3*(ma.modulo(i,p_num)))+(ceil((i+1)/p_num)
>  : par(i,p_num,(sine_partial(1,i+1))) :> _;
> table_gen(table_size,partials,read) = 
> table_size,table_init(table_size,partials),read:rdtable;
> table_osc(table_size,partials,freq,reset,phase) = 
> int(os.hsp_phasor(freq,reset,phase))<:par(i,10,table_gen(table_size,partials)):>ba.selectn(10,current_oct(freq));
> 
> process = table_osc(table_size,saw_wave_add,440,0,0);
> 
> */
> 
> if you run this no sound is produced, like the rdtable is empty. the big 
> commented out part without the freq parameter in table_init doesn't work 
> either
> 
> thanks in advance!
> 
> On Thursday, January 4th, 2024 at 2:26 AM, Stéphane Letz  
> wrote:
> 
> 
>> Do you have some simple code to share ?
>> 
>> Stéphane
>> 
>>> Le 3 janv. 2024 à 22:02, Autumn Cheney via Faudiostream-users 
>>> faudiostream-users@lists.sourceforge.net a écrit :
>>> 
>>> i'm designing a wavetable synth where the waveform is generated using a 
>>> array of signals specifying the harmonic amplitudes and phases of the 
>>> waveform. i'm trying to do mip mapping (i.e., creating sub-wavetables for 
>>> each octave to avoid aliasing) and i've found that using the par iterator 
>>> with the rdtable either gives me a "checkinit failed for type rses" error 
>>> or compiles successfully but gives an empty rdtable
>>> 
>>> is there a way i can do this purely using the rdtable? if i have to use 
>>> rwtable, is there a way to write the mip mapped waveforms only once at 
>>> initialization?
>>> 
>>> thanks!
>>> ___
>>> 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] algorithmically generating rdtables?

2024-01-04 Thread Stéphane Letz
Do you have some simple code to share ?

Stéphane 

> Le 3 janv. 2024 à 22:02, Autumn Cheney via Faudiostream-users 
>  a écrit :
> 
> i'm designing a wavetable synth where the waveform is generated using a array 
> of signals specifying the harmonic amplitudes and phases of the waveform. i'm 
> trying to do mip mapping (i.e., creating sub-wavetables for each octave to 
> avoid aliasing) and i've found that using the par iterator with the rdtable 
> either gives me a "checkinit failed for type rses" error or compiles 
> successfully but gives an empty rdtable
> 
> is there a way i can do this purely using the rdtable? if i have to use 
> rwtable, is there a way to write the mip mapped waveforms only once at 
> initialization?
> 
> thanks!
> ___
> 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 2.69.3 released here: https://github.com/grame-cncm/faust/releases/tag/2.69.3

2023-11-14 Thread Stéphane Letz




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


[Faudiostream-users] Faust version 2.69.3 pre-release to test

2023-11-13 Thread Stéphane Letz
Faust version 2.69.3 
Repository: grame-cncm/faust  · Tag: 
2.69.3  · Commit: 272b56e 

 · Released by: github-actions[bot] 
Change log

WARNING: to get the source version

be sure to download the faust-2.69.3.tar.gz file to get a complete source 
folder (in particular, with all the libraries)
on macOS, binary files are still to notarise, you may have to use the xattr -rd 
com.apple.quarantine file command to remove the com.apple.quarantine extended 
attribute. See the xattr man page 
 for 
details on how to use that tool.
WebAssembly

This is the latest release which contains the JavaScript written 
Faust/WebAssembly glue code using the compiled libfaust-wasm.js, 
libfaust-wasm.wasm and libfaust-wasm.data files, also used in the 
faust2webaudio  separated 
project. See documentation 
.

A new TypeScript/JavaScript based model will be used in the next versions.

New

Improve faustbench-llvm by checking -ct 0 option
Update faust2max6 link step for Max 8.6
JAX: improve soundfile path searching
Introduction of widget modulation expressions 

Add boxHGroup, boxVGroup, boxTGroup and C versions in libfaust API
Rework -1*exp like expressions in FIR by adding MinusInst
Improved simplifications in particular for -n*exp expressions
Expressions 0-x rewritten in -1*x in aterm::normalizedTree()
Update faustgen~ link step for Max 8.6
Update faust2jackconsole to allow effects option
Add -I option to faust2caqt
Deprecated

Fixed bugs

Remove identifiers generation workaround in codebox backend
Correct LLVMInstVisitor::visitIndexedAddress
Minus expression is not correctly handled for now in codebox backend, so use 
the -1*exp workaround, improve MinusInst handling in LLVM backend
Libraries

Add si.smoothq function
Add ma.not function
Add adsr_bias and ahdsr_bias
Add fibonacci functions
Adding more mixing functions
Add si.repeat function
Add wavefold and `softclipQuadratic saturators
—
This release has 10 assets:

Faust-2.69.3-arm64.dmg
Faust-2.69.3-win64.exe
Faust-2.69.3-x64.dmg
faust-2.69.3.tar.gz
faustgen-1.67-arm64.dmg
faustgen-1.67-win64.zip
faustgen-1.67-x64.dmg
libfaust-ubuntu-x86_64.zip
Source code (zip)
Source code (tar.gz)
Visit the release page 
 to download them.

—
You are receiving this because you are watching this repository.
View it on GitHub  or 
unsubscribe 

 from all notifications for this repository.___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] Int signals compiling with -double

2023-10-30 Thread Stéphane Letz


> Le 30 oct. 2023 à 02:39, Oleg Nesterov  a écrit :
> 
> On 10/30, Dario Sanfilippo wrote:
>> 
 In
 that case; functions such as ba.time would also get an improvement.
>>> 
>>> Why do you think so??
>>> 
>>> perhaps you meant that ba.time can overflow? Yes it can, but I don't
>>> think this should depend on -double.
> 
> So what exactly did you mean?
> 
>> From what I understand, a double can represent correctly a larger range of
>> ints than an int32_t can, so if Faust assumed all signals to be float when
>> using -double, we would avoid the issues above.
> 
> but we will have other issues,
> 
>> Other than it shouldn't be determined by the -double flag, do we agree that
>> dealing with ints using double would be better than using int32_t?
> 
> Sorry, no, I think this is a horrible idea :/
> 
> faust has types. Very limited set. You suggest to remove kInt. This looks
> strange to me, to say at least.
> 
> Oleg.
> 

I agree with Oleg here:

- Integers in Faust are 32-bits integer with all their « properties »,  which 
are currently used in the library no.noise generator using the wrapping 
behaviour (maybe not the best idea we had, but well…)

- math operations on integers stay in the Integer domain in general. The / 
(division) only promotes both arguments as float as does a float division.

- some other primitive do « type promotion ». This has been better documented 
here : https://faustdoc.grame.fr/manual/syntax, with something like « 
automatically promoted to int » at several places 

- we can not afford to change the behaviour of integers in -double mode as 
Dario suggested, since it would instantly break existing code in a « blind » 
manner. 

- do we need an *explicit new option* to set the integer size (like -int32, 
-in64 or better possibly -int N, with N = 32, 64, 128 one day ?), so as a *user 
choice* ? But that 1) would break no.noise implementation, so we would need to 
write alterable version… 2) this could blindly break existing code….

Comments ?

Stéphane 




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


Re: [Faudiostream-users] Int signals compiling with -double

2023-10-29 Thread Stéphane Letz
1) https://faustdoc.grame.fr/manual/syntax/#numbers is quite clear AFAICS:

==
Numbers

Faust considers two types of numbers: integers and floats. Integers are 
implemented as signed 32-bits integers, and floats are implemented either with 
a simple, double, or extended precision depending of the compiler options. 
Floats are available in decimal or scientific notation. 

Like any other Faust expression, numbers are signal processors. For example the 
number 0.95 is a signal processor of type 핊0→핊1 that transforms an empty tuple 
of signals () into a 1-tuple of signals (y) such that ∀t∈ℕ,y(t)=0.95.

Operations on integer numbers follow the standard C semantic for +, -, * 
operations and can possibly overflow if the result cannot be represented as a 
32-bits integer. The / operation is treated separately and cast both of its 
arguments to floats before doing the division, and thus the result takes the 
float type.
==

Should be add something more ?

2) In a more long term : do we really need 64 bits integer ? Or forcing 
compilation as real ( -single/double/quad) when needed is enough ?

3) We have to fix Dario just reported issue : 
https://github.com/grame-cncm/faust/issues/962 

Stéphane 

> Le 29 oct. 2023 à 19:09, Dario Sanfilippo  a 
> écrit :
> 
> Hi, Oleg.
> 
> On Sun, 29 Oct 2023 at 17:02, Oleg Nesterov  wrote:
> On 10/29, Dario Sanfilippo wrote:
> >
> > internal int representation is always 32-bit, and Stéphane explained that
> > it can't be changed easily.
> 
> Yes, and this is a bit unfortunate
> 
> > Since Faust is a high-level language for DSP, wouldn't it make sense to
> > treat all signals as float unless there's an explicit cast to int?
> 
> I disagree. If nothing else this would be incompatible change.
> For example, even ba.time should be changed somehow to avoid
> the performance regression.
> 
> Yes, that also doesn't sound right.
>  
> 
> I'd like to have another option which controls the "int" type,
> just like -single/double/quad do, but this is not simple.
> 
> Until then, I suggest that we document these differences and behaviours of 
> ints and float signals well in the documentation. What I will personally also 
> do from now on when contributing, is to stress the use of float signals by 
> always using the point (.) in any operation, even those that are always float 
> regardless of the operands; for example:
> 
> process = int / 2.0;
> 
> Ciao,
> Dario
>  
> 
> Oleg.
> 
> ___
> 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] PR for a fix to faust2jackconsole

2023-09-27 Thread Stéphane Letz
Thanks. I’ll have a look next week.

Stéphane 

> Le 27 sept. 2023 à 03:09, Aaron Krister Johnson  a écrit :
> 
> Hi all,
> 
> I have a proposed fix here for `faust2jackconsole`: 
> https://github.com/grame-cncm/faust/pull/947
> 
> * Adding the 'effect' option, something that shouldn't be missing :)
> * Fix to compiler line -- on my system `-ldl` was needed in order to compile 
> the app.
> 
> Apologies if this is the wrong place to post this.
> 
> Cheers, and thanks to all the devs for such a stellar DSP development 
> platform!
> 
> Aaron Krister Johnson
> Music, etc.:
> https://soundcloud.com/aaron-krister-johnson
> https://soundcloud.com/filtercreed
> https://www.youtube.com/channel/UC_utjGYbSizWE0dNyr0Vdmg
> https://aaronkristerjohnson.bandcamp.com/
> http://www.untwelve.org
> Code:
> https://github.com/akjmicro
> ___
> 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 version 2.68.1 (fix for broken 2.68.0 version)

2023-09-16 Thread Stéphane Letz
Faust version 2.68.1 released: https://github.com/grame-cncm/faust/releases

Stéphane

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


[Faudiostream-users] Faust version 2.68.0 release is broken, DO NOT USE IT ! A fix is in progress.

2023-09-16 Thread Stéphane Letz



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


[Faudiostream-users] Faust 2.68.0 released

2023-09-15 Thread Stéphane Letz
Faust version 2.68.0 released: https://github.com/grame-cncm/faust/releases

Stéphane 

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


[Faudiostream-users] Faust 2.68.0 pre-release

2023-09-14 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases

Testing and feedback welcome.

Stéphane 

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


[Faudiostream-users] faust-web-component released

2023-09-10 Thread Stéphane Letz
As result of Ian Clester Google Summer of Code work 
(https://ijc8.me/2023/08/27/gsoc-faust/), a Faust web component which 
integrates the libfaust JS/WebAssembly compiler has been developed. The 
faust-web-component package provides two web components for embedding 
interactive Faust snippets in web pages:

 •  displays an editor (using CodeMirror 6) with executable, 
editable Faust code, along with some bells & whistles (controls, block diagram, 
plots) in a side pane. This component is ideal for demonstrating some code in 
Faust and allowing the reader to try it out and tweak it themselves without 
having to leave the page. (For more extensive work, it also includes a button 
to open the code in the Faust IDE.) 

 •  just shows the controls and does not allow editing, so it 
serves simply as a way to embed interactive DSP. 

More info on the GitHub page: https://github.com/grame-cncm/faust-web-component 
or NPM package: https://www.npmjs.com/package/@grame/faust-web-component

Stéphane 

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


[Faudiostream-users] New faust-web-component available

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

As result of Ian Clester Google Summer of Code work 
(https://ijc8.me/2023/08/27/gsoc-faust/), a Faust web component which 
integrates the libfaust JS/WebAssembly compiler has been developed. 

The faust-web-component package provides two web components for embedding 
interactive Faust snippets in web pages.

•  displays an editor (using CodeMirror 6) with 
executable, editable Faust code, along with some bells & whistles (controls, 
block diagram, plots) in a side pane. This component is ideal for demonstrating 
some code in Faust and allowing the reader to try it out and tweak it 
themselves without having to leave the page. (For more extensive work, it also 
includes a button to open the code in the Faust IDE.)

•  just shows the controls and does not allow editing, so 
it serves simply as a way to embed interactive DSP.

More info on the GitHub page: https://github.com/grame-cncm/faust-web-component 
or NPM package: https://www.npmjs.com/package/@grame/faust-web-component

Special thanks to Ian Clester for his outstanding contribution to this project!

Stéphane 



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


[Faudiostream-users] faust2rnbo released

2023-09-06 Thread Stéphane Letz
The faust2rnbo tool has been deployed on the Faust remote compilation service, 
to be used from the «  Faust Web IDE » (https://faustide.grame.fr/).

All is explained in « Using Faust in RNBO with codebox~ »  
(https://faustdoc.grame.fr/tutorials/rnbo/)tutorial, in the «  Using the Faust 
Web IDE » (https://faustdoc.grame.fr/tutorials/rnbo/#using-the-faust-web-ide) 
last section.

This can be tested with «  just released Max 8.5.6 version » 
(https://cycling74.com/forums/max-856-released).

Testing and feedback welcome !

Stéphane 

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


Re: [Faudiostream-users] Web IDE VST output on Mac (codesign issues)

2023-07-15 Thread Stéphane Letz


> Le 15 juil. 2023 à 22:43, Seth Shafer  a écrit :
> 
> Hi all,
> 
> I'm prepping materials for teaching FAUST this Fall and attempted to export a 
> VST via the web IDE. The resulting plugin triggered codesign errors on my 
> MacOS 13.2.1. I tried the typical terminal commands to remedy:

Yes, the macOS cloud machine we use does not support that. 
> 
> sudo xattr -cr PLUGIN.vst
> sudo xattr -r -d com.apple.quarantine PLUGIN.vst
> sudo codesign --force --deep --sign PLUGIN.vst
> 
> Following this, I opened Reaper and re-scanned, resulting in a crash of the 
> vst host, plugin still not showing up.

Do you have a crash log?
> 
> Does anyone have any suggestions for building audio plugins on the current 
> MacOS using the web IDE export options? (Hoping to find a web IDE solution 
> since this is in a lab where students do not have admin privileges.)
> 
> Thanks.
> -Seth

For Reaper, you can possibly use the JSFX backend recently added in the Faust 
compiler, and available in the Export section in the Faust IDE

Stéphane  



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


[Faudiostream-users] Faust release version 2.60.3

2023-06-19 Thread Stéphane Letz
Hi All,

Faust version 2.60.3 pre-release can be checked here: 
https://github.com/grame-cncm/faust/releases/tag/2.60.3, with the specific 
point:

WebAssembly

This is the latest release which contains the JavaScript written 
Faust/WebAssembly glue code using the compiled libfaust-wasm.js, 
libfaust-wasm.wasm and libfaust-wasm.data files, also used in the 
faust2webaudio separated project. See documentation : 
https://github.com/grame-cncm/faust/tree/master-dev/architecture/webaudio. The 
three projects faustplayground, fausteditor and faustide have been synchronised 
with this version.

A new TypeScript/JavaScript based model will be used in the next versions.

Stéphane

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


[Faudiostream-users] Faust version 2.60.3 pre-release

2023-06-19 Thread Stéphane Letz
Hi All,

Faust version 2.60.3 pre-release can be checked here: 
https://github.com/grame-cncm/faust/releases/tag/2.60.3, with the specific 
point:

WebAssembly

This is the latest release which contains the JavaScript written 
Faust/WebAssembly glue code using the compiled libfaust-wasm.js, 
libfaust-wasm.wasm and libfaust-wasm.data files, also used in the 
faust2webaudio separated project. See documentation. The three projects 
faustplayground, fausteditor and faustide have been synchronised with this 
version.

A new TypeScript/JavaScript based model will be used in the next versions.

Stéphane 

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


[Faudiostream-users] First version of JSFX backend added in the compiler

2023-06-08 Thread Stéphane Letz
Hi People,

JSFX is the scripting language included in the Reaper DAW: 
https://www.reaper.fm/sdk/js/js.php

Contributed by Johan Philippe, the Faust JSFX backend first version is 
available. 

You can now export JSFX on Faust Web IDE: https://faustide.grame.fr/, or by 
building last Faust versions and using -lang jsfx option with Faust command 
line. Currently does not support MIDI polyphonic mode (soon coming).

Stéphane




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


[Faudiostream-users] Faust version 2.59.6 released

2023-05-16 Thread Stéphane Letz
First GitHub actions generated version, thanks David !

Get it here: https://github.com/grame-cncm/faust/releases/tag/2.59.6

Stéphane  

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


[Faudiostream-users] Faust version 2.59.6 pre-release

2023-05-15 Thread Stéphane Letz
Hi People,

- packaging fixes for Linux 

The Faust version 2.59.6 pre-release is available here: 
https://github.com/grame-cncm/faust/releases/tag/2.59.6

Please report any problem, especially people building packages on Linux 

Stéphane

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


[Faudiostream-users] FaustLive version 2.5.15 pre-release

2023-05-12 Thread Stéphane Letz
Hi People,

Thanks again for David Braun work, we now have a GitHub action to build Windows 
binary releases of FaustLive. macOS version is still manually built for now.

The FaustLive version 2.5.15 pre-release is available here: 
https://github.com/grame-cncm/faustlive/releases/tag/2.5.15

Please report any problem, especially people building packages on Linux 

Stéphane

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


[Faudiostream-users] Faust version 2.59.5 pre-release

2023-05-12 Thread Stéphane Letz
Hi People,

Thanks to the patient and continuous work of Davis Braun 
(https://dirt.design/portfolio/) over weeks ((-; , we now have a complete 
GitHub actions based model to build binaries releases of Faust.

The Faust version 2.59.5 pre-release is available here: 
https://github.com/grame-cncm/faust/releases/tag/2.59.5

Please report any problem, especially people building packages on Linux 

Stéphane 

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


[Faudiostream-users] : Two Google Summer of Code projects attributed to GRAME for Faust

2023-05-05 Thread Stéphane Letz
 May 04, 2023: Two Google Summer of Code projects attributed

Two Google Summer of Code projects have finally been attributed to GRAME:

- «  Automatic Differentiation in the Faust Compiler »  aims at adding 
Automatic differentiation directly in the compiler, so that gradient 
calculation can be carried out natively in Faust, with applications in Machine 
Learning algorithms. The project will be worked on by Thomas Rushton.

- «  Better Faust on the Web »  aims at enhancing Faust’s support for the web 
platform: transition the Faust web tools to a rewritten TypeScript version, 
extend the Faust Web IDE, enhance Faust’s online documentation, and prototype 
an experimental platform for sharing Faust code on the web. The project will be 
worked on by Ian Clester.

Welcome to both of you in the Faust community !

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


[Faudiostream-users] Testing next Faust binary Intel release ?

2023-04-12 Thread Stéphane Letz
Hi,

David Braun is preparing Faust binary release here: 
https://github.com/DBraun/faust/actions/runs/4680432549

faust-2.58.18-x64.dmg is supposed to work starting on 10.15, we would be happy 
if someone still on 10.15 could try?

Same for faustgen-1.64-x64.dmg ?

Thanks.

Stéphane 



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


Re: [Faudiostream-users] (no subject)

2023-03-24 Thread Stéphane Letz
https://discord.gg/vzh7CggBtj

> Le 24 mars 2023 à 22:06, Magnus mouthsausage  a 
> écrit :
> 
> Hi,
> I was wondering where I can find an invite for the discord because the link 
> on the website expired 
> 
> Regards
> Magnus 
> 
> Sent from my iPhone
> 
> ___
> 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] Q: --widening/narrowing-iterations compiler options

2023-03-22 Thread Stéphane Letz


> Le 22 mars 2023 à 21:01, Oleg Nesterov  a écrit :
> 
> On 03/22, Stéphane Letz wrote:
>> 
>> Those are purely experimental and internal. Like the gUseMemmove stuff BTW.
> 
> OK. Thanks for the info.
> 
> Yet I think an option for gUseMemmove makes sense. I didn't try to check, but
> my gut feeling tells me gUseMemmove = true might speedup the code ;) Even if
> not, it can make the generated code look more readable. Nevermind.

Well look at the generated code. I did, looking at LLVM IR, and some of the 
delay lines related loops got simply rewritten using LLVM memmove intrinsic 
(https://llvm.org/docs/LangRef.html#llvm-memmove-intrinsic)

Stéphane 

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


Re: [Faudiostream-users] Problems with faust2caqt

2023-03-21 Thread Stéphane Letz


> Le 21 mars 2023 à 14:57, Henrik Frisk  a écrit :
> 
> Hi,
> 
> I have recently changed computer from Linux (where faust have always run like 
> a charm) to macos and I've run into some problems. Having downloaded the 
> latest 2.54.9 as a dmg and installed it. Having tested several fasut2* 
> (fasut2caqt for example) yields:
> 
> dyld[38924]: Library not loaded: '/opt/local/lib/libncurses.6.dylib'
> 
> ncurses is installed and the particular library is in 
> /opt/homebrew/opt/ncurses/lib/ (installed via brew). Regardless how I try I 
> can't get the scrript to find it. I have tried 
>  
>  export PATH="/opt/homebrew/opt/ncurses/bin:$PATH"'
>   export LDFLAGS="-L/opt/homebrew/opt/ncurses/lib"
>   export CPPFLAGS="-I/opt/homebrew/opt/ncurses/include"
>   export PKG_CONFIG_PATH="/opt/homebrew/opt/ncurses/lib/pkgconfig"
> 
> I have also tried to reinstall ncurses. 

Hi Henrik, 

Yes, this is a known problem: compiled binaries are not correctly 
self-contained. David Braun is working on improving the situation using GitHub 
actions. You can possibly test the precompiled 2.58.11 version here: 
https://github.com/DBraun/faust/actions/runs/4458934421

> 
> Installing Faust through homebrew gets rid of the above problem but instead, 
> for faust2caqt, it gives the error 
> 
> /opt/homebrew/Cellar/qt@5/5.15.8_2/mkspecs/features/mac/default_post.prf:284: 
> Variable QMAKE_XCODE_DEVELOPER_PATH is not defined
> 
> I suspect this all has to do with my limited knowledge about how macos deals 
> ith dependencies, but any help would be appreciated!
> 
> /Henrik
> 

QT is currently not working on my machine ((-; . Hoping others (like Julius 
maybe?) can help here.

Stéphane

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


Re: [Faudiostream-users] Error with faust2teensy

2023-03-19 Thread Stéphane Letz
OK, I understand  std::to_string iOS not available on Teensy, so fixed in 
https://github.com/grame-cncm/faust/commit/39298c391d63abf61c1f14e0ac2ce35d06a5904c

Stéphane 

> Le 19 mars 2023 à 05:04, Mike Beauchamp  a écrit :
> 
> Hey everyone,
> 
> Unfortunately I'm having an issue where a .dsp compiles through the IDE and 
> runs fine on my Teensy 4, but if I compile the same .dsp locally via 
> commandline faust2teensy, it gives me errors.
> 
> I am doing faust2teensy -lib progtest.dsp
> 
> I get the following error:
> 
> In member function 'void PathBuilder::computeShortNames()':
> progtest.cpp:359: error: 'to_string' is not a member of 'std'
> std::string u = "/P" + std::to_string(pnum++) + 
> str2ID(remove0x00(s));
> 
> 
> If I compare that to the .cpp file coming from the online IDE:
> 
>sprintf(num_buffer, "%d", pnum++);
>std::string u = "/P" + std::string(num_buffer) + 
> str2ID(remove0x00(s));
> 
> 
> 
> I'm using faust 2.58.11. If I manually swap that part of the code out, it 
> does function on the teensy. But something is obviously up with faust2teensy..
> 
> Mike
> 
> 
> 
> 
> 
> Compiling for Teensy to use --delay-line-threshold ?
> 
> Hey everyone,
> I've had no troubles compiling for Teensy through the online  
> IDE, which is great!
> 
> I have a complicated program with nearly 100 fdelays and I've run into memory 
> constraints on the Teensy 4.0. (The sketch still uploads, just freezes the 
> Teensy once I get past a certain number of fdelays)
> 
> I read on https://faustdoc.grame.fr/manual/optimizing/ that there's a 
> --delay-line-threshold switch that can make the memory more efficient for the 
> delays.. great. I couldn't see a way to do this in the IDE, so I downloaded 
> the FAUST files.
> 
> 
> 
> _______
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Stéphane Letz
Responsable recherche

l...@grame.fr T : +33 (0) 4 72 07 43 12 / 06 41 81 15 69
GRAME - Centre national de création musicale
26 rue Emile Decorps - 69100 Villeurbanne
www.grame.fr | facebook | instagram | twitter



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


Re: [Faudiostream-users] [OT] Discord blues

2023-03-16 Thread Stéphane Letz


> Le 16 mars 2023 à 21:39, Mike Beauchamp  a écrit :
> 
> What about getting an open-source forum installed on the grame.fr server?
> 
> I think any knowledge should always be archived and publicly searchable, and 
> forums do a good job of those things.
> 
> Mike
> 
> 

Like what open-source forum solution ?

And what about using GitHub discussions: 
https://github.com/grame-cncm/faust/discussions, good enough or not ?

Stéphane 

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


[Faudiostream-users] GRAME and Faust are selected for Google Summer of Code 2023 !

2023-03-04 Thread Stéphane Letz
Hi All,

GRAME and Faust are selected for Google Summer of Code 2023: 
https://summerofcode.withgoogle.com/programs/2023/organizations/grame

Projets ideas here: https://github.com/grame-cncm/faustideas

Contributions welcome !

Stéphane

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


Re: [Faudiostream-users] Triangle LFO with controllable phase?

2023-02-26 Thread Stéphane Letz
Two different issues here:

1) first the code defines a same path for a slider and a bargraph. The old rule 
of « not 2 same paths in the GUI » was somewhat relaxed in this commit:  
https://github.com/grame-cncm/faust/commit/3437255f54ec46c565c159438bde19c3daea757c,
 but still not completely correctly. So I’ve have to fix that. In the meantime 
the code can compile if the DSP is fixed this way:

import("stdfaust.lib");
lf_triangle_phase(freq, phase) = os.lf_triangle(freq) @ (phase * ma.SR/freq);
lfo_freq = hslider("[1] Freq", 0.5, 0.001, 50, 0.01);
lfo1 = lf_triangle_phase(lfo_freq, 0);
lfo_phase = hslider("[2] Phase", 180, 0, 360, 1) / 360;
lfo2 = lf_triangle_phase(lfo_freq, lfo_phase);
process =  lfo1, lfo2 : hbargraph("[3] 0",-1,1), hbargraph("[4] Phase1",-1,1);

2) but then another issue happens: the allocated memory for the delay (@ (phase 
* ma.SR/freq); ) is too big for the wasm memory allocation scheme. So this has 
to be fixed also at DSP code level.

Stéphane 


> Le 26 févr. 2023 à 03:08, Julius Smith  a écrit :
> 
> I encountered that too and reported it to Stephane.  faust2caqt had no 
> problem.  Looking forward to hearing what that's about!
> 
> On Sat, Feb 25, 2023 at 4:05 PM Dario Sanfilippo  
> wrote:
> Just so you know, Julius' code gives me this assert on the IDE:
> 
> ASSERT : please report this message and the failing DSP file to Faust 
> developers (file: wasm_code_container.hh, line: 60, version: 2.54.11, 
> options: -lang wasm-ib -cn 
> a08c5ceec105cc33e58fe2dfaaa8d2f0a80eaf39e4a593811bb636d3de7a14d3 -es 1 -mcd 
> 16 -single -ftz 0 )
> 
> Here is a non-delay-based alternative (tested very briefly, but it seems to 
> work):
> 
>  import("stdfaust.lib");
> 
> PI = ma.PI;
> TWOPI = 2.0 * ma.PI;
> 
> phasor(freq, phase) = ma.frac((loop ~ _) + phase / TWOPI)
> with {
> loop(y) = ma.frac(freq / ma.SR + y);
> };
> 
> tri(ph) = abs(ma.frac(ph - .25) * 4.0 - 2.0) - 1.0;
> ph0 = hslider("ph0", 0, -PI, PI, .001);
> ph1 = hslider("ph1", -PI / 2.0, -PI, PI, .001);
> f = hslider("freq[scale:log]", 1000, 20, 20480, .001);
> 
> // Oscillation by phase-mod
> // process =   os.oscp(0, os.phasor(TWOPI, 1000)) , 
> // sin(TWOPI * phasor(0, os.phasor(TWOPI, 1000))) , 
> // tri(phasor(0, os.phasor(TWOPI, 1000)));
> 
> process =   os.oscp(f, ph0) , 
> os.oscp(f, ph1) , 
> sin(phasor(f, ph0) * TWOPI) , 
> sin(phasor(f, ph1) * TWOPI) , 
> tri(phasor(f, ph0)) , 
> tri(phasor(f, ph1));
> 
> Dr Dario Sanfilippo
> http://dariosanfilippo.com
> 
> 
> On Sun, 26 Feb 2023 at 00:28, Julius Smith  wrote:
> Ok, I see it.  The implementation of os.lf_sawpos_phase is impulse-based:
> 
> lf_sawpos_phase(freq,phase) = phasor_imp(freq, (1-1'), phase);
> 
> This means it is only sampled at time zero.  For continuous phase control, 
> you want something delay based, e.g.,
> 
> lf_triangle_phase (freq, phase) = os.lf_triangle(freq) @ (phase * ma.SR/freq);
> 
> Here is my updated test program (no scope needed - I used faust2caqt):
> 
> import("stdfaust.lib");
> 
> lf_triangle_phase(freq, phase) = os.lf_triangle(freq) @ (phase * ma.SR/freq);
> lfo_freq = hslider("[1] Freq", 0.5, 0.001, 50, 0.01);
> lfo1 = lf_triangle_phase(lfo_freq, 0);
> lfo_phase = hslider("[2] Phase", 180, 0, 360, 1) / 360;
> lfo2 = lf_triangle_phase(lfo_freq, lfo_phase);
> process =  lfo1, lfo2 : hbargraph("[3] 0",-1,1), hbargraph("[4] Phase",-1,1);
> 
> On Sat, Feb 25, 2023 at 2:03 PM Christopher Arndt  wrote:
> Am 24.02.23 um 21:50 schrieb Julius Smith:
> > Hmmm, it looks to me like it should be working.
> > I adapted your test program for use with faust2plot, and it's working 
> > for me:
> 
> Yes, it works, if the phase is set initially. But what I want is to 
> change the phase of one LFO at run-time with a parameter and that 
> doesn't seem to work.
> 
> Here are two images, which demonstrate this, I hope:
> 
> 1) your code (lfophase.dsp) compiled with faust2jack and its output send 
> into a stereo oscilloscope. the two LFOs have different phase
> 
> https://0x20.eu/nc/s/kWSwRE2oHD4rStt/preview
> 
> 2) The code from my original post (lfophase2.dsp) compiled with 
> faust2jaqt again with its output into the scope. I have set the phase 
> two 91 after staring the program, but the output as seen in the scope 
> never changes and the two LFOs are still at the same phase.
> 
> https://0x20.eu/nc/s/Y47eaLK8DGZZTbk/preview
> 
> 
> Chris
> 
> 
> 
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 
> -- 
> "Anything that can be automated should be"
> ___
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> 
> 
> -- 
> "Anything that can be automated should be"
> 

Re: [Faudiostream-users] faust2vcvrack force x86

2023-02-06 Thread Stéphane Letz
Automatically generated by StepGPT (so may be wrong… ((-; )

Probably by:

- getting x64 version of the SDK : 
https://vcvrack.com/downloads/Rack-SDK-2.2.3-mac-x64.zip

- using «  arch -x86_64 /bin/bash » trick to have your terminal then run Intel 
like

- faust2vcvrack -version 2  foo.dsp or faust2vcvrack -version 2 -source foo.dsp 
and compile yourself.

- test and report

Stéphane 


> Le 6 févr. 2023 à 05:40, Sam Pluta  a écrit :
> 
> Hi,
>  
> I’m using faust2vcvrack, but my machine compiles an arm64 plugin instead of 
> an x86. How do I force it to compile x86? I am creating the source directory 
> then running “make install”. All works as expected, except the dylib is arm64.
>  
> Thanks,
>  
> Sam
>  
> ___
> 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] new user, 1st question

2023-01-04 Thread Stéphane Letz
Hi Dietrich,

> Le 4 janv. 2023 à 18:11, Dietrich  a écrit :
> 
> Hello
> 
> My name is Dietrich,
> I used reactor for many years. 
> Since there is cmajor, I wanted to deal with that, but while looking for an 
> introduction I found Faust (which cmajor can also handle). And since Faust is 
> open and has so much information and tutorials, I decided to learn Faust, 
> which I've been doing intensively since late 2022.
> 
> Of course questions pop up and I assume that these questions fit well here(?)
> 
> I'm working on macOS 13.0.1 and
> My first Question would be:

Using the Web Faust IDE https://faustide.grame.fr is the recommenced way to 
start.
> 
> What is the best VSC extension? I use "Faust" v1.1.0 Glen Anderson
> but it seems week and e.g. when I call midikey2hz it brings me
> an.midikey2hz what is wrong (it's part of basic: ba.midikey2hz).. What do you 
> suggest?

The VSC extension  as not been updated since a bit of time, so better use the 
Web IDE if possible.

And you can also use the Faust Slack or Discord channels (see 
https://faust.grame.fr/community/help/) to get help from the Faust community.

Stéphane 

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


Re: [Faudiostream-users] Faust HTTP speed

2023-01-03 Thread Stéphane Letz
Maybe using OSC control would be faster in this case ?

Stéphane 

> Le 3 janv. 2023 à 19:25, Aaron Heller  a écrit :
> 
> Hi Stephane,
> Sorry, it's 10ms to update a parameter... math error on my part.  
> 
> As I said, it takes about 30 seconds to update a Faust jack client with 3136 
> (=49*64) parameters, which is roughly 10 ms per parameter.  This was with 
> jack, the jack client written in Faust, and the Python script performing the 
> update, all running on my MacBook Pro.  There are two versions of the Python, 
> one that opens a new connection for each update and one that keeps the 
> connection open; the timing for both is the same.  I also tried it with jack 
> and the Faust jaxk client running on a RPi4 and the Python running on my MBP, 
> with the same ~10ms/update result. 
> 
> The 49x64 parameter matrix corresponds to playing sixth-order ambisonics over 
> a 64 speaker array, which is the situation at the Stage at CCRMA.  The 
> decoder has two matrices, high and low frequencies, so about a minute to 
> update.  I'm looking for a solution that would be at least 10x faster. 
> 
> Thanks...
> 
> Aaron
> 
> On Tue, Jan 3, 2023 at 12:44 AM Stéphane Letz  wrote:
> How do you measure this « 100 ms to update » delay?
> 
> Stéphane 
> 
> > Le 3 janv. 2023 à 02:12, Aaron Heller  a écrit :
> > 
> > As a warmup exercise for the next version of my ambisonic decoder engine, I 
> > made a matrix mixer in Faust and compiled it with httpd support. You can 
> > see the code and the Python program I wrote to control it in the repo --- 
> > mmd.dsp and mmd_control.py, respectively:
> >   https://bitbucket.org/ambidecodertoolbox/adt_evaluation/src/AES153/faust/
> > 
> > It looks like it takes ~100 ms to update a single entry, so I assume it's 
> > processing one request per slow-time loop.  In my application, these 
> > matrices could have thousands of entries, so, for example, a 49x64 matrix 
> > takes over 30 seconds to update.  Is there a way to speed this up?  Are 
> > there better ways to update the coefficients of an array?  Over the network 
> > is convenient, but loading from a local file would be fine too. 
> > 
> > Thanks... 
> > 
> > Aaron Heller
> > Menlo Park, CA  US
> > 
> > ___
> > 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] Faust HTTP speed

2023-01-03 Thread Stéphane Letz
How do you measure this « 100 ms to update » delay?

Stéphane 

> Le 3 janv. 2023 à 02:12, Aaron Heller  a écrit :
> 
> As a warmup exercise for the next version of my ambisonic decoder engine, I 
> made a matrix mixer in Faust and compiled it with httpd support. You can see 
> the code and the Python program I wrote to control it in the repo --- mmd.dsp 
> and mmd_control.py, respectively:
>   https://bitbucket.org/ambidecodertoolbox/adt_evaluation/src/AES153/faust/
> 
> It looks like it takes ~100 ms to update a single entry, so I assume it's 
> processing one request per slow-time loop.  In my application, these matrices 
> could have thousands of entries, so, for example, a 49x64 matrix takes over 
> 30 seconds to update.  Is there a way to speed this up?  Are there better 
> ways to update the coefficients of an array?  Over the network is convenient, 
> but loading from a local file would be fine too. 
> 
> Thanks... 
> 
> Aaron Heller
> Menlo Park, CA  US
> 
> ___
> 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] FaustLive version 2.5.13 released

2022-12-19 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faustlive/releases/tag/2.5.13

The macOS binary is still not signed. On Apple Silicon, you can simply open it 
under Rosetta: right-click the first time then normal open later on.

Stéphane

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


[Faudiostream-users] Faust version 2.54.9 released

2022-12-19 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.54.9

Stéphane

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


[Faudiostream-users] FaustLive version 2.5.13-rc1 to test

2022-12-18 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faustlive/releases/tag/2.5.13-rc1

The macOS binary is still not signed. On Apple Silicon, you can simply open it 
under Rosetta: right-click the first time then normal open later on.

Feedback welcome.

Stéphane

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


[Faudiostream-users] Faust version 2.54.9-rc1 to test

2022-12-18 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.54.9-rc1

Feedback welcome.

Stéphane

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


Re: [Faudiostream-users] Any Faust code source of granulation techniques you are aware of ?

2022-11-18 Thread Stéphane Letz
Thanks !

I’ll add a new section on the page https://faustlibraries.grame.fr/community/ 
and add those useful links.

Stéphane 


> Le 18 nov. 2022 à 13:13, Alain Bonardi  a écrit :
> 
> Hi Stéphane,
> 
> In abclib, we have a basic granulator in Faust based on a delay line:
> https://github.com/alainbonardi/abclib/blob/master/faustCodes/library/mm.lib
> (granulator function)
> 
> We use it for spatial granulation in ambisonics:
> https://github.com/alainbonardi/abclib/blob/master/faustCodes/library/abc.lib
> (abc_2d_fx_grain_ui and abc_2d_syn_grain_ui functions).
> 
> It is also used for multichannel granulation:
> https://github.com/alainbonardi/abclib/blob/master/faustCodes/library/abc.lib
> (abc_multigrain_ui function).
> 
> Best,
> 
> Alain
> 
> 
> 
> 
> Le ven. 18 nov. 2022 à 12:28, Matteo Olivo  a écrit :
> Hi Stéphane, 
> 
> I don't know if this will help you, I found these exemples on the web : 
> 
> - Weather Organ : https://github.com/myklemykle/weather_organ
> 
> - Granola : https://github.com/jlp6k/faust-things
> 
> - https://github.com/e7mac/faust-code/blob/master/granulator.dsp
> 
> - https://hvc.berlin/synthesis_algorithms/granular-faust-example/
> 
> Have a good weekend. 
> 
> Matteo
> 
> 
> Il giorno ven 18 nov 2022 alle ore 07:43 Stéphane Letz  ha 
> scritto:
> I know Dario Sanfilippo: https://ieeexplore.ieee.org/document/9768227 and 
> https://github.com/dariosanfilippo/concatenative_granulation.
> 
> Any other ?
> 
> Thanks.
> 
> 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



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


[Faudiostream-users] Any Faust code source of granulation techniques you are aware of ?

2022-11-17 Thread Stéphane Letz
I know Dario Sanfilippo: https://ieeexplore.ieee.org/document/9768227 and 
https://github.com/dariosanfilippo/concatenative_granulation.

Any other ?

Thanks.

Stéphane 

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


Re: [Faudiostream-users] faust2juce: slider scale not working ?

2022-11-17 Thread Stéphane Letz
Similar problems were reported: can you possibly debug what happens  ?

https://github.com/grame-cncm/faust/blob/master-dev/architecture/faust/gui/JuceGUI.h

Stéphane 

> Le 17 nov. 2022 à 21:32, Simon Hill  a écrit :
> 
> Hello,
> 
> I’m using « faust2juce » to generate ready-to-use JUCE effect plugins.
> However the scale of the sliders defined in Faust (e.g. [scale: log]) does 
> not transfer properly to the Juce GUI sliders. 
> On the other hand the parameter values in Ableton's « Device Parameters » 
> panel are correct, although the scale is linear.
> As an example, a "log" knob with a range of 10Hz to 22kH defaults to these 
> values: Faust=200Hz, JuceGUI=8569.6Hz, Ableton=200Hz
> I’m joining some screenshots of the Faust UI vs the JUCE one.
> 
> Is this a known problem or am I doing something wrong ? Is there a way to 
> work around this?
> Thank you   
> 
>  21.12.05.png>
> 
> Simon
> 
> 
> 
> ___
> 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] Faust intermediate code?

2022-11-14 Thread Stéphane Letz


> Le 15 nov. 2022 à 00:28, Boenn, Georg  a écrit :
> 
> Thanks very much Stéphane,
> 
> If this code is generated by the client and then sent to the server,

Yes indeed.

> then the original dsp should be still available? Does the original code, 
> maybe also the expanded dsp version, remain in the browser cache? 

Yes. Reloading the https://faustide.grame.fr/ URL restores the set of 
previously loaded DSP files (.dsp files), and possibly users libraries (.lib 
files)

Stéphane 



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


Re: [Faudiostream-users] Faust intermediate code?

2022-11-14 Thread Stéphane Letz
Hi Georg,

This code is a self-contained expanded version that embeds all needed 
libraries, currently sent by the Faust Web IDE client side to the remote 
compilation service. The need is when we want to allow developers to use their 
own client side Faust libraries.

It is not really possible to convert it back to the original form..

The real solution on our side is to send the DSP + all needed libraries as a 
ZIP archive to the remote compilation service. Not yet done...

Stéphane 

> Le 14 nov. 2022 à 20:11, Boenn, Georg  a écrit :
> 
> Hi,
> 
> The code below compiles but is hard to read.
> I received it from somebody who used the Faust online IDE and switched 
> machines between different stages of the coding process. The user says that 
> it changed from readable code suddenly into this format. In my own work this 
> has never happened, and i am puzzled.
> I guess this type of Faust code is in an intermediate stage before compiling 
> for the various platforms, correct?
> Is there a way to convert the code below into a more readable format?
> 
> Many thanks.
> 
> Georg Boenn
> 
> 
> declare filename "A1_1.dsp"; declare name "A1_1"; declare version "2.52.3";
> declare compile_options "-single -scal -I libraries/ -I project/ -lang wasm";
> declare library_path0 "/libraries/stdfaust.lib";
> declare library_path1 "/libraries/signals.lib";
> declare library_path2 "/libraries/maths.lib";
> declare library_path3 "/libraries/platform.lib";
> declare library_path4 "/libraries/oscillators.lib";
> declare library_path5 "/libraries/basics.lib";
> declare library_path6 "/libraries/envelopes.lib";
> declare basics_lib_name "Faust Basic Element Library";
> declare basics_lib_version "0.8";
> declare envelopes_lib_adsre_author "Julius O. Smith III";
> declare envelopes_lib_adsre_licence "STK-4.3";
> declare envelopes_lib_author "GRAME";
> declare envelopes_lib_copyright "GRAME";
> declare envelopes_lib_license "LGPL with exception";
> declare envelopes_lib_name "Faust Envelope Library";
> declare envelopes_lib_version "0.2";
> declare filename "FaustDSP";
> declare maths_lib_author "GRAME";
> declare maths_lib_copyright "GRAME";
> declare maths_lib_license "LGPL with exception";
> declare maths_lib_name "Faust Math Library";
> declare maths_lib_version "2.5";
> declare name "FaustDSP";
> declare oscillators_lib_name "Faust Oscillator Library";
> declare oscillators_lib_version "0.3";
> declare platform_lib_name "Generic Platform Library";
> declare platform_lib_version "0.2";
> declare signals_lib_name "Faust Signal Routing Library";
> declare signals_lib_version "0.3";
> ID_0 = (65536 : int);
> ID_1 = _, ID_0;
> ID_2 = (ID_1 : %);
> ID_3 = (1 : mem);
> ID_4 = _, ID_3;
> ID_5 = (ID_4 : +);
> ID_6 = ID_2 ~ ID_5;
> ID_7 = (ID_6 : float);
> ID_8 = ID_7, 6.2831855f;
> ID_9 = (ID_8 : *);
> ID_10 = (65536 : float);
> ID_11 = ID_9, ID_10;
> ID_12 = ID_11 : /;
> ID_13 = (ID_12 : sin);
> ID_14 = _, 65536;
> ID_15 = (ID_14 : %);
> ID_16 = ID_15 ~ ID_5;
> ID_17 = (ID_16 : float);
> ID_18 = ID_17, 6.2831855f;
> ID_19 = (ID_18 : *);
> ID_20 = ID_19, 65536.0f;
> ID_21 = ID_20 : /;
> ID_22 = (ID_21 : sin);
> ID_23 = hslider("h: Main Controls /Frequency", 256.0f, 2e+01f, 2e+03f, 1.0f);
> ID_24 = hslider("h:Modulator 1 /5 modRatio1", 1.0f, 1.0f, 1e+01f, 0.01f);
> ID_25 = ID_23, ID_24;
> ID_26 = (ID_25 : *);
> ID_27 = fconstant(int fSamplingFreq, );
> ID_28 = 1.0f, ID_27;
> ID_29 = (ID_28 : max);
> ID_30 = 1.92e+05f, ID_29;
> ID_31 = (ID_30 : min);
> ID_32 = ID_26, ID_31;
> ID_33 = (ID_32 : /);
> ID_34 = _, ID_33;
> ID_35 = (ID_34 : +);
> ID_36 = ID_35, 0;
> ID_37 = 0, ID_36;
> ID_38 = ID_37 : select2;
> ID_39 = (ID_38 : \(x36).(x36,(x36 : floor) : -));
> ID_40 = ID_39 ~ _;
> ID_41 = _, 65536.0f;
> ID_42 = ID_41 : *;
> ID_43 = ID_40 : ID_42;
> ID_44 = (ID_43 : int);
> ID_45 = ID_22, ID_44;
> ID_46 = 65536, ID_45;
> ID_47 = (ID_46 : rdtable);
> ID_48 = checkbox("h: Main Controls /On/Off");
> ID_49 = ID_48, 0;
> ID_50 = (ID_49 : >);
> ID_51 = _, ID_50;
> ID_52 = (ID_51 : *);
> ID_53 = + ~ ID_52;
> ID_54 = (ID_50 : ID_53);
> ID_55 = hslider("h:Modulator 1 /1 attack", 1.0f, 1.0f, 1e+01f, 0.1f);
> ID_56 = ID_55, ID_31;
> ID_57 = ID_56 : *;
> ID_58 = (ID_57 : int);
> ID_59 = ID_54, ID_58;
> ID_60 = (ID_59 : <);
> ID_61 = _, mem;
> ID_62 = ID_61 : -;
> ID_63 = _, 0;
> ID_64 = (ID_63 : >);
> ID_65 = ID_64, _;
> ID_66 = ID_65 : *;
> ID_67 = ID_62 <: ID_66;
> ID_68 = _ <: ID_67;
> ID_69 = (ID_50 : ID_68);
> ID_70 = ID_60, ID_69;
> ID_71 = (ID_70 : |);
> ID_72 = hslider("h:Modulator 1 /3 sustain", 1.0f, 1.0f, 1e+01f, 0.1f);
> ID_73 = (ID_50 : float);
> ID_74 = ID_72, ID_73;
> ID_75 = (ID_74 : *);
> ID_76 = ID_75, ID_50;
> ID_77 = ID_71, ID_76;
> ID_78 = (ID_77 : select2);
> ID_79 = 0.0f, ID_78;
> ID_80 = ID_50, ID_79;
> ID_81 = ID_80 : select2;
> ID_82 = (ID_81 : \(x37).(\(x38).(((1.0f,(checkbox("h: Main Controls 
> /On/Off"),0 : >),hslider("h:Modulator 1 /4 release", 1.0f, 1.0f, 1e+01f, 
> 0.1f),checkbox("h: Main Controls 

Re: [Faudiostream-users] New Python examples using Faust, JAX, and the Box API

2022-10-20 Thread Stéphane Letz
Hi David,

Thanks for this awesome contribution !  Hopefully opening an entirely new world 
in the Machine Learning domain for the Faust ecosystem! 

Cheers,

Stéphane 

> Le 20 oct. 2022 à 12:48, David Braun  a écrit :
> 
> Faust now supports the machine learning framework JAX as a backend. 
> DawDreamer is a python module where you can conveniently convert Faust code 
> to JAX. DawDreamer has two new Colabs demonstrating this Faust to JAX 
> pipeline:
>   • Faust to JAX: Optimize parameters using gradient descent.
>   • Faust to QDax: Optimize with Quality-Diversity algorithms.
> There's an additional notebook covering the Box API in Python. You can access 
> the intermediate representation of Faust, programmatically compose boxes, 
> then render audio with DawDreamer, or transpile to a target language (C++, 
> JAX, Rust, etc.).
> 
> More information in the tweet: 
> https://twitter.com/DoItRealTime/status/1583042473227452416
> 
> Please check out the Colabs, and feel free to contact me.
> 
> Best,
> 
> David
> ___
> 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] New Python examples using Faust, JAX, and the Box API

2022-10-20 Thread Stéphane Letz
Hi David,

Thanks for this awesome contribution !  Hopefully opening an entirely new world 
in the Machine Learning domain for the Faust ecosystem! 

Cheers,

Stéphane 

> Le 20 oct. 2022 à 12:48, David Braun  a écrit :
> 
> Faust now supports the machine learning framework JAX as a backend. 
> DawDreamer is a python module where you can conveniently convert Faust code 
> to JAX. DawDreamer has two new Colabs demonstrating this Faust to JAX 
> pipeline:
>   • Faust to JAX: Optimize parameters using gradient descent.
>   • Faust to QDax: Optimize with Quality-Diversity algorithms.
> There's an additional notebook covering the Box API in Python. You can access 
> the intermediate representation of Faust, programmatically compose boxes, 
> then render audio with DawDreamer, or transpile to a target language (C++, 
> JAX, Rust, etc.).
> 
> More information in the tweet: 
> https://twitter.com/DoItRealTime/status/1583042473227452416
> 
> Please check out the Colabs, and feel free to contact me.
> 
> Best,
> 
> David
> ___
> 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] FaustLive version 2.5.12 released

2022-10-04 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faustlive/releases/tag/2.5.12

The macOS binary is still not signed. On Apple Silicon, you can simply open it 
under Rosetta: right-click the first time then normal open later on.

Stéphane

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


[Faudiostream-users] Faust version 2.50.6 released

2022-10-04 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.50.6

Stéphane

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


[Faudiostream-users] Faust version 2.50.6-rc1 to test

2022-10-03 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.50.6-rc1

We had to raise the version to 2.50.6, after discovering a serious issue when 
compiling with GCC 12.

Feedback welcome.

Stéphane

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


[Faudiostream-users] FaustLive version 2.5.12-rc1 to test

2022-09-30 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faustlive/releases/tag/2.5.12-rc1

The macOS binary is still not signed. On Apple Silicon, you can simply open it 
under Rosetta: right-click the first time then normal open later on.

Feedback welcome.

Stéphane

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


[Faudiostream-users] Faust version 2.50.5-rc1 to test

2022-09-30 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.50.5-rc1

Feedback welcome.

Stéphane

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


Re: [Faudiostream-users] (no subject)

2022-09-18 Thread Stéphane Letz
On which platform ?

Working here on the Faust IDE :

https://faustide.grame.fr/?autorun=1=0=waveforms=aW1wb3J0KCJzdGRmYXVzdC5saWIiKTsKd2F2ZWZvcm1zID0gb3Muc2F3dG9vdGgoZnJlcSksb3Muc3F1YXJlKGZyZXEpLG9zLnRyaWFuZ2xlKGZyZXEpLG9zLm9zYyhmcmVxKSxvcy5wdWxzZXRyYWluKGZyZXEpIDogYmEuc2VsZWN0big1LHdhdmUpCndpdGggCnsKICAgd2F2ZSA9IG5lbnRyeSgiV2F2ZWZvcm0iLDAsMCw0LDEpOwogICBmcmVxID0gaHNsaWRlcigiZnJlcXVlbmN5Iiw0NDAsMTAsODAwMCwwLjAxKTsKCn07CnByb2Nlc3MgPSB3YXZlZm9ybXM7Cg%3D%3D

Stéphane

> Le 18 sept. 2022 à 10:10, Magnus mouthsausage  a 
> écrit :
> 
> Hello,
> I’m trying to get the following code to work, it is a modified version of the 
> code found in the kadenz course. For some reason I get no sound, and I have 
> no idea why
> 
> import("stdfaust.lib");
> waveforms = 
> os.sawtooth(freq),os.square(freq),os.triangle(freq),os.osc(freq),os.pulsetrain(freq)
>  : ba.selectn(5,wave)
> with 
> {
>wave = nentry("Waveform",0,0,4,1);
>freq = hslider("frequency",440,10,8000,0.01);
> 
> };
> process = waveforms;
> 
> 
> Thanks
> Magnus 
> 
> Sent from my iPhone
> 
> ___
> 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] Need help , compiler

2022-08-23 Thread Stéphane Letz


> Le 24 août 2022 à 07:15, MahaVoice SkyTravers  a écrit :
> 
> Dear Mr.Orlarey,
> 
> I have been using online faust compiler from 2 years ago up to now,but for a 
> reason I need to compile my dsp file by previous compiler.

What is the reason for that ?

> So I need to compile manually my .dsp file. I installed faust for win64 by 
> installer package and let it to add Path to environmental variable for all 
> users in my windows. After installing , I can run faust.exe from anywhere in 
> my cmd window. But when I go to c:\Program Files\faust\bin and type 
> "faust2esp32 -lib mydsp.dsp" the computer return "faust2esp32 is not 
> recognized as an internal or external command, operable program or batch 
> file.So I confused ,what did I wrong? As I know the faust2esp32 tool is a 
> bash file and bash files can run in cmd window by typing its name!
> 
> Any help would be appreciated
> Thank you in advance

Most faust2xx tools are bash commands that do not work well on Windows. The 
best is probably to install a Linux VM and start from there. 

Stéphane 

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


Re: [Faudiostream-users] LV2 generator/designer

2022-07-25 Thread Stéphane Letz
Cool ! Added on the « Powered by Faust » page : 
https://faust.grame.fr/community/made-with-faust/#xuidesigner

Stéphane 

> Le 24 juil. 2022 à 17:24, Hermann Meyer  a écrit :
> 
> Hi
> 
> I worked on a LV2 generator tool and have now implemented faust support.
> 
> The tool is now able to generate a LV2 bundle with X11 based UI for
> faust dsp files.
> 
> The file could be load by dnd on the designer interface.
> 
> I've uploaded a little demo showing how it works.
> 
> https://i.imgur.com/THSArvd.gif
> 
> 
> The project page is here:
> 
> https://github.com/brummer10/XUiDesigner
> 
> 
> It's still early stage, but it may be helpful already, or at least bring
> some fun.
> 
> 
> regards
> 
> hermann
> 
> 
> 
> ___
> 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] FaustLive 2.5.11 released

2022-07-01 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faustlive/releases/tag/2.5.11

The macOS binary is still not signed. On Apple Silicon, you can simply open it 
under Rosetta: right-click the first time then normal open later on.

Feedback welcome.

Stéphane

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


[Faudiostream-users] Faust version 2.41.1 releases

2022-06-29 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases

Stéphane

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


[Faudiostream-users] Faust version 2.41.1-rc2 to test

2022-06-28 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.41.1-rc2

Feedback welcome.

Stéphane

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


[Faudiostream-users] Faust version 2.41.1-rc1 to test

2022-06-27 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.41.1-rc1

Feedback welcome.

Stéphane

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


[Faudiostream-users] FaustLive version 2.5.11-rc1 to test

2022-06-27 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faustlive/releases/tag/2.5.11-rc1

The macOS binary is still not signed. On Apple Silicon, you can simply open it 
under Rosetta: right-click the first time then normal open later on.

Feedback welcome.

Stéphane

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


Re: [Faudiostream-users] faust2wwise

2022-06-15 Thread Stéphane Letz
Hi João,

The faust2wwise repository contains a set of files which are a starting point 
to develop a faust2wwise tool and a plugins embedding the libfaust library.

We don't have the necessary resources to work on it right now, but help is 
welcome of course ((-; and diffusing the existence of this starting project in 
the Wwise community might help.

Stéphane 

> Le 15 juin 2022 à 09:10, João Svidzinski  a écrit :
> 
> Hello everyone,
> 
> I've been working for a while on a project with Unity. All the dsp is made 
> with Faust plugins with faust2unity. I'm considering migrating it to wwsie in 
> order to gain more flexibility, especially regarding the number of channels 
> aveables.
> 
> I noticed a faust2wwise repository, but it seems to be a preliminary project. 
> I also realised that the faust2wwise development is a possible project of the 
> GSoC. 
> 
> I'm wondering if it's only a pedagogical proposal, or an ongoing project. If 
> so, is there any  prospect of an official faust2wwise release ? Does someone 
> have more details about it ?
> 
> thanks
> -- 
> João Svidzinski
> ___
> 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] trouble building faustlive

2022-05-31 Thread Stéphane Letz
Is libmicrohttpd correctly installed ?

https://github.com/grame-cncm/faustlive/blob/0dd0d86df19c1dc822c106908869cf720128e43d/Build/README.md

I not do it, then clean and recompile Faust first.

Stéphane 

> Le 31 mai 2022 à 12:35, Klaus Scheuermann  a écrit :
> 
> Ok, that cloned the libs :)
> 
> - I ran ./version
> - I modified CMakeLists.txt with -DAPP_VERSION="2.5.10"
> - then 'make'
> 
> A lot went well, but the some errors: https://paste.rs/P3a
> 
> Almost there, I guess?
> Merci.
> 
> 
> On Tue, 2022-05-31 at 12:19 +0200, Stéphane Letz wrote:
>> Try : git submodule update —init  
>> 
>> at the root level.
>> 
>> Stéphane 
>> 
>>> Le 31 mai 2022 à 12:14, Klaus Scheuermann  a
>>> écrit :
>>> 
>>> 
>>>> Are you build FL from the git repository? Or from a release
>>>> package ?
>>>> Which version ?
>>> I'm building from the git repo.
>>> 
>>>> When compiling from the Git repository, the
>>>> '/home/ks/Install/faustlive/Resources/Libs/ folder is actually a
>>>> Git
>>>> submodule and should contain all the xx.lib libraries files. Is
>>>> this
>>>> the case?
>>> No, the folder is empty.
>>> How do I include them?
>>> 
>>> Thanks,
>>> Klaus
>>> 
>>> 
>>> 
>>> 
>>>> 
>>>> Stéphane 
>>>> 
>>>>> Le 30 mai 2022 à 21:18, Klaus Scheuermann  a
>>>>> écrit :
>>>>> 
>>>>> Hi, I am trying to build faustlive on arch linux. I istalled
>>>>> faust
>>>>> with
>>>>> 'all', and all dependencies. I ran the version script. If I
>>>>> 'make'
>>>>> then:
>>>>> 
>>>>> [ks@home Build]$ make
>>>>> if test -d .git; then git submodule update --init; fi
>>>>> make qrc
>>>>> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
>>>>> make[1]: Nothing to be done for 'qrc'.
>>>>> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
>>>>> make cmake
>>>>> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
>>>>> cd builddir && cmake ..  
>>>>> -- Generates FaustLive version 2.5.10
>>>>> -- Using Faust Version 2.40.11
>>>>> -- Using LLVM version 13.0.1
>>>>> -- Using Qt version 5.15.4
>>>>> -- Using Jack Audio drivers
>>>>> -- FaustLive install prefix set to /usr/local
>>>>> -- Configuring done
>>>>> -- Generating done
>>>>> -- Build files have been written to:
>>>>> /home/ks/Install/faustlive/Build/builddir
>>>>> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
>>>>> make faustlive
>>>>> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
>>>>> cmake --build builddir --config Release
>>>>> make[2]: Entering directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[3]: Entering directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[4]: Entering directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[4]: Leaving directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[4]: Entering directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> [  2%] Automatic MOC and UIC for target FaustLive
>>>>> make[4]: Leaving directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> [  2%] Built target FaustLive_autogen
>>>>> make[4]: Entering directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[4]: *** No rule to make target
>>>>> '/home/ks/Install/faustlive/Resources/Libs/signals.lib', needed
>>>>> by
>>>>> 'FaustLive_autogen/UPTIVKWUNI/qrc_application.cpp'.  Stop.
>>>>> make[4]: Leaving directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[3]: *** [CMakeFiles/Makefile2:83:
>>>>> CMakeFiles/FaustLive.dir/all]
>>>>> Error 2
>>>>> make[3]: Leaving directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[2]: *** [Makefile:156: all] Error 2
>>>>> make[2]: Leaving directory
>>>>> '/home/ks/Install/faustlive/Build/builddir'
>>>>> make[1]: *** [Makefile:21: faustlive] Error 2
>>>>> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
>>>>> make: *** [Makefile:18: all] Error 2
>>>>> 
>>>>> 
>>>>> Any Ideas what I am doing wrong?
>>>>> Thanks, Klaus
>>>>> 
>>>>> 
>>>>> ___
>>>>> 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 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] trouble building faustlive

2022-05-31 Thread Stéphane Letz
Try : git submodule update —init  

at the root level.

Stéphane 

> Le 31 mai 2022 à 12:14, Klaus Scheuermann  a écrit :
> 
> 
>> Are you build FL from the git repository? Or from a release package ?
>> Which version ?
> I'm building from the git repo.
> 
>> When compiling from the Git repository, the
>> '/home/ks/Install/faustlive/Resources/Libs/ folder is actually a Git
>> submodule and should contain all the xx.lib libraries files. Is this
>> the case?
> No, the folder is empty.
> How do I include them?
> 
> Thanks,
> Klaus
> 
> 
> 
> 
>> 
>> Stéphane 
>> 
>>> Le 30 mai 2022 à 21:18, Klaus Scheuermann  a
>>> écrit :
>>> 
>>> Hi, I am trying to build faustlive on arch linux. I istalled faust
>>> with
>>> 'all', and all dependencies. I ran the version script. If I 'make'
>>> then:
>>> 
>>> [ks@home Build]$ make
>>> if test -d .git; then git submodule update --init; fi
>>> make qrc
>>> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
>>> make[1]: Nothing to be done for 'qrc'.
>>> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
>>> make cmake
>>> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
>>> cd builddir && cmake ..  
>>> -- Generates FaustLive version 2.5.10
>>> -- Using Faust Version 2.40.11
>>> -- Using LLVM version 13.0.1
>>> -- Using Qt version 5.15.4
>>> -- Using Jack Audio drivers
>>> -- FaustLive install prefix set to /usr/local
>>> -- Configuring done
>>> -- Generating done
>>> -- Build files have been written to:
>>> /home/ks/Install/faustlive/Build/builddir
>>> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
>>> make faustlive
>>> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
>>> cmake --build builddir --config Release
>>> make[2]: Entering directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[3]: Entering directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[4]: Entering directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[4]: Leaving directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[4]: Entering directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> [  2%] Automatic MOC and UIC for target FaustLive
>>> make[4]: Leaving directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> [  2%] Built target FaustLive_autogen
>>> make[4]: Entering directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[4]: *** No rule to make target
>>> '/home/ks/Install/faustlive/Resources/Libs/signals.lib', needed by
>>> 'FaustLive_autogen/UPTIVKWUNI/qrc_application.cpp'.  Stop.
>>> make[4]: Leaving directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[3]: *** [CMakeFiles/Makefile2:83:
>>> CMakeFiles/FaustLive.dir/all]
>>> Error 2
>>> make[3]: Leaving directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[2]: *** [Makefile:156: all] Error 2
>>> make[2]: Leaving directory
>>> '/home/ks/Install/faustlive/Build/builddir'
>>> make[1]: *** [Makefile:21: faustlive] Error 2
>>> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
>>> make: *** [Makefile:18: all] Error 2
>>> 
>>> 
>>> Any Ideas what I am doing wrong?
>>> Thanks, Klaus
>>> 
>>> 
>>> ___
>>> 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 mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] trouble building faustlive

2022-05-30 Thread Stéphane Letz
Are you build FL from the git repository? Or from a release package ? Which 
version ?

When compiling from the Git repository, the 
'/home/ks/Install/faustlive/Resources/Libs/ folder is actually a Git submodule 
and should contain all the xx.lib libraries files. Is this the case?

Stéphane 

> Le 30 mai 2022 à 21:18, Klaus Scheuermann  a écrit :
> 
> Hi, I am trying to build faustlive on arch linux. I istalled faust with
> 'all', and all dependencies. I ran the version script. If I 'make'
> then:
> 
> [ks@home Build]$ make
> if test -d .git; then git submodule update --init; fi
> make qrc
> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
> make[1]: Nothing to be done for 'qrc'.
> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
> make cmake
> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
> cd builddir && cmake ..  
> -- Generates FaustLive version 2.5.10
> -- Using Faust Version 2.40.11
> -- Using LLVM version 13.0.1
> -- Using Qt version 5.15.4
> -- Using Jack Audio drivers
> -- FaustLive install prefix set to /usr/local
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/ks/Install/faustlive/Build/builddir
> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
> make faustlive
> make[1]: Entering directory '/home/ks/Install/faustlive/Build'
> cmake --build builddir --config Release
> make[2]: Entering directory '/home/ks/Install/faustlive/Build/builddir'
> make[3]: Entering directory '/home/ks/Install/faustlive/Build/builddir'
> make[4]: Entering directory '/home/ks/Install/faustlive/Build/builddir'
> make[4]: Leaving directory '/home/ks/Install/faustlive/Build/builddir'
> make[4]: Entering directory '/home/ks/Install/faustlive/Build/builddir'
> [  2%] Automatic MOC and UIC for target FaustLive
> make[4]: Leaving directory '/home/ks/Install/faustlive/Build/builddir'
> [  2%] Built target FaustLive_autogen
> make[4]: Entering directory '/home/ks/Install/faustlive/Build/builddir'
> make[4]: *** No rule to make target
> '/home/ks/Install/faustlive/Resources/Libs/signals.lib', needed by
> 'FaustLive_autogen/UPTIVKWUNI/qrc_application.cpp'.  Stop.
> make[4]: Leaving directory '/home/ks/Install/faustlive/Build/builddir'
> make[3]: *** [CMakeFiles/Makefile2:83: CMakeFiles/FaustLive.dir/all]
> Error 2
> make[3]: Leaving directory '/home/ks/Install/faustlive/Build/builddir'
> make[2]: *** [Makefile:156: all] Error 2
> make[2]: Leaving directory '/home/ks/Install/faustlive/Build/builddir'
> make[1]: *** [Makefile:21: faustlive] Error 2
> make[1]: Leaving directory '/home/ks/Install/faustlive/Build'
> make: *** [Makefile:18: all] Error 2
> 
> 
> Any Ideas what I am doing wrong?
> Thanks, Klaus
> 
> 
> ___
> 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] problem building VST3 via JUCE, AU works

2022-05-27 Thread Stéphane Letz
There were several issues, fixed here, textes with a simple stereo OSC, in 
-single and -double mode, AU et VST3 plugins, in Reaper.

https://github.com/grame-cncm/faust/commit/37c7c0a2da790eaa079fac2080dd03817e82c38a

Ca you test and report?

Thanks.

Stéphane 

> Le 27 mai 2022 à 16:51, Klaus Scheuermann  a écrit :
> 
> Hi,
> A relatively simple noisegate results in distortion both -double and single 
> as VST3. AU is fine.
>>> MacOS 12.15.7
> Xcode 12.4
> 
> @Juan Carlos: does it mean only AAX works in -double?
> 
> Klaus
> 
> 
> 
> import("stdfaust.lib");
> 
> init_noisegate_threshold = -70;
> 
> process = _,_ : noisegate(2) : _,_;
> 
> // NOISE GATE
> noisegate(N) = 
> gate_any(N,noisegate_thresh,noisegate_attack,noisegate_hold,noisegate_release)
>  with {
>   noisegate_thresh = vslider("[0]threshold",init_noisegate_threshold, -95, 0, 
> 1);
>   noisegate_attack = 0.01;
>   noisegate_hold = 1;
>   noisegate_release = 2;
> 
>   gate_any(N,thresh,att,hold,rel) = B <: B, (B :> ggm : vbargraph("[2]gate 
> level",0,1) <: B) : ro.interleave(N,2) : par(i,N,*)
>   with {
>   B = si.bus(N);
>   ggm = gate_gain_mono(thresh,att,hold,rel);
>   };
> 
>   gate_gain_mono(thresh,att,hold,rel,x) = x : extendedrawgate : 
> an.amp_follower_ar(att,rel) with {
>   extendedrawgate(x) = max(float(rawgatesig(x)),holdsig(x));
>   rawgatesig(x) = inlevel(x) > ba.db2linear(thresh);
>   minrate = min(att,rel);
>   inlevel = an.amp_follower_ar(minrate,minrate);
>   holdcounter(x) = (max(holdreset(x) * holdsamps,_) ~-(1));
>   holdsig(x) = holdcounter(x) > 0;
>   holdreset(x) = rawgatesig(x) < rawgatesig(x)'; // reset hold when raw 
> gate falls
>   holdsamps = int(hold*ma.SR);
>   };
> };
> 
> 
>> On 27. May 2022, at 16:22, Juan Carlos Blancas  wrote:
>> 
>> Hi Klaus,
>> 
>> macOS 12.1, Xcode 13.3.1
>> 
>> Seems to work fine for me: AAX, AU, VST3 and VST
>> 
>> -double only AAX.
>> 
>> Best regards,
>> Juan Carlos
>> 
>>> El 27 may 2022, a las 13:17, Klaus Scheuermann  escribió:
>>> 
>>> Hi All, I am running into trouble again ;)
>>> Your help is very much appreciated.
>>> 
>>> Here is my dsp file (a modified version of master_me): 
>>> https://github.com/trummerschlunk/master_me/blob/master/soundsgood09.dsp
>>> 
>>> For various reasons, I decided to go via JUCE (VST3, VST2 from faustIDE 
>>> crashing on MacOS and Win, no -double support on faustIDE). Here is my 
>>> workflow. I am on MacOS 12.15.7 for this project.
>>> - make a juicer project with faust2juce -double soundsgood09.dsp
>>> - copy folder containing jucer file to JUCE/Examples
>>> - open jucer file, select VST3 and AU, save and open in Xcode
>>> - build all in Xcode: one issue in FaustPluginProcessor.cpp:8988:39: 
>>> Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') 
>>> to 'int'
>>> 
>>> The AU version runs in Reaper - yay!
>>> The VST3 version only outputs full level saw tone - autsch!
>>> 
>>> Can someone confirm? And hopefully help please?
>>> Thank you so much!
>>> 
>>> Klaus
>>> 
>>> ___
>>> 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 mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] problem building VST3 via JUCE, AU works

2022-05-27 Thread Stéphane Letz
It seems the -double does not work correctly with VST3 format, but work OK with 
AU.

 Tested with simpler examples here. Can you confirm that ? (even if you DSP 
confirm needs -double in the first place…)

Stéphane

> Le 27 mai 2022 à 13:17, Klaus Scheuermann  a écrit :
> 
> Hi All, I am running into trouble again ;)
> Your help is very much appreciated.
> 
> Here is my dsp file (a modified version of master_me): 
> https://github.com/trummerschlunk/master_me/blob/master/soundsgood09.dsp
> 
> For various reasons, I decided to go via JUCE (VST3, VST2 from faustIDE 
> crashing on MacOS and Win, no -double support on faustIDE). Here is my 
> workflow. I am on MacOS 12.15.7 for this project.
> - make a juicer project with faust2juce -double soundsgood09.dsp
> - copy folder containing jucer file to JUCE/Examples
> - open jucer file, select VST3 and AU, save and open in Xcode
> - build all in Xcode: one issue in FaustPluginProcessor.cpp:8988:39: Implicit 
> conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
> 
> The AU version runs in Reaper - yay!
> The VST3 version only outputs full level saw tone - autsch!
> 
> Can someone confirm? And hopefully help please?
> Thank you so much!
> 
> Klaus
> 
> ___
> 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] faust2lv2

2022-05-27 Thread Stéphane Letz
I guess you’ll need to install boost. 

Stéphane 

> Le 27 mai 2022 à 15:51, Klaus Scheuermann  a écrit :
> 
> This is probably a simple one for you... Any ideas? Thank you
> 
> [ks@home soundsgood]$ faust2lv2 -double soundsgood09.dsp 
> -std=c++11 -fvisibility=hidden -O3
> lv2.cpp:292:10: fatal error: boost/circular_buffer.hpp: No such file or
> directory
> compilation terminated.
> 
> 
> 
> 
> 
> ___
> 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] May 20, 2022: Two Google Summer of Code projects attributed

2022-05-21 Thread Stéphane Letz
Faust News

>> May 20, 2022: Two Google Summer of Code projects attributed

Two projects have finally been attributed to GRAME:

• Faust Integration in HISE aims at integrating support for the Faust 
audio programming language into HISE, an extensive framework for the creation 
of sample-based virtual musical instruments. The project will be worked on by 
Roman Sommer.

• Integrating Faust Into the Bespoke DAW aims at extending the modular 
Bespoke engine with Faust, allowing for both static compilation of modules, and 
potentially dynamic programming within Bespoke. The project will be worked on 
by Drew James.

Welcome to both of you in the Faust community !




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


Re: [Faudiostream-users] global slider

2022-05-19 Thread Stéphane Letz
Possibly read the FAQ here: 
https://faustdoc.grame.fr/manual/faq/#surprising-effects-of-vgrouphgroup-on-how-controls-and-parameters-work

Stéphane

> Le 19 mai 2022 à 19:11, Klaus Scheuermann  a écrit :
> 
> Hi all, struggling again with basics...
> 
> I'd like to have one 'global' vslider in my gui
> x = vslider("x",-18,-40,0,1);
> and use x in various defined functions (which might have gui objects in
> various hgroups). How do I do it?
> 
> If I use x in different functions, various instances of x are displayed
> and used.
> 
> Thanks,
> Klaus
> 
> 
> 
> ___
> 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] lufs loudness analyser

2022-05-12 Thread Stéphane Letz
> double precision is not available in faustide, right?

Yes still not.

> I will try and
> install faustlive today.

Yes. You can use « -double »  in FL «Compilation / FAUST Compiler Options » 

> Or would you recommend some other ide
> solution? (I am on arch linux.)
> 

Stéphane



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


Re: [Faudiostream-users] De-esser implementation

2022-04-27 Thread Stéphane Letz
Does this help ?

https://github.com/magnetophon/VoiceOfFaust#deesser

Stéphane 


> Le 16 avr. 2022 à 14:59, Alexandros Theodotou  a écrit :
> 
> Hi,
> 
> Does anyone have Faust code for implementing a de-esser? I can't seem
> to find a Faust module and can't seem to find any Faust code for
> "deesser" on github.
> 
> Thanks,
> Alex
> 
> 
> ___
> 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] WASM and polyphony

2022-04-18 Thread Stéphane Letz
Not currently possible.

Stéphane 

> Le 18 avr. 2022 à 06:08, Michal Seta  a écrit :
> 
> Is there a way of controlling sound parameters on different voices 
> separately? 



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


Re: [Faudiostream-users] Csound export

2022-04-18 Thread Stéphane Letz
I don't have the answer, possibly ask CSound or Cabbage users ?

Stéphane

> Le 18 avr. 2022 à 14:37, Vivien Aubke  a écrit :
> 
> Hi there, 
> I am a little confused by the Csound export from the web-IDE. The binary 
> folder doesn't actually contain a .CSD file. How can I make it work with 
> Cabbage?
> 
> 
> ___
> 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] MPE And Faust

2022-04-13 Thread Stéphane Letz
We currently don't have architecture code to handle MPE, since support MPE is a 
huge work.

I would suggest to target JUCE (supporting MPE) using the faust2juce tool 
(https://github.com/grame-cncm/faust/tree/master-dev/architecture/juce)

Stéphane 

> Le 13 avr. 2022 à 08:16, Frank Berthold  a écrit :
> 
> Hi Folks,
> 
> I'm working on doing some work with the Striso device with Faust's MIDI 
> interface, just through the web based IDE.  The Striso uses MPE, I haven't 
> been able to dig up any documentation on how Faust's API interacts with MPE, 
> any tips would be appreciated.
> 
> Thanks,
> Frank
> ___
> 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] FaustLive version 2.5.8 released

2022-03-29 Thread Stéphane Letz
https://github.com/grame-cncm/faustlive/releases/tag/2.5.8

The macOS binary is still not signed. On Apple Silicon, you can simply open it 
under Rosetta: right-click the first time then normal open later on.

Stéphane 

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


[Faudiostream-users] Running FaustLive x64 on Apple M1

2022-03-29 Thread Stéphane Letz
I can open FaustLive x64 on Apple M1 with right click the first time, then 
regular open after. See: https://github.com/grame-cncm/faustlive/releases

Can some other Apple M1 users confirm that?

Thanks.

Stéphane 

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


[Faudiostream-users] Faust version 2.40.0 released

2022-03-29 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.40.0

Stéphane

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


[Faudiostream-users] Faust version 2.40.0 released

2022-03-29 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.40.0

Stéphane

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


[Faudiostream-users] Faust version 2.40.0-rc2 to test

2022-03-27 Thread Stéphane Letz
- updated documentation

Here: https://github.com/grame-cncm/faust/releases/tag/2.40.0-rc2

Feedback welcome.

Stéphane

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


[Faudiostream-users] FaustLive version 2.5.8-rc1 to test

2022-03-25 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faustlive/releases/tag/2.5.8-rc1

Feedback welcome.

Stéphane

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


[Faudiostream-users] Faust version 2.40.0-rc1 to test

2022-03-25 Thread Stéphane Letz
Here: https://github.com/grame-cncm/faust/releases/tag/2.40.0-rc1

Feedback welcome.

Stéphane

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


Re: [Faudiostream-users] Using External Libraries in Faust IDE

2022-03-24 Thread Stéphane Letz
You can drag/drop each .lib file in the « Project Files » section, then use 
them in you main DSP file with import(« XXX.lib ») and so on.

Stéphane 

> Le 24 mars 2022 à 12:15, Pedro Castro  a écrit :
> 
> Hi,
> 
> I'm pretty new to Faust and programming in general, I'm sorry if this is a 
> basic question.
> 
> I wanted to use the SEAM library - 
> https://github.com/s-e-a-m/faust-libraries/blob/master/README.md - within 
> Faust IDE. As I'm in Windows, the IDE is handier.
> 
> I tried downloading the libraries and telling Faust IDE online where they 
> were in the local disc but it didn't seem to work.
> 
> I was wondering if it's possible to import external Libraries into Faust IDE?
> 
> Thank you in advance!
> Best regards,
> ___
> 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] Euroack-block generated Faust module

2022-03-22 Thread Stéphane Letz
Euroack-block generated Faust module: 
https://github.com/ohmtech-rdi/eurorack-blocks and 
https://drive.google.com/file/d/1-4E6mFv0UC3QNtGRu1ij8duxlTE_9Et_/view

Stéphane 



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


Re: [Faudiostream-users] Granola

2022-03-19 Thread Stéphane Letz


> Le 19 mars 2022 à 11:04, Jean-Louis Paquelin  a 
> écrit :
> 
> Hello,
> 
> Yesterday I had problems with the web IDE. The page crashed when I was 
> working on some pattern matching stuff. I first thought it was a server side 
> problem (as Chrome reported). But I finally discovered that it was on the 
> client side. I fixed it by clearing the Chrome cache and cookies...
> 
> Then I had the intuition that it may be the reason of the problem I reported 
> few weeks ago (or you have fixed it in the meantime): the missing labels when 
> I tried to compile Granola's code for Mac OS X. And you know what? It worked 
> perfectly, I now have the labels on the Granola's OSX app compiled on the web 
> IDE.

Interesting and strange, we did not fix anything on server side (the remote 
compilation service)… 

> 
> The web IDE is sooo convenient. But when it occasionally misbehaves, I now 
> know I just have (to save my job and) clear the browser's cache and cookies.
> 
> I'm sorry to have bothered you about this OS X compilation thing.
> 
> Thanks,
> 
> jlp
> 

Thanks for reporting anyway, completed here: 
https://github.com/grame-cncm/faustide#known-problems-and-solutions

Stéphane 



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


[Faudiostream-users] Web Audio Conference 2022 Extended deadline CFP 15 April 2022 (plus one extra week)

2022-03-17 Thread Stéphane Letz
Web Audio Conference 2022 Call For Paper (updated with extended deadline, 
research papers, demos, posters, talks and performances are due April 15th, 
2022, with one extra week to fine tune submissions) : 
https://easychair.org/cfp/WAC2022

The Conference Web site : https://wac2022.i3s.univ-cotedazur.fr/ has been 
recently updated with details about venue, accommodation recommendations, 
diversity tickets for people with low income, registration fees for regular 
attendees as well as remote ones, etc.

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


Re: [Faudiostream-users] Question re. Fauck and faust2ck

2022-03-14 Thread Stéphane Letz
 -std=c++11 is probably missing in the C++ command line.

Stéphane 

> Le 14 mars 2022 à 16:13, Daniel Chapiro  a écrit :
> 
> Thanks, Romain! In that case I'll stick to faust2ck for now. 
> However, for those who may want to use FaucK, I found a problems with 
> Faust.chug (I had posted it in the ChucK forum, since Faust.chug is in the 
> ChucK chugins release, but I'll cc it below).
> Cheers!
> Daniel
> ---
> 1. I downloaded the pre-compiled Faust.chug binary per the install script in 
> https://ccrma.stanford.edu/~rmichon/fauck/
> However, OSX (Big Sur) complains that it's from an unsigned developer, 
> whether I use it w/ chuck from the term, or from the miniaudicle. I know how 
> to enable OSX apps from unsigned developers - is there a way to have OSX let 
> me do likewise for .chugs (i.e., .o) files?
> 
> 2. Also, I tried to make Faust.chug from sources (cloned 
> https://github.com/ccrma/chugins), but got fatal compile errors:  
> >>> cd chugins/Faust/; make osx
> clang++ -c -o Faust.o Faust.cpp -mmacosx-version-min=10.9 -D__MACOSX_CORE__ 
> -I../chuck/include -arch x86_64 -fPIC -I/usr/local/include -O3
> In file included from Faust.cpp:35:
> In file included from /usr/local/include/faust/dsp/llvm-dsp.h:37:
> /usr/local/include/faust/dsp/dsp.h:246:52: error: expected ';' at end of 
> declaration list
> void setFpStatusRegister(intptr_t fpsr_aux) noexcept
> ^
> ;
> In file included from Faust.cpp:37:
> /usr/local/include/faust/gui/PathBuilder.h:69:31: error: non-aggregate type 
> 'std::vector' cannot be initialized with an initializer list
> std::vector rep = {' ', '#', '*', ',', '/', '?', '[', ']', '{', '}', 
> '(', ')'};
> ^ 
> 2 errors generated.
> make: *** [Faust.o] Error 1
> 
> On Mon, Mar 14, 2022 at 3:15 AM Romain Michon  wrote:
> Hi Daniel,
> 
> Beside the fact that FaucK allows you to do on-the-fly compilation of Faust 
> programs directly in ChucK, there's no real benefit in terms of using it vs. 
> faust2ck. It's just more convenient if you need to prototype Faust programs 
> directly in ChucK. If your Faust program is always the same, using faust2ck 
> might be a better option.
> 
> Cheers,
> 
> Romain 
> 
> On Sun, Mar 13, 2022 at 10:18 PM Daniel Chapiro  wrote:
> Thanks, Stéphane! Also, do you know if there any advantage in using FaucK 
> (Faust.chug) instead of faust2ck? (I don't do on-the-fly Chuck programming) 
> ___
> 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] GRAME and Faust accepted in Google Summer of Code !

2022-03-07 Thread Stéphane Letz
See: https://summerofcode.withgoogle.com/programs/2022/organizations in the « 
Programming Languages » section.

We started a list of possible projects here: 
https://github.com/grame-cncm/faustideas/blob/master/README.md but we at GRAME 
can possibly mentor 1 or 2 projects only.

Additional project ideas and the associated mentors can possibly be added at 
this stage, so feel free to suggest something !

Stéphane 

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


[Faudiostream-users] Custom Eurorack modules using Faust & Eurorack-blocks!

2022-02-21 Thread Stéphane Letz
For developers working with the Daisy board: https://www.electro-smith.com, see 
this message from Raphael Dingé: 
https://forum.electro-smith.com/t/custom-eurorack-modules-using-faust-eurorack-blocks/2345

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   >