-
... .init; MIDIIn .connect(0, MIDIClient .sources.at(0)); g = Group .new; cutspec = ControlSpec (100,10000, \linear ,0.001); cutbus = Bus .new( \control ,1,1,s); cutbus.value = 10000; rezspec = ControlSpec (1,0, \linear ,0.001); rezbus = Bus .n ...
-
... r val is mapped (within the range of param.asSpec) or unmapped (0.0-1.0) spec a ControlSpec can be passed in. if nil, param.asSpec is used. NOTE: if no spec is given, softSet simply allows setting. Typical uses would be switching to a prese ...
-
... nderscore removed. ascii return the ascii codes as an array asSpec Convert to a ControlSpec asTuning Convert to a Tuning asScale Convert to a Scale Environments Symbols are used as keys to look up objects in dictionaries and environments, b ...
-
... e, gate) ) },[0.1,0.1,0.1,0.1,0.1, nil ]).play(s); w = Window .new.front; int = ControlSpec (-48,48, \linear ,1); v = TabletSlider2D (w, Rect (10,10,380,380)); v.background = Color .blue.alpha_(0.2); v.knobColor = Color .red; v.action = { a ...
-
... ) lastVal the previous value that a control has set - see last examples. spec a ControlSpec can be passed in. if nil, param.asSpec is used. NOTE: if no spec is given, or no value exists yet, softSet simply allows setting. Typical uses would ...
-
... .kr(8, 4) }; ~test.map( \intv , ~lfo); ~test.unmap( \intv ); Spec .add( \intv , ControlSpec (0, 24, \lin , 0.01, 0)); n.fullUpdate; // setting a param value unmaps a previous control source ~test.set( \freq , rrand(200, 500), \intv , rrand( ...
-
... .kr(8, 4) }; ~test.map( \intv , ~lfo); ~test.unmap( \intv ); Spec .add( \intv , ControlSpec (0, 24, \lin , 0.01, 0)); // setting a param value unmaps a previous control source ~test.set( \freq , rrand(200, 500), \intv , rrand(-5.5, 5.5)); / ...
-
... round and map the output range for clearer display ( w = Window .new.front; b = ControlSpec (-50, 50, \linear , 0.01); // min, max, mapping, step c = StaticText (w, Rect (20, 20, 150, 20)).align_( \center ).background_( Color .rand); a = Sl ...
-
... descriptive information. Currently the 'specs' key in the event is reserved for ControlSpecs to be associated with SynthDef arguments (this is useful for automatic GUI construction). Metadata can be persisted to disk and loaded automaticall ...