Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Operators Doc

    ... Musical acoustics midicps cpsmidi midiratio ratiomidi dbamp ampdb octcps cpsoct Random operators Other log log2 log10 sin cos tan asin acos atan sinh cosh tanh distort softclip isPositive isNegative isStrictlyPositive Binary Operators Arith ...

  2. ChordtrisEngine Quark

    ... wBrick { ^ChordtrisBrick.new( [\i, \j, \l, \o, \s, \t, \z].choose, this.generateRandomChord, 4, //x 0, //y 0 //orientation ); } generateRandomChord { var chord = Chord.new(12.rand, [\minor, \major].choose); chord.chordLanguage = ChordtrisPr ...

  3. ScrollView Doc

    ... ); var layout; var i = 0; var makeEntry = { var view = View().background_(Color.rand).layout_( HLayout( TextField().string_(("This is entry number " + i.asString)), Button().states_([["Delete"]]).action_({ view.remove; i = i - 1 }) ) ); i = ...

  4. ChuckExamples Quark

    ... notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, inf ) } => ArpegPat ( \up ); #{ |notes| Pseq ([notes.sort, notes+7, notes+7, notes+14, ...

  5. ChuckExamples Quark

    ... notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, inf ) } => ArpegPat ( \up ); #{ |notes| Pseq ([notes.sort, notes+7, notes+7, notes+14, ...

  6. Sieves_and_Psieve_patterns Doc

    ... into a Pdiff). Sieve.union(Pseq([1, 10], inf), 5, 7, `30) Sieve.union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As pattern ...

  7. ZArchive Doc

    ... instance methods Examples ( a = ZArchive.write("archiveTest"); a.writeItem(1.0.rand); a.writeItem([1,2,3,4,5].choose); a.writeItem("hello"); a.writeItem( Event.make({ ~a = \a; ~b = \b; }) ); a.writeItem([1,2,3,4,5]); a.writeItem( Ref(4.0) ...

  8. Weed, after P. Bourke by blueprint (blueprint) Code

    ... [{ | glob, loc | // extend list notes being played (using some randomness :) ) glob[\patternnotes] = glob[\patternnotes].add(glob[\acceptablenotes].choose.debug("add new note")); // alway ...

  9. ProxyMixer Doc

    ... tv = 19, timescale = 1, curve = 0, loopnode = 0| var env = EnvGen.kr( Env({ 1.0.rand2 }!11, { 1.0.rand }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay ...

  10. HrPresetMorph Quark

    ... argName); } init {|argParent, argCoords, argName| name = argName; color = Color.rand; caller = argParent; //menuList = ListView(argParent.compositeBack, Rect(0, 0, 100, 40)).background_(Color.gray(0.85)).visible_(false); view = UserView(arg ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow