This is a the kind of problematic code that the compiler does not correctly handle in a perfect way. More info here: https://faustdoc.grame.fr/manual/faq/#produced-nan-or-infinity-values-and-table-access
Stéphane > Le 19 avr. 2021 à 19:10, Kjetil Matheussen <k.s.matheus...@gmail.com> a écrit > : > > Hi, > > I don't know if this is a bug in the compiler, the interpreter > backend, or the faust code itself, but the interpreter backend crashes > when it runs this code: > > import("stdfaust.lib"); > divPitch = hslider("divPitch", 10, 0, 10, 0.01); > enable5 = button("enable2"); > process = os.osc(1000 / divPitch) * enable5 <: _,_; > > ...and the "divPitch" slider is set to 0. > (I got this code anonymously through the Radium crash reporter.) > > I think it's a bug in the compiler though since it refuse to compile this > code: > > process = 1000 / 0.0; > > > _______________________________________________ > 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