-
/* use like this: ( SynthDef( "test_map", { var sig, freq; freq = \freq.asSpecMapKr( Line.kr(0,1,10,doneAction: 2) ); Out.ar( 0, SinOsc.ar( freq, 0, 0.1) ); }).add; ) x = Synth( "test_map", [ \freq, [220,440,\exp].asSpec ] ); */ + ControlSp ...
-
/* \value_to_range Creates an UMap intended for use on modulatable range parameters. The UMap derrives a value range by taking the peak and the lowest value from the input value over time. value: the input value (or UMap) decay: (0-1) a dec ...
-
/* \sample_and_hold This UMap implements sample-and-hold process. Every time a trigger is received the output value becomes the input value of that moment. value: the value or UMap to sample trigger: the trigger time: a linear lag time to m ...
-
SynthDef(\cheappiano, { arg out=0, freq=440, amp=0.1, dur=1, pan=0;Ê var sig, in, n = 6, max = 0.04, min = 0.01, delay, pitch, detune, hammer; freq = freq.cpsmidi; hammer = Decay2.ar(Impulse.ar(0.001), 0.008, 0.04, LFNoise2.ar([2000,4000].a ...
-
/* \sample_and_hold This UMap implements sample-and-hold process. Every time a trigger is received the output value becomes the input value of that moment. value: the value or UMap to sample trigger: the trigger time: a linear lag time to m ...
-
SynthDef(\drumDistortion, { |out, ffreq = 18000, rq = 0.5, mix = -1, preamp = -10| var dry = BLowPass.ar(In.ar(out, 2), ffreq, rq), wet = (dry * preamp.dbamp).tanh, dryamp = Amplitude.ar(dry), wetamp = Amplitude.ar(wet), ampCorrect = dryamp ...
-
/**** EC4 mapping layout for NTMI, ***** mostly copied from EN16 grid: top row encoders: left : rotate thru mainFX local or 2nd : rotate thru influxPreset 3rd : zoom: local ec4 zoom, or click-hold and turn for global zoom right: main volume ...
-
LayoutValueSlider : SCViewHolder { var <value, <spec, number, slider, <action; *new { |parent, bounds, initValue = 0, spec, numberWidth = 50| ^super.new.init(parent, bounds, initValue, spec, numberWidth) } value_ { |new| value = spec.constr ...
-
/* Unit Library The Game Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis ...
-
/* \set_reset_ff This UMap implements a flip-flop switch mechanism. trigger: the set trigger reset: the reset trigger lag: a linear lag time between value1 and value2 in seconds value1: the first value (or UMap) value2: the second value (or ...