Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (714) Code (40) Doc (222) Help (57) Quark (395) SCDoc ↗ Forum ↗ Google ↗
  1. clockSync Quark

    // might still need fixing. \ \ \ (\ // sync your computers by ending a clock around. \ // this should be done without anything running, as it replaces the TempoClock.default \ // but it can be done any time. \ \ // rohrhuber 2005 \ \ var q ...

  2. TempoClockPriority Quark

    ( a = TempoClock.default; a.algaTempoClockSchedAtQuant(1, {"me first".postln; a.seconds.postln;}); a.algaSchedAtQuantOnceWithTopPriority(1, {"no, me first".postln; a.seconds.postln;}); a.algaSchedAtQuantOnceWithTopPriority(1, {"nono, me fir ...

  3. MBM Quark

    ... . You must initialize the MIDIBufManager explicitly before use: MIDIBufManager (clock, chan, ccnum) => MBM .prNew(0); MIDI data are held in MIDIRecBuf objects. To store it in the buffer manager, just chuck it. aMIDIRecBuf => MBM (0); Short ...

  4. MBM Quark

    ... . You must initialize the MIDIBufManager explicitly before use: MIDIBufManager (clock, chan, ccnum) => MBM .prNew(0); MIDI data are held in MIDIRecBuf objects. To store it in the buffer manager, just chuck it. aMIDIRecBuf => MBM (0); Short ...

  5. preprocessor Quark

    ... d.quantNode.quant; }; if(bpb.isNil) { if(BP.exists(objKey)) { bpb = (BP(objKey).clock ?? { TempoClock.default }).beatsPerBar; } { bpb = 4; // lame default }; }; if(parsed.patStringNode.isKindOf(ClPatStringNode)) { // wrap the clPatString in ...

  6. CTK Quark

    ... Notes); }) } // create the OSCscore, load buffers, play score play {arg server, clock, quant = 0.0, startPoint = 0.0, endPoint = -1.0; server = server ?? {Server.default}; endtime = endtime + 0.2; server.boot; server.waitForBoot({ score = S ...

  7. XMLNote Quark

    ... ); // create a B-flat major scale in quarter notes // uses XMLVoice's internal 'clock' to keep track of beats [58, 60, 62, 63, 65, 67, 69, 70].do({ arg keynum; y.add( XMLNote (keynum, y.now, \q )) }); // output the XMLScore z.output( "~/Des ...

  8. JInT_PocketControl Quark

    ... // get information on device k.info p = p ? ProxySpace .push(s.boot) p.makeTempoClock var spec = [1, 4].asSpec; k[\c16].action = {|jint| p.clock.tempo = spec.map(jint.value(0)); } ~y = {Impulse.ar(~tempo)} ~y.play ~y.clear ~y.fadeTime = 10 ...

  9. RedTrk2 Quark

    ... de in/out. (default= 0.02 seconds) //-- ( s.waitForBoot{ RedMst .clear; RedMst .clock= TempoClock (120/60); RedMst .quant= 2; //relatively short quant RedTrk2 ( \t1 , Pbind ( \degree , 0, \dur , 8), [0]); //create a track with long duration ...

  10. handout-4-martin Quark

    ... cmds: [["tsr @1 1", 1], "lt 1"] ); ~radTest.("beat-synced", setup: ["start 2", "clock", "bpm 120", "@ 2"], cmds: [["(1 ^ sr @1 1)", 3]] );

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow