You are hitting a bug in the compiler, here is the crash log;

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

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   faust                               0x0000000101ba91f4 
divExtendedNums(CTree*, CTree*) + 164
1   faust                               0x0000000101b86c62 
mterm::operator/=(CTree*) + 50
2   faust                               0x0000000101b8665b 
mterm::operator*=(CTree*) + 171
3   faust                               0x0000000101b868b5 mterm::mterm(CTree*) 
+ 69
4   faust                               0x0000000101b8512c 
aterm::operator+=(CTree*) + 156
5   faust                               0x0000000101b851b6 aterm::aterm(CTree*) 
+ 38
6   faust                               0x0000000101b88b76 
normalizeAddTerm(CTree*) + 38
7   faust                               0x0000000101b8a036 
simplification(CTree*) + 678
8   faust                               0x0000000101b89822 sigMap(CTree*, 
CTree* (*)(CTree*), CTree*) + 322
9   faust                               0x0000000101b897d0 sigMap(CTree*, 
CTree* (*)(CTree*), CTree*) + 240

Yann the compiler should protect against that yes?

Stéphane

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


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

Reply via email to