Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    NoteNames { // This code is taken from a post by James McCartney: classvar <semitones, <naturalNoteNames, <table, <names, <flatnames; *initClass { names = #['C','C#','D','D#','E','F','F#','G','G#','A','A#','B']; flatnames = #['C','Db','D',' ...

  2. extFunction Quark

    ... rt2; fcs = fcs.replace("}", ");}"); ^fcs.interpret; } toSynthDef {arg key=\bla, post=true; var arr, arr2, string, string2, synthDef; this.argNames.do{|item| arr = arr.add(item) }; string = arr.asString.replace("[", "").replace("]", ""); arr ...

  3. MKtlDesc Quark

    ... = groupFuncs[groupType]; if (groupFunc.isNil) { "%: no groupFunc found at %\n".postf(thisMethod, groupType.cs); ^dict }; groupFunc.value(dict); dict.put(\groupType, groupType); this.makeParents(dict); // dict.elements.do { |elemDict| // el ...

  4. SWDataNetwork Quark

    ... ing and verbosity - debug_ ( onoff ) turn debugging on for all slots. This will post all incoming data. verbose ( ) posting of messages. There are various verbosity levels. 0 is no posts, 1 posts informational/warning messages, 2 posts all ...

  5. rewriteString Quark

    ... ( var r; r = "A" ; 10.do { r = r.rewriteString([ "A" -> "B" , "B" -> "AB" ]); r.postln; r.size.postln; } ) // thue-morse L-system ( var r; r = "a" ; 6.do { r = r.rewriteString([ "a" -> "ab" , "b" -> "ba" ]); r.postln; } ) // streaming the 4 ...

  6. startup10-melodic Quark

    ... s, currentEnvironment) }; ~dumpSegments = { ~mel.mel.do({ |phr, i| "Phrase %\n".postf(i); phr.mel.do({ |seg, j| "\tSegment %\n".postf(j); seg.segs.do({ |adapt, k| "\t\tAdaptation %\n".postf(k); adapt.notes.do({ |note| "\t\t%\n".postf(note.a ...

  7. extBuffer Quark

    ... ; if(server.serverRunning.not) { "server not running - cannot load sound file.".postln; this.throw }; SoundFile.use(path, { |file| sampleRate = file.sampleRate; numFrames = file.numFrames; numChannels = file.numChannels; }); failed = numFra ...

  8. RadTest Quark

    ... -10 }); // setup: commands run first, not snapshotted. // cmds: commands whose posted code is snapshotted. An entry may be // "cmd" or ["cmd", seconds] to wait a fixed time instead of the quiet-wait. // check: function returning true, or a ...

  9. dual_ana_4 Quark

    ... m.elementsDict.do(_.action_(MFunc())); m.elementsDict.do { |el| el.action.add(\post, { |el| [el.name, el.value.round(0.0001)].postln }) }; m.elementsDict.do { |el| el.action.enable(\post) }; m.elementsDict.do { |el| el.action.disable(\post ...

  10. 0_quarks_test Quark

    var requiredQuarks, installedQuarks, missingQuarks; "".postln; if (Platform.userAppSupportDir.endsWith("SuperCollider")) { requiredQuarks = [ "JITLibExtensions", "adclib", "Influx", "Modality-toolkit", "Vowel", /////// GUI based - mayb unne ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow