-
/* \clip_point Creates an UMap for applying clipping, wrapping, folding (mirroring) and more on points point: the point to clip center: the center of the clipping area radius: the radius of the clipping area clipMode: can be one of the foll ...
-
/* DMX framework for supercollider (c) 2007-9 Marije Baalman (nescivi) GNU/GPL v2.0 or later */ // class to create a GUI for DMX DMXGui{ classvar <>xposScreen=0, <>yposScreen=20; classvar <counter = 0; var <>dmx; var <sliderview, <cueview; ...
-
ReadWriteBufSndFile : BufSndFile { // read a soundfile and write it back to disk after ending // *warning* your existing soundfile will be overwritten! var <write = true; write_ { |new = true| write = new.booleanValue; this.changed( \write, ...
-
ValueUMapDef : UMapDef { classvar <>activeUnits; var <>valueIsMapped = true; var <>startFunc, <>endFunc; *defaultGUIColor { ^Color.yellow.blend( Color.white, 0.8 ).alpha_(0.4); } defType { ^\control } *initClass { activeUnits = IdentityDict ...
-
/* \p_envir_get Creates an pattern UMap for getting environment variables. Environment values are also accessible via regular SuperCollider code, by adding a '~' in front of the name. \p_envir_get also features an 'index' parameter indicati ...
-
UPatternSpec : Spec { classvar <>specs; *initClass { specs = [ ArgSpec( 'sustain', 1, SMPTESpec(0, 3600), false, \init ), ArgSpec( 'timeToNext', 1, SMPTESpec(0.01, 3600), false, \init ) ]; } constrain { |value| value = value.asArray.wrapExt ...
-
/* // PullSet is like SoftSet: it "softens" a parameter set action. // 1. When the newVal is close enough to the current value, or the lastVal // .set(name, value) is done. // 2. When it is too far away, SoftSet does nothing; // PullSet pul ...
-
/* \midi_note_gate Creates an UMap that listens to MIDI velocity in note messages of a specific note. It sets the value to the velocity of a note on message, and to 0 for note-off messages. Works similar to all 'midi_xxx' UMapDefs. value: t ...
-
... hDef you want and send it to the server play : the play method allows to define mappings between the GeoGraphy values and your synthDef. The method is called each time a new event is spawned by GeoGraphy. Typically a new synth is created fr ...
-
... .mapEvent(this)) } } + Nil { getScoreFromEvents { ^"" } } // functions create a mapping function that is applied when they are evaluated // this has turned out to be a little dangerous, because it may be applied to functions in Preact /* + ...