Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. MIDIRecSocket-support Quark

    ... }); } dumpSeq { ("\n\nMIDIRecBuf(" ++ 34.asAscii ++ name ++ 34.asAscii ++ ")").postln; notes.do({ |n, i| i.post; " : ".post; n.postln; }) } asMIDIRecBuf { ^this } asPattern { ^Pseq(notes, 1) } asStream { ^this.asPattern.asStream } embedInS ...

  2. JITView Quark

    ... on_(newVal); dict.put(\editStr, nil); } { "JITView: could not interpret % !\n" .postf(valStr.asCompileString) }; } // basic keyDown first keyDown, like slider+numbox is now. makeKeyDownActions { uv.keyDownAction = MFunc.new; // put this in ...

  3. PIdev Quark

    ... (0).not; ( "no repetitions within a span of " ++ (i+2).asString ++ " items: " ).post; result.postln; } } ) // test case // no repetitions within a maximum span of 6 (lookBack == 5) ( p = PIdev ( Pbrown (0, 20, 0.3).round.asInteger, 5, -7, 7 ...

  4. JITView Quark

    ... on_(newVal); dict.put(\editStr, nil); } { "JITView: could not interpret % !\n" .postf(valStr.asCompileString) }; } // basic keyDown first keyDown, like slider+numbox is now. makeKeyDownActions { uv.keyDownAction = MFunc.new; // put this in ...

  5. cymbals Quark

    ... ffset=300,decay=0.001,excite=0.1; creates random frequency and ring time arrays posts those if you like what you hear you can use those for writing other instr var env; var z, f1, f2,p; env=Env.perc(0.0,0.05 ); p=rrand(8,30); f1 = 500 + 200 ...

  6. HIDMap Quark

    ... nc = ("{|val| (\"" ++ ndef.cs ++ ".set(" ++ key.cs ++ ", \" ++ val ++ \")\").radpostcont.interpret; }").interpret; }, { inFunc = action; }); hidMap = this.getFunc(inFunc, type, spec, extraArgs, func); hidNodes = hidNodes.add([hidMap[0], nde ...

  7. VGSynth Quark

    ... bal.read; "\n\n*** VGSynth found written synthdefs and reads them from %.\n\n" .postf(SynthDef.synthDefDir); doneFunc.value; loaded = true; ^this; }; "\n\n*** VGSynth: creating synthdefs...".postln; Task { 0.02.wait; // VGSynth.synthDefs = ...

  8. BufferSystem Quark

    ... get getFile getFromPath getGlobVar getGlobVarArr getPath globVarArray pathToTag postWin read readAll readDir readSubDirs setDefaultPath tags Instance methods Inherited instance methods Examples Description A System for Buffer allocation and ...

  9. KDTree Quark

    ... a grid 11.do({ |y| 11.do({ |x| format( "%\t" , ~tree.nearest([x, y])[0].label).post; }); "" .postln; }); "" // To find the nearest point to a point that's already in the tree (excluding self), call nearestToNode on the node in question: // ...

  10. KDTree Quark

    ... a grid 11.do({ |y| 11.do({ |x| format( "%\t" , ~tree.nearest([x, y])[0].label).post; }); "" .postln; }); "" // To find the nearest point to a point that's already in the tree (excluding self), call nearestToNode on the node in question: // ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow