Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. PL Quark

    ... cutItems) } storeArgs { ^[list, repeats, cutItems, envir] } } // "stream-save" Pn PL_Pn : PL_Pattern { var <>item, <>repeats; *new { |item, repeats = inf, envir = \current| ^super.newCopyArgs(envir, item, repeats) } embedInStream { |inval| ...

  2. PLgeom Quark

    ... definition for future reference in arbitrary Environments ( p = Pbind ( \freq , Pn ( PLgeom ( \start , \grow , 50)) % 2000 + 400, \dur , 0.1 ); ) // prepare current Environment ( ~start = 100; ~grow = 1.1; ) // from ascending to random x = ...

  3. PopUpTreeMenu Quark

    ... s" ]); buildTreeFunc= { |path| var deepPathMatch, syms, tree; deepPathMatch= { |pn| var arr= []; pn.pathMatch.do{ |x| if(x.last.isPathSeparator, { arr= arr++deepPathMatch.value( PathName (x++ "*" )); }, { arr= arr++ PathName (x); }) }; arr ...

  4. PLx suite Quark

    ... how dynamic scope placeholding of a ListPattern // could be done with Plazy, // Pn defaults to repeats = inf. ( p = Pn ( Plazy { Pseq (~a, 1) }); ~a = (60..70); x = Pbind ( \midinote , p, \dur , 0.2 ).play; ) // First drawback: replacing of ...

  5. OssiaNode Quark

    ... instantiateNode(path) } prFreeNode { device.freeNode(path) } prHandleParent { | pn | if (pn.isNil) { if (OSSIA_Device.g_devices == []) { Error("No parent_node or OSSIA_Device found").throw; } { // if no parent is provided, set it as the fir ...

  6. ChuckProcesses Quark

    ... .global.read; // other initialization may take place here too Pbind ( \degree , Pn ( Plazy ({ Pseq ((0..7).scramble, 1) }), inf ), \delta , 0.125, \sustain , 0.16, \instrument , \default ); }; }) => PR ( \simplePbind ); Event .default => PR ...

  7. ChuckProcesses Quark

    ... .global.read; // other initialization may take place here too Pbind ( \degree , Pn ( Plazy ({ Pseq ((0..7).scramble, 1) }), inf ), \delta , 0.125, \sustain , 0.16, \instrument , \default ); }; }) => PR ( \simplePbind ); Event .default => PR ...

  8. Pdelta Quark

    ... e points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.trace).asStream; q.nextN(6); 0. ...

  9. Pdelta Quark

    ... e points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.trace).asStream; q.nextN(6); 0. ...

  10. FoaMatrix Quark

    ... alt }) } initFromFile { |filePathOrName, mtxType, searchExtensions = false| var pn, dict; // first try with path name only pn = Atk.resolveMtxPath(filePathOrName); pn ?? { // partial path reqires set to resolve pn = Atk.resolveMtxPath(fileP ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow