Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (496) Code (67) Doc (105) Help (40) Quark (281) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. EuroCollider Quark

    ... get range of our tuning lowestFreq = tFreqs.sort[0]; highestFreq = tFreqs.sort.reverse[0]; // search for closest indices fDistances = tFreqs - freq; closestIs = (0..fDistances.size-1).sort({|a, b| fDistances.abs[a]<fDistances.abs[b]; }); / ...

  2. JSONlib Quark

    ... rom // the post window error prone { v.isString } { v .replace("\\", "\\\\") // reverse solidus .replace("/", "\\/") // solidus .replace($", "\\\"") // quoatition mark .replace(0x08.asAscii, "\\b") // backspace .replace(0x0c.asAscii, "\\f") ...

  3. pathUtilities Quark

    + PathName { *documentDir { ^Crucial.documentDir } *standardizeDocumentPath { | p | /** * expand path relative to the documentDir */ var pathName, path; pathName = PathName(p.standardizePath); if(pathName.isRelativePath) { path = this.docum ...

  4. Fb1_ODEdef Quark

    ... (depth - 1, init_intType, t0, z0, dt, args, withTime, true) }; // the result is reversed (last values first) and flopped // in order to be prepared as Fb1 outInit arg ^z0.reverse.flop } getIntSize { |intType| ^size * Fb1_ODEintdef.at(intTyp ...

  5. WFSEditViews Quark

    ... { rest = (..selection[0]); } { rest = (selection.last..object.positions.size-1).reverse; }; rest = rest[..rest.size-2]; restSize = rest.size; rest.do({ |index, i| var pt, factor; pt = object.positions[ index ]; if( pt.notNil ) { factor = (i ...

  6. startup20-basicChordBits Quark

    ... tes+14].flat, 1) } => ArpegPat(\bubbleup); #{ |notes| Pseq([(notes = notes.sort.reverse) + 14, notes+7, notes].flat, 1) } => ArpegPat(\bubbledown); #{ |notes| Pseq(notes.sort, 1) } => ArpegPat(\up1); #{ |notes| Pseq(notes.sort({ |a, b| a > ...

  7. UScoreEditorGUI_TranportBar Quark

    ... rcTo( corners[2], corners[3], radius ) .lineTo( corners[3] ); corners = corners.reverse * [0.5@0.75]; radius = radius / 2; }); Pen.fill; }); } ).put( \unlock, { |rect| var size = rect.width.min( rect.height ) * 0.8; var radius = size/6; var ...

  8. VGSound Quark

    ... et, ids, \gate, 0].flop ++[['/error', -2]] ) } } { if (strum < 0) { bndl = bndl.reverse }; strumTime = 0; bndl.do { | msg, i | ~schedStrummedNote.value( lag, strumTime, sustain, server, msg, sendGate); strumTime = strumTime + strum; } } } } ...

  9. feedbackPad2 Quark

    ... lip is 1, the polarity of the feedback is flipped, meaning this relationship is reversed. It doesn't usually seem to cause a huge difference in the final sound. Finally, thresh is the threshold of the Schmitt trigger that squares off the fe ...

  10. Latency Quark

    ... ocess, then set one of its controls to some value; if the order is accidentally reversed, trying to set e.g. frequency on a node which does not exist yet - which will complain (server - Node not found), and then start that node playing at t ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow