Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1945) Code (106) Doc (600) Help (225) Quark (1013) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Pong by dilots (dilots) Code

    ... de, keycode, key; if(k.includes(key).not,{ k.add(key); // add keystroke to list of keys being held switch(key, 65, {paddleMovements[0] = paddleSpeed*(-1)}, // left player 0 68, {paddleMovements[0] = paddleSpeed}, // right ...

  2. JSON Quark

    ... ymbol, { ^JSON.stringify(obj.asString) }); if(obj.isKindOf(Dictionary), { out = List.new; obj.keysValuesDo({ arg key, value; out.add( key.asString.asCompileString ++ ":" + JSON.stringify(value) ); }); ^("{" ++ (out.join(", ")) ++ "}"); }); ...

  3. 09-Getting-Help Doc

    ... have gotten a window with a brief description of the class and what it does, a list of some methods, and a description of their arguments. (Remember that 'mul' and 'add' are usually not explained.) Beneath that are some examples of the cla ...

  4. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    One of the common questions on the list is about handling very large sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 k ...

  5. Piano Gestures: A Little Study by mimetikmusic (mimetikmusic) Code

    ... e little improvised phrasings. */ MIDIClient.init; /* Choose from the list of devices your internal MIDI router, so to send the notes to piano intrument in your favourite DAW */ ~mOut = MIDIOut.new(3); //Set the scale to be ...

  6. EventList Doc

    SuperCollider CLASSES (extension) Undocumented classes EventList (Undocumented class) Source: /home/egor/.local/share/SuperCollider/downloaded-quarks/KtlLoop/Classes/ EventList.sc Inherits from: List : SequenceableCollection : Collection : ...

  7. README Quark

    ... string representation of an IP address, match it against a CIDR range or range list, determine if it falls into some reserved ranges (examples include loopback and private ranges), and convert between IPv4 and IPv4-mapped IPv6 addresses. [ ...

  8. XiiStratoSampler Quark

    ... 0; startingPlayFlag = false; comingFromFieldFlag = false; writtenBufferNames = List.new; runningFlag = false; buffer = Buffer.alloc(s, s.sampleRate * bufferSecs, 1); win = GUI.window.new("- stratosampler -", Rect(point.x, point.y, 820, 240 ...

  9. QuarkEditor Quark

    ... bject); classes.do { |class| fileClassMap.atFail(class.filenameSymbol, { var newList = List(); fileClassMap[class.filenameSymbol] = newList; newList; }).add(class); class.methods.do { |method| fileMethodMap.atFail(method.filenameSymbol, { v ...

  10. ddwFilterPatterns Quark

    ... val }{ elapsed = nextElapsed; inval = delta.yield; }; }); } } // Pswitch embeds list items in the stream; Pswitch1 embeds stream values singly // Pwhile embeds its pattern in the stream; Pwhile1 embeds stream values singly Pwhile1 : Pwhile ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow