Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (503) Code (48) Doc (99) Help (19) Quark (336) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. CCBank Quark

    var cs; cs = ControlSpec(0, 127, \lin, 1); MxUnit.register('CCBank', // crucial-library ( make: { arg bank; var outlets; outlets = bank.sets.collect { arg set, i; MxOutlet(set.key.asString, i, cs , MxSendsValueOnChanged({bank.at(set.key)})) ...

  2. GrainExplorer Quark

    ... ta_(( 'specs': \n%\n)).add".format( synthDef.asCompileString, sliders.collect(_.controlSpec).asCompileString ) ) } renderAndWrite { var filePath = this.filePath(); var params = this.getSliderValues; var paramsEvent = Event.newFrom(params); ...

  3. PowerMate Quark

    ... var powerMate; *new { ^super.new.init } init { var hidInfo; var vel; velSpec = ControlSpec(128, -128, step: 1); hidInfo = GeneralHID.findBy( 1917, 1040); powerMate = GeneralHID.open( hidInfo ); powerMate.slots[3][51].action_( { |v| // fact ...

  4. SnapControlSpec Quark

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

  5. RedMixGUI Quark

    //redFrik //--todo: //use controlspecs from RedMix objects //--related: //RedAbstractMix RedEffectModuleGUI RedMixerGUI RedMatrixMixerGUI RedTapTempoGUI RedMixGUI { var <redMix, <parent, position, win; *new {|redMix, parent, position| ^supe ...

  6. MinBox Quark

    ... EZ" container classes, all in a minimal amount of space. You may also specify a ControlSpec, as well as step and round values. You may change the value using the mouse, programmatically, using the arrow keys, or using the number keys to set ...

  7. Touch Quark

    ... termines how frequently the touched CV's value is updated. Touch acts both as a controlspec and as a surrogate CV. example: ( a = Conductor.make{| con, a| ~touchA = a.touch(10); con.gui.keys = con.gui.keys.add(\touchA); }; a.show; ) */ Touc ...

  8. MxControlRecorder Quark

    /* goal: offer all ControlSpec inlets in the current Mx show all on a gui with sliders learn cc, keystroke (toggle), osc record those events multiple patterns / takes mute/play/solo takes so pattern switching is by soloing one of the takes ...

  9. equal Quark

    ... e ) ] } ) .setSpec( \equal, ListSpec( [ \times, \speeds ] )) .setSpec( \amount, ControlSpec(-1,1,\lin,0,0) ) .setSpec( \resample, BoolSpec( false ) ) .useSelection_( false );

  10. HasSubjectGui Quark

    ... i { arg layout; var l; l=this.guify(layout); num = NumberEditor(model.amp.ampdb,ControlSpec(0.ampdb, 2.ampdb, \db, units: " dB")); num.action_({ arg val; model.amp_(val.dbamp) }); num.gui(l); if(layout.isNil,{ l.front }); } update { arg cha ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow