Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (753) Code (42) Doc (239) Help (64) Quark (397) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. extStringCleaning Quark

    ... |ch, i| if (ch.isClean.not) { indices = indices.add(i) } }; ^indices } clean { |space=true| // strip all non-crossplatform ascii chars. ^if (space) // either add blankspaces { this.collect { |ch| if (ch.isClean) { ch } { $ }; } } // or not. ...

  2. SGME_GUIPanel2 Quark

    /* This file is part of SynthiGME. SynthiGME is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...

  3. handout-1-intro Quark

    ... fixed wait before the check (see start-2-panners) check: { var sp = Radicles.aZ.space.collect{|e| [e[0].asSymbol, e[1].asSymbol] }; var want = [['spaceMaster', 'bal2'], ['spaceTrack1', 'pan2'], ['spaceTrack2', 'pan2'], ['spaceBus1', 'pan2'] ...

  4. BSpline Quark

    ... ) // edited splines can be saved: b.asCompileString interpolate returns points spaced evenly along the spline in 2D space b.interpolate(512).postln.flop.plot2 due to the wslib implementation this returns 512 interpolations PER segment // u ...

  5. extStringCleaning Quark

    ... Clean.not) { count = count + 1; this.put(i, replaceChar) } }; ^count } clean { |space=true| // strip all non-crossplatform ascii chars. ^if (space) // either add blankspaces { this.collect { |ch| if (ch.isClean) { ch } { $ }; } } // or not. ...

  6. extStringCleaning Quark

    ... Clean.not) { count = count + 1; this.put(i, replaceChar) } }; ^count } clean { |space=true| // strip all non-crossplatform ascii chars. ^if (space) // either add blankspaces { this.collect { |ch| if (ch.isClean) { ch } { $ }; } } // or not. ...

  7. extString Quark

    ... 1234567890".ascii.includesAll(item.ascii); }); ^bol; } // Wrap posted code at a space once a line is longer than `line` characters. // Spaces inside "strings" and 'symbols' are never used, so the wrapped code // still means the same (a file ...

  8. GeoListener Quark

    ... er Inherits from: Object A GeoListener instance creates a Listener in a virtual space. The active sound objects sequences are filtered (see CartoonModel filter and sendDef methods) by the Listener, in order to simulate the perception of an ...

  9. MantaGUI Quark

    ... 231).if{ // alt-c selected.clear; "clear".inform }; (unicode == 160).if{ // alt-space selected.includes(navigateIdx).if({ "add".postln; selected.remove(navigateIdx); }, { "remove".postln; selected.add(navigateIdx); }); "select".inform } }; ...

  10. Piano Quark

    /* measurements from real keyboard in cm: octave distance = 16.4 white key length = 15.2 white key width = 2.2 white key spacing = (16.4 / 7) = 2.35 black key length = 9.8 black key width = 1.4 black key spacing = 2.65 ratio of lengths = 9. ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow