-
... (parent, bounds); slider.value= cv.input; slider.action= {|view| numb.value= cv.spec.map(view.value)}; numb.value= cv.value; numb.action= {|view| slider.value= cv.spec.unmap(view.value)}; } value {^slider.value} value_ {|val| slider.valueAc ...
-
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 ...
-
... red: (midiChan: 0, groupType: \noteOnOffBut, elementType: 'button', midiNum: 1, spec: \midiBut), elements: 4.collect { |buttonIdx| ( midiNum: 36 + (buttonIdx*12), style: (\row: 0, \column: buttonIdx, \height: 1) ) } ), // sliders ( key: \sl ...
-
MultiMonoUdef : Udef { classvar <>channelArgSpec; *initClass { channelArgSpec = ArgSpec( \numChannels, 1, ListSpec([1,2,3,4,5,6,7,8,10,12,16,24,32]), false, \nonsynth ); } initArgs { argSpecs = argSpecs.collect({ |item| if( item.name.asStri ...
-
... ricDef : UArchivable { classvar <>all; // overwrite in subclass to create class specific lib classvar <>defsFolders, <>userDefsFolder; var <>argSpecs; var <>prName; *new { |name, args, addToAll = true| var x = super.new.initArgSpecs( args ) ...
-
... ricDef : UArchivable { classvar <>all; // overwrite in subclass to create class specific lib classvar <>defsFolders, <>userDefsFolder; var <>argSpecs; var filePath; var <>prName; *new { |name, args, addToAll = true| var x = super.new.initAr ...
-
... sound: // a network of modulating VarSaws. // controlled by aura weights ... ( Spec.add(\octaves, [0, 9]); Spec.add(\angle, [0, 1]); Spec.add(\delaytime, [0, 0.1, \amp]); Spec.add(\spiky, [0.1, 10, \exp]); Spec.add(\hairy, [0.0, 2, \amp]); ...
-
... sound: // a network of modulating VarSaws. // controlled by aura weights ... ( Spec.add(\octaves, [0, 9]); Spec.add(\angle, [0, 1]); Spec.add(\delaytime, [0, 0.1, \amp]); Spec.add(\spiky, [0.1, 10, \exp]); Spec.add(\hairy, [0.0, 2, \amp]); ...
-
... new; view.resize_( resize ); } makeView { |parent, bounds| var comp, argNames, specs; if( bounds.isNil ) { bounds = 350 @ (this.class.viewNumLines * (viewHeight + 4)) }; view = EZCompositeView( parent, bounds, margin: 0@2, gap: 2@2 ); boun ...
-
... rt, makeDefault = true| name = "envir"; oscfunc = OSCFunc({ |msg| var key, val, spec; key = msg[0].asString.split($/).last.asSymbol; spec = ~u_specs !? _[key]; if( spec.notNil ) { val = msg[1..]; if( val.size == 1 ) { val = val[0] }; val = ...