-
IdxItemsSpec { var <items, <warp, <default, <spec, size; *new { |items, warp = 0, default| ^super.newCopyArgs( items, warp, default ).init; } init { size = items.size; spec = [ -0.5, size - 0.5, warp, 1].asSpec; // default is in mapped rang ...
-
// audio mapping in ProxySpace // todo. expand(numChannels) message p = ProxySpace .push(s.boot); p.fadeTime = 3; // some filters ~f1 = { |a_in=#[0,0], freq=500, dt=0.01| Ringz .ar(a_in, freq, dt) }; ~f2 = { |a_in=#[0,0], dt=0.1| CombL .ar( ...
-
/* \p_map_polar Creates an pattern UMap for converting angle and distance (rho, theta) to a cartesian point rho: distance from center (0-1) theta: angle (-pi - pi) center: center of the mapped area radius: radius of the mapped area -- this ...
-
... Not updated for new JITGuis yet! **************** UC33Ktl a class for handling mappings of the Evolution UC33 controller Inherits from: MIDIKtl The Evolution UC33 produces only MIDI controller events. It has 4 switchable scenes, in which a ...
-
MxCable { classvar <strategies; var <>outlet, <>inlet, <>mapping, <>active=true, <>pending=false; var <state; *new { arg outlet, inlet, mapping, active=true; ^super.newCopyArgs(outlet, inlet, mapping, active).init } init { state = Environme ...
-
Reverb study ( s.options.memSize_(65536 * 2); s.reboot; Spec.add(\damp, [0, 1]); Spec.add(\earlydiff, [0, 1]); Spec.add(\highband, [1000, 10000, \exp]); Spec.add(\highx, [0, 1]); Spec.add(\lowband, [100, 6000, \exp]); Spec.add(\lo ...
-
Warp specification of a shape for a mapping of numerical input Inherits from: Object The subclasses of Warp specify translations from input (a number) to an output (another number). This is an abstract class – already available shapes are l ...
-
wordBins ( var str = "" ; Array .fill(27, { |i| ((i+97).asAscii!i ++ " " )!i}).flatten(2).do{ |it| str = str ++ it }; d = str.wordBins(3) ) // use SwingOSC for proper umlauts in visualization ( var win, extX, extY, winRect, view, fontName, ...
-
SnapControlSpec : ControlSpec { var <>snap = 0.05; map { arg value; // maps a value from [0..1] to spec range var out = warp.map(value.clip(0.0, 1.0)), rounded = out.round(step); if((out absdif: rounded) <= snap) { ^rounded } { ^out } } unm ...
-
SWDataStringNode : SWDataNode { var <type = 1; initSlots{ slots.do{ |it,i| slots.put( i, SWDataStringSlot.new([id,i]) ); }; } data_{ |indata| if ( indata.size == slots.size , { // data = indata * scale; // no scaling with strings data = ind ...