Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. SlicedSndFile Quark

    ... wBasic( path.formatGPath, numFrames, numChannels, sampleRate, start, end, rate, loop ) .useChannels_( useChannels ) } asBufSndFile { ^this.as( BufSndFile ) } fillBufSndFiles { bufSndFiles = this.slices.collect({ |slice,i| this.makeBufSndFil ...

  2. Streams-Patterns-Events1 Doc

    ... ams as a sequence of pitches var stream, dur; dur = 1/8; stream = Routine.new({ loop({ if (0.5.coin, { // run of fifths: 24.yield; 31.yield; 36.yield; 43.yield; 48.yield; 55.yield; }); rrand(2,5).do({ // varying arpeggio 60.yield; #[63,65]. ...

  3. test-JITModPatch Quark

    ... ~out = { \in.ar(0!2) }; ~out.play(vol: 0.2); ~src = { |a11| PlayBuf.ar(1, a11, loop: 1) }; ~src <>> ~out; p.clear; p.buffers.buffers p.save; p.buffers.asRef(\a11).asControlInput p = JITModPatch.load; d = DebugNetAddr("127.0.0.1", 57110); e ...

  4. RecNodeProxy Doc

    ... // monitor; a.open("xproxySpace.aif"); a.record; a.unpause; ( Routine({ var id; loop({ id = s.nextNodeID; s.sendMsg("/s_new", "default", id, 0, 0, \out, b, \freq, rrand(400, 800)); 0.2.wait; s.sendMsg("/n_set", id, \gate, 0); 0.2.wait; }) } ...

  5. Mosca Quark

    ... (ossiaAutomation, "Play", Boolean, critical:true, repetition_filter:true); ossiaLoop = OSSIA_Parameter(ossiaAutomation, "Loop", Boolean, critical:true, repetition_filter:true); ossiaTransport = OSSIA_Parameter(ossiaAutomation, "Transport", ...

  6. U Doc

    ... ntrolIns audioOuts controlOuts canFreeSynth shouldPlayOn doesNotUnderstand rate loop def defName cutStart synths addSynth removeSynth makeSynth makeBundle start free stop resetSynths resetArgs argSpecs getSpec isPlaying printOn getInitArgs ...

  7. AmpComp Doc

    ... vGen.ar(window, doneAction: Done.freeSelf) ) } ).add; ) // send grains ( fork { loop { s.sendBundle(0.1, [\s_new, \pgrain, -1, 1, 1]); 0.02.wait; }; } ) // try different synth defs: // without AmpComp: ( SynthDef("pgrain", { |out = 0, susta ...

  8. extPlotTreeScale Quark

    ... .refresh; } }, '/g_queryTree.reply', addr).fix; updateFunc = { updater = fork { loop { this.sendMsg("/g_queryTree", 0, 0); interval.wait; } } }; updateFunc.value; CmdPeriod.add(updateFunc); SystemClock.sched(3, { if(done.not, { actionIfFail ...

  9. MultiProc Doc

    ... }); g=BBCut2(cutsynth,cutproc).play(clock); }); ) ( //fill every 4th bar- plain loop otherwise var sf, clock, cutsynth, cutproc, pseq; pseq=Pseq([0,0,0,1],inf).asStream; clock= ExternalClock(TempoClock(2.7725)); clock.play; Routine.run({ sf ...

  10. p_midi_cc Quark

    ... xt ++ [ \none ]); }; { var src, val = 0, cchan, nnum; UMIDIDict.start( false ); loop { src = (device.next ++ "*/" ++ port.next ++ "*").asSymbol; cchan = channel.next; nnum = cc.next; val = UMIDIDict.getEvent( src, \cc, cchan, nnum ) ? val; ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow