Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1238) Code (32) Doc (255) Help (35) Quark (914) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. LayoutValueSlider Quark

    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 ...

  2. shanwan-wirelessgamepad.desc Quark

    ... gle, 'hidUsage': 1, 'hidUsagePage': 9, 'elementType': 'button', 'ioType': 'in', spec: \hidBut, mode: \push ), ( key: \circle, 'hidUsage': 2, 'hidUsagePage': 9, 'elementType': 'button', 'ioType': 'in', spec: \hidBut, mode: \push ), ( key: 'c ...

  3. DanceMat.desc_OFF Quark

    [ \joy_X, ( type: \joyAxis, mode: \center, osx: ( cookie: 16, spec: \cent255),linux: ( slot: [3,0], spec: \cent1 ) ), \joy_Y, ( type: \joyAxis, mode: \center, osx: ( cookie: 17, spec: \cent255 ), linux: ( slot: [3,1], spec: \cent1inv ) ), \ ...

  4. JITModMIDI Quark

    ... n: inf).play; }; this.changed(\noteOff, num, notes.last); } cc { |key, val| var spec = midiFuncs[key]; if(spec.notNil) { spec.put(\val, val); (type: \psSet, proxyspace: proxyspace, skipArgs: spec[\skipArgs]) .put(spec[\name], spec[\spec].ma ...

  5. instrSupport Quark

    ... = Instr.objectAt(name); if(search.isNil,{ ^nil }); ^search.asSynthDef } } /** asSpec **/ + Spec { rate { ^\noncontrol } *findKeyForSpec { arg spec; var matching,exact; // find the exact spec object exact = Spec.specs.findKeyForValue(spec); ...

  6. instrSupport Quark

    ... Instr.objectAt(name); if(search.isNil, { ^nil }); ^search.asSynthDef } } /** asSpec **/ + Spec { rate { ^\noncontrol } *findKeyForSpec { arg spec; var matching, exact; // find the exact spec object exact = Spec.specs.findKeyForValue(spec); ...

  7. p_envir_get Quark

    ... ult UMapDefs set */ UPatDef( \p_envir_get, { |unit, key = 'a'| { var kkey, val, spec, fromSpec; spec = unit.spec ?? { [0,1].asSpec; }; loop { kkey = key.next.asSymbol; if( kkey.notNil ) { val = currentEnvironment[ kkey ] ? (spec.default); f ...

  8. semitones_rate Quark

    ... |unit, semitones = 0| semitones.midiratio; }) .mappedArgs_([ \semitones ]) .setSpec( \semitones, UAdaptSpec({ |spec| ControlSpec( spec.minval.ratiomidi, spec.maxval.ratiomidi, \lin, 0, spec.default.ratiomidi ); }) ) .canUseUMapFunc_({ |uni ...

  9. TestControlSpec Quark

    TestControlSpec : UnitTest { test_equals { var a,b,c; a = ControlSpec(0, 1, 'linear', 0, 0.0, ""); b = ControlSpec(0, 1, 'linear', 0, 0.0, ""); c = ControlSpec(0, 2, 'linear', 0, 0.0, ""); // no really, this failed ! this.assert( a == b, "2 ...

  10. compar Plugin

    ... ctX.ar(reverbWet, [dst, AdCVerb.ar(0.1 * dst, 10)]) ); }); ) ( // control range specifications Spec.add(\freq0, [1, 20000, \exp]); Spec.add(\freq1, \freq0); Spec.add(\freq2, \freq0); Spec.add(\in, [0, 2, \lin, 1, 1]); Spec.add(\amp0, [0, 1] ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow