Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. MIDISockets Quark

    ... // set up stream to read array or return one value then nil....... noteStream = Pseq(notes ? [(thisNote ? 59) + 1], 1).asStream; a.at(0).processes.do({ arg p, i; thisNote = noteStream.next ?? { thisNote + 1 }; // get next from array or +1 r ...

  2. MIDISockets Quark

    ... // set up stream to read array or return one value then nil....... noteStream = Pseq(notes ? [(thisNote ? 59) + 1], 1).asStream; a.at(0).processes.do({ arg p, i; thisNote = noteStream.next ?? { thisNote + 1 }; // get next from array or +1 r ...

  3. ChuckExamples Quark

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

  4. ChuckExamples Quark

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

  5. extFunction Quark

    ... art1 = cs.copyRange(0, cs.find("Pbind")-1); argNames = this.argNames; patType = Pseq; argNames.do{|item| var string; string = ("Pdefn('" ++ argNames[0] ++ "_" ++ item ++ "', " ++ patType.asString ++ "(" ++ item ++ ", inf))").asString; part2 ...

  6. SWDataPattern Quark

    ... use can be sequenced with another pattern. p = Pbind ( \degree , ( PdataSlot ( Pseq ( (14..17), inf ), 1, x, inf )*12 ).round(1), \dur , 0.25 ).play; p.stop; // Using the slot ID's. Also showing that the slot ID's can be arrayed to produce ...

  7. startup02-melodicStorage Quark

    ... le must act on grace notes before the notes are embedded in the stream // thus, PseqFunc // change in ~useRh will take effect only at segment boundaries ~asNotePattern = #{ |passInValue| var dur, length, rhy, out; out = (passInValue[\useRh] ...

  8. startup02-melodicStorage Quark

    ... le must act on grace notes before the notes are embedded in the stream // thus, PseqFunc // change in ~useRh will take effect only at segment boundaries ~asNotePattern = #{ |passInValue| var dur, length, rhy, out; out = (passInValue[\useRh] ...

  9. PLswitch1 Quark

    ... // update array ~a = [59, 85]; // update index pattern, used to stop also ~w = Pseq ([0, 0, 1], 5); ////////////////////// // placeholder may also get lists of event patterns ( p = PLswitch1 ( \a , \w ); ~a = [ Pbind ( \midinote , Pwhite ( ...

  10. ddwPatterns Quark

    ... ).notNil.if({ pos = pos + stepp }, { ^inval }); }, { ^inval }); }); ^inval; } } PseqFunc : Pseq { // executes a function on the list item before embedding in stream // if func is nil, the item is used as is var <func; *new { |list, repeats ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow