diff --git a/VERSIONS b/VERSIONS index 296eaaaa2..0d16a56a1 100644 --- a/VERSIONS +++ b/VERSIONS @@ -3,11 +3,13 @@ ChucK VERSIONS log ------------------ 1.5.3.1 (October 2024) -- (ChuGL maintanance patch) +*** ChuGL maintanance patch *** - (fixed) crash caused by calling UI functions before calling GG.nextFrame(); now prints a warning with a hint to call GG.nextFrame() - (fixed) CPU and memory spikes when minimizing a ChuGL window - (fixed) crash caused by immediately disconnecting GGen after --> +*** language maintenance *** +- (fixed) ADSR constructors now work correctly 1.5.3.0 (September 2024) diff --git a/src/core/ugen_stk.cpp b/src/core/ugen_stk.cpp index c04075124..650a2352b 100644 --- a/src/core/ugen_stk.cpp +++ b/src/core/ugen_stk.cpp @@ -3936,7 +3936,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; type_engine_import_add_ex(env, "basic/blit2.ck"); // add construtor ADSR( dur attack, dur decay, float sustain, dur release ) | 1.5.2.5 (added) ge & eito - func = make_new_ctor( ADSR_ctor_floats ); + func = make_new_ctor( ADSR_ctor_durs ); func->add_arg( "dur", "attack" ); func->add_arg( "dur", "decay" ); func->add_arg( "float", "sustain" ); @@ -3945,7 +3945,7 @@ by Perry R. Cook and Gary P. Scavone, 1995 - 2002."; if( !type_engine_import_ctor( env, func ) ) goto error; // add constructor ADSR( float attack, float decay, float sustain, float release ) | 1.5.2.5 (added) ge & eito - func = make_new_ctor( ADSR_ctor_durs ); + func = make_new_ctor( ADSR_ctor_floats ); func->add_arg( "float", "attack" ); func->add_arg( "float", "decay" ); func->add_arg( "float", "sustain" );