Hi Stéphane,

On Sat, Jun 25, 2016 at 8:57 AM, Stéphane Letz <l...@grame.fr> wrote:

> Concerning the first part, it seems you did not read my mail of June 17, I
> put it again here :
>

Indeed I did not, it still sits waiting patiently in my inbox, due to be
opened this weekend. ;-)


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

Ok, I understand. I've updated my faust-lv2 and faust-vst sources
accordingly, so that they are in sync with the Faust repo again. I still
need to check the generated plugins, though.

Were there any changes in the C and LLVM back-ends as well? That would
directly affect the Pure-Faust interface and probably a couple of my other
sources.


> Concernant division by zero this that done by this commit
> b19223d88afb2b8f26226bf2453c5ead66abee1c "Detect division by zero during
> symbolic division », maybe the fix is not correct? Yann?
>

This really looks like a compiler bug to me. At least the error message is
incomprehensible. And glassHarmonica.dsp appeared to work without a hitch
before.

Thanks,
Albert


> > Le 25 juin 2016 à 01:59, Albert Graef <aggr...@gmail.com> a écrit :
> >
> > I've got some trouble with the latest faust again (using the faust2
> branch).
> >
> > First, it seems that metadata() was recently changed from a class to an
> object method, breaking the API. Conceptually, that doesn't make much sense
> to me; the dsp meta-data should be the same for all dsp instances and hence
> static, no? So why was this change needed?
> >
> > Second, glassHarmonica.dsp suddenly refuses to compile, faust bails out
> with this error message:
> >
> > ERROR: division by 0 in min(1.92e+05f, max(1.0f, fSamplingFreq)) *
> nentry(freq [1][unit:Hz] [tooltip:Tone
> frequency]/Basic_Parameters,4.4e+02f,2e+01f,2e+04f,1.0f)**-1 / 0.0f
> >
> > Looking at glassHarmonica.dsp, I don't see any division by zero there.
> Can anyone enlighten me?
> >
> > TIA,
> > Albert
> >
> > --
> > Dr. Albert Gr"af
> > Computer Music Research Group, JGU Mainz, Germany
> > Email:  aggr...@gmail.com
> > WWW:    https://plus.google.com/+AlbertGraef
> >
> ------------------------------------------------------------------------------
> > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> > Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> > present their vision of the future. This family event has something for
> > everyone, including kids. Get more information and register today.
> > http://sdm.link/attshape_______________________________________________
> > Faudiostream-devel mailing list
> > Faudiostream-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
>
>


-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email:  aggr...@gmail.com
WWW:    https://plus.google.com/+AlbertGraef
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to