diff --git a/_tags b/_tags index b84c2638..4b353939 100644 --- a/_tags +++ b/_tags @@ -14,7 +14,7 @@ # Link libraries and ppx for Js (js_of_ocaml) files : package(js_of_ocaml) - : package(js_of_ocaml), package(js_of_ocaml.ppx) + : package(js_of_ocaml), package(js_of_ocaml-ppx) # Makes the bytecode debuggable and linking the custom runtime true : bin_annot,custom,debug diff --git a/test/code/kick.java.base b/test/code/kick.java.base index 4c63f78d..fc04a823 100644 --- a/test/code/kick.java.base +++ b/test/code/kick.java.base @@ -701,7 +701,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f if(Util_change(_ctx._inst13b,cv)){ _ctx.rate = (4.f * Util_cvToRate_1024(cv)); } float new_phase = 0.0f; float _if_13 = 0.0f; - if_ctx.direction{ _if_13 = _ctx.rate; } + if(_ctx.direction){ _if_13 = _ctx.rate; } else { _if_13 = (- _ctx.rate); } new_phase = (_ctx.phase + _if_13); @@ -720,7 +720,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f if(bdisable){ _ctx.phase = 0.0f; } else { _ctx.phase = new_phase; } - if_ctx.reset_state{ + if(_ctx.reset_state){ if((Math.abs(_ctx.reset_phase) > 10.f) || bdisable){ float reset_speed = 0.0f; if(bdisable){ reset_speed = 0.01f; } diff --git a/test/code/sawcore.java.base b/test/code/sawcore.java.base index 462e7cd1..82be8674 100644 --- a/test/code/sawcore.java.base +++ b/test/code/sawcore.java.base @@ -554,7 +554,7 @@ private float Sawcore_process(Sawcore__ctx_type_1 _ctx, float cv, float reset){ } _ctx.phase = new_phase; out = _ctx.phase; - if_ctx.reset_state{ + if(_ctx.reset_state){ boolean done = false; float ptr = 0.0f; Sawcore_ptr_w2(_ctx._inst622,_ctx.phase,_ctx.rate); diff --git a/test/code/tricore.java.base b/test/code/tricore.java.base index ba6089e8..bdf9a0c9 100644 --- a/test/code/tricore.java.base +++ b/test/code/tricore.java.base @@ -487,7 +487,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f if(Util_change(_ctx._inst13b,cv)){ _ctx.rate = (4.f * Util_cvToRate_1024(cv)); } float new_phase = 0.0f; float _if_13 = 0.0f; - if_ctx.direction{ _if_13 = _ctx.rate; } + if(_ctx.direction){ _if_13 = _ctx.rate; } else { _if_13 = (- _ctx.rate); } new_phase = (_ctx.phase + _if_13); @@ -506,7 +506,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f if(bdisable){ _ctx.phase = 0.0f; } else { _ctx.phase = new_phase; } - if_ctx.reset_state{ + if(_ctx.reset_state){ if((Math.abs(_ctx.reset_phase) > 10.f) || bdisable){ float reset_speed = 0.0f; if(bdisable){ reset_speed = 0.01f; } diff --git a/test/code/voice_4.java.base b/test/code/voice_4.java.base index 5155ee23..09715c45 100644 --- a/test/code/voice_4.java.base +++ b/test/code/voice_4.java.base @@ -813,7 +813,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f if(Util_change(_ctx._inst13b,cv)){ _ctx.rate = (4.f * Util_cvToRate_1024(cv)); } float new_phase = 0.0f; float _if_13 = 0.0f; - if_ctx.direction{ _if_13 = _ctx.rate; } + if(_ctx.direction){ _if_13 = _ctx.rate; } else { _if_13 = (- _ctx.rate); } new_phase = (_ctx.phase + _if_13); @@ -832,7 +832,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f if(bdisable){ _ctx.phase = 0.0f; } else { _ctx.phase = new_phase; } - if_ctx.reset_state{ + if(_ctx.reset_state){ if((Math.abs(_ctx.reset_phase) > 10.f) || bdisable){ float reset_speed = 0.0f; if(bdisable){ reset_speed = 0.01f; }