Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (83) Code (7) Doc (30) Help (12) Quark (34) SCDoc ↗ Forum ↗ Google ↗
  1. TestPatternProxy Quark

    ... |what, which| this.assert(what, "testing '%' failed.".format(which), false) }; Pdefn.clear; Pdefn(\x, Pseq([1, 2, 3])); assert.(Pdefn(\x).asStream.nextN(4) == [1, 2, 3, nil], 1.1); assert.(Pdefn(\x).asStream.nextN(4) == [1, 2, 3, nil], 1.2 ...

  2. ShannonMindReadingMachine-test Quark

    ... 8)); a = Pmindread(Pseq([1, 0, 1, 1, 0, 1], inf)); x = a.asStream; x.nextN(6); Pdefn(\mind, Pseq([1, 0, 1, 1, 0, 1], inf)); ( Pdef(\x, Pbind( \amp, Pmindread(Pdefn(\mind)) * 0.1, \note, -1, \dur, 0.2 ) ).play ) ( Pdef(\y, Pbind( \amp, Pmin ...

  3. ChordtrisSoundModule Quark

    ... ttern definitions for the first voice ***** // part 1 var cond6b = Pif( Pfunc { Pdefn(\scale).source == Scale.harmonicMinor }, 6b, 6); var notes_voice1_part1 = Ppatlace([4, 1, 2, 3, 2, 1, 0, 0, 2, 4, 3, 2, 1, 2, 3, 4, 2, 0, 0, \p, 3, 5, 7, ...

  4. AllGui Quark

    ... nment some classvars that keep all instances of that class: Pdef.all, Tdef.all, Pdefn.all, ProxySpace.all, Ndef.all, and potentially others, such as MKtl. AllGui shows an overview of these: the number global vars in use (a-z); the number of ...

  5. sStream Quark

    ... linlin(0, 1, -63.5, 63.5); var lvVal= val.linlin(0, 1, lvLo, lvHi); var lb, ab; Pdefn(\sStream_note, lvVal); if(lvPitchBendOnElement.value>0, { lb= val-0.5*lvPitchBendElement.value*(lvPitchBendSpec.maxval/2400)+0.5; if(lvVst.info.notNil and ...

  6. PdefnGui Quark

    PdefnGui : JITGui { *observedClass { ^Pdefn } accepts { |obj| ^obj.isNil or: { obj.isKindOf(this.class.observedClass) } } getState { // get all the state I need to know of the object I am watching ^(object: object, source: try { object.sour ...

  7. ContextSnake_Palestrina Quark

    ... c.p37]; ) // Examples of use: // play all palestrina melodies in random order ( Pdefn(\mel, Plazy({ Pseq(c.pAll.choose) })); Pdef(\pale, Pbind( \amp, 0.2, \octave, 4, [\note, \dur], Pn(Pseq([ [\a, 0], Pdefn(\mel), [\o, 4]], inf)).trace, \te ...

  8. OSCMapper Quark

    ... k; var <lag; // private stuff var <name; var address; var <ndef; var <bus; var <pdefn; var <value; var prCallbacks; *new { |altName, defaultValue=0.0, transformer, callback, lag=0.2| ^super.newCopyArgs( altName, defaultValue, transformer, c ...

  9. MiniIDEJIT Quark

    ... _("PDEF"), PdefAllGui(17).parent.view, StaticText().fixedSize_(512@12).string_("PDEFN"), PdefnAllGui(15).parent.view ), VLayout( StaticText().fixedSize_(512@12).string_("TDEF"), TdefAllGui(35).parent.bounds_(512@70).view ) ); } }

  10. README Quark

    ... via `.value` or via a callback to controll e.g. effects * within a Pattern via `Pdefn` ## Installation ```supercollider // install the quark Quarks.install("https://github.com/capital-G/OSCMapper.git"); // restart the interpreter so the new ...

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow