Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (845) Code (131) Doc (161) Help (23) Quark (524) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 5_keyplayer_presez Quark

    ... he key's ascii number as random seed NTMI.slots.nowPlaying.do({ |px| var pres = NdefPreset(px); var newSet = pres.getSetNames.wrapAt(char.digit); pres.setCurr( newSet ).setProxy(newSet); }) }); }; // "!@#$%^&*()".do { |char, i| // KeyPlayer ...

  2. extMakeEnvirGui Quark

    /* tests: Ndef('x').gui; Ndef('x')[5] = \mix -> { Dust2.ar }; // -> should should show wet5 at 1, full level // true: \wet1.isFilterRole // true \mix5.isFilterRole // true \wet.isFilterRole //false \mix5berta.isFilterRole // false \wet2234d ...

  3. research-log Quark

    ... at the IDE does after evaluating a line thisProcess.interpreter.codeDump.value("Ndef(\\mine).play; // hand-written"); Radicles.codeLog = false; ~radLogHookRestored = thisProcess.interpreter.codeDump === hookBefore; }, check: { var log = ~ra ...

  4. QuNexus_AB Quark

    ... an NPVoicer, use with \default synthdef: s.boot; s.latency = nil; v = NPVoicer(Ndef(\piano)).play; v.prime(\default); // make a global noteOn function, MFdef(\qn_on).add(\debug, { |el| el.postln }); // and add it to all on elements z.elAt( ...

  5. RedMst Quark

    ... 1, 2, 3, 5], inf ))); c= Tdef ( \tdef , { inf .do{ |i| i.postln; 1.wait}}); d= Ndef ( \ndef , { SinOsc .ar([900, 909], 0, 0.3)}); e= Routine ({ inf .do{ |i| (i*10).postln; 1.wait}}); f= Patch ( Instr ( \test , { SinOsc .ar([400, 404], 0, 0 ...

  6. RepublicOneBigGui Quark

    ... or.grey(0.6)); q.pr.bounds_(Rect(240, 210,530,200)); ["Synth", "Tdef", "Pdef", "Ndef"].do { |name| Button(q.butzone, Rect(0,0,50, 20)).states_([[name]]); }; // some utility buttons for the guis on other windows Button(q.butzone, Rect(0,0,50 ...

  7. SCLOrkSoundFile Quark

    ... w.view.keyDownAction_({ | view, char, mod, unicode, keycode | if (char == $ , { Ndef('SCLOrkSoundFile', { var env, snd; env = Env( levels: [0, 1, 1, 0], times: [0.001, soundDuration - 0.002, 0.001], ); snd = PlayBuf.ar( soundFile.numChannel ...

  8. README Quark

    ... ], // run first, not snapshotted cmds: ["vol t 1 -10"], // snapshotted check: { Ndef('track1').get('volume') == -10 } ); ``` Other options: `code:` (actions with no command, such as moving a knob from code), `teardown:` (remove presets the ...

  9. KeyBus Quark

    ... xyz ); // fails // same thing with access to namedbus object by name, Tdef/Pdef/Ndef-like. NamedBus ( \test , [ \a , \b , \c , \d , \e ], [0, 1, 2, 3, 4] * 0.1) v = NamedBus ( \test ).dump v.dump; v.values; v.keys; // setByIndex : only work ...

  10. 0_generals Quark

    ... ue) } { "g.tuneNameView: obj % has no nameView.".postf(obj.cs) }; obj }; /* z = NdefGui(Ndef(\allArm)); g.tuneNameView(s); */ WinBounds.addMake('Tdef.all', { TdefAllGui(16).parent.alpha_(NTMI.g.alpha) }); WinBounds.addMake('Pdef.all', { Pde ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow