-
... urrent.fold(0.0, ttime); direction = 1; }; }, \back_at_end, { current = current.clip(0.0, ttime); if( (UPattern.duration - (ttime + delay.next)) <= now ) { direction = -1; } { direction = 1; }; }, \hold, { current = current.clip(0.0, ttime) ...
-
... .enIn; var but2E = q.but2.enIn; //page counter var increasePage = { |x| (x + 1).clip(0, q.numPages-1) }; var decreasePage = { |x| (x - 1).clip(0, q.numPages-1) }; var page = but1E.collect{ decreasePage } .merge(but2E.collect{ increasePage } ...
-
... op = 0, trimDB=0, amp=1 | var lpassFq, sig, env; tone = abs (tone); tone = tone.clip(0,1); startPos = startPos.clip(0.0, 1.0); lpassFq = 100 + (tone**(0.7) * 21900) ; // used to cut highs when incidence is low env = Env.linen(att, dur, rel) ...
-
... iCos = aziCos.linlin(-1.0, 1.0, -1.0 + spread, 1.0 - spread); eleFact = (eleDeg.clip(min_ele, max_ele) - min_ele) / (max_ele - min_ele); eleFact = eleFact.linlin(0.0, 1.0, 0.0 + (spread / 2.0), 1.0 - (spread / 2.0)); // limit cutoff freq ra ...
-
... fset; var pitchScaler = (pitch.midicps / 60.midicps); // var invIncidence = 1 - Clip.kr(incidence, 0,1) ; var invIncidence = 1 - incidence.clip(0,1); var amp = force.clip(0,1); var blockDelaySecs = ControlDur.ir * i_blockDelay; var decaySec ...
-
... fset; var pitchScaler = (pitch.midicps / 60.midicps); // var invIncidence = 1 - Clip.kr(incidence, 0,1) ; var invIncidence = 1 - incidence.clip(0,1); var amp = force.clip(0,1); var blockDelaySecs = ControlDur.ir * i_blockDelay; var decaySec ...
-
... ve: a curvature value for the mapped range. If curve == 0, the range is linear. clipMode: can be one of the following modes (Symbol): 'ignore': ignore values outside fromRange 'clip' (default): clip values outside fromRange 'fold': fold val ...
-
... , (old[\gain] ? 0.0) * 0.91).put(\confidence, ((old[\confidence] ? 0.0) * 0.84).clip(0.0, 1.0)), [vel[0] * 0.4, vel[1] * 0.4] ] } } { if(old.isNil or: { (old[\freq] ? 0.0) <= 0.0 } or: { (old[\confidence] ? 0.0) <= 0.02 }) { [cur.copy.put(\ ...
-
... ainDB.dbamp * nfIndex; ffGain = gainDB.dbamp * (1 - nfIndex); nfGainDB = nfGain.clip(0.00001, 1).ampdb; // make sure this is constrained, while avoiding -inf for 0.ampdb case ffGainDB = ffGain.clip(0.00001, 1).ampdb; // make sure this is co ...
-
... ference in arbitrary Environments, // Cauchy distribution is not bounded, so do clip ! ( p = Pbind ( \midinote , PLcauchy ( \mean , \spread ).clip(60, 90), \dur , 0.1 ); ) // prepare current Environment ( ~mean = 75; ~spread = 0.1; ) // run ...