Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. PG_06a_Repetition_Contraint_Patterns Doc

    ... play. It can just return an infinite pattern, and another part of the code can wrap it in one of these to stop it based on the appropriate condition. Pfin(count, pattern) Returns exactly count values from the source pattern, then stops. ( ...

  2. rand-n-step+ by vividsnow (vividsnow) Code

    ... ds.width - 10 / 7 * 5 + 5, 5, w.bounds.width - 10 / 7, 20)).states_([['fold'],['wrap']]).action_({ |b| b.value.booleanValue.if({ border = -1 }, { border = 1 }); }).mouseOverAction_({ status.string = 'behavior on the grid border' }); Sli ...

  3. Interpl Quark

    ... .do({arg p; p.postln }); this.dump; } @ {arg x; ^this.at(x)} at { arg x; /* at, wrapAt, clipAt, foldAt Index the Interpl with a discreet number a = Interpl.new( [0,40,5], [5,72,\welch], [10,80,-5], [20,0] ); a.clipAt(50).postln; a.at( 3 ).p ...

  4. ZeroXBufRd Quark

    ... nsion demand rate " ++ "ugens, that are needed more than once, have to be " ++ "wrapped into Functions, see help file" ).class_(this).throw }; } *dUniquifyIfNecessary { |item, dUniqueBufSize| ^case { item.isKindOf(DUGen) }{ Dunique(item, dU ...

  5. PS Quark

    ... the PS, you'd have to generate a new PS, e.g. by reevaluating its definition or wrapping it into a Function. p = PS ( Pseries (), 5); // evaluate more than once p.asStream.all; // compare q = { PS ( Pseries (), 5) }; // evaluate more than o ...

  6. preprocessor-generators Quark

    ... erprep = ~localPrep; ~localPrep = { ~superprep.(); ~pool = ~args[0]; // 'super' wrapped this in an array if(Pdefn.all[~pool].isNil) { Error("'%': gdefn can't find Pdefn key '%'".format(~bpKey, ~args[0])).throw; }; currentEnvironment }; // T ...

  7. Stream Help

    ... n; 0.1.wait; } }).play(quant:[1, 0.4]); ) Streams that return Events need to be wrapped in an EventStreamPlayer . The Event's delta (can also be set by dur ) is used as a scheduling beats value: // play at the next beat, with offset 0.4 ( R ...

  8. Fb1 Quark

    ... quark. Also consider that short iteration cycles can produce loud high pitches, wrapping lopass filters is useful! NOTE: The convenience of direct definition of the feedback / feedforward relation comes with the price of a large number of U ...

  9. MoscaHeadtracker Quark

    ... on is enabled if (switch.v) { h = (heading / 100); h = h + headingOffset; h = h.wrap(0, 2pi) - pi; r = (roll / 100) - pi; p = (pitch / 100) - pi; moscaCenter.ossiaOrient.v_([h.neg, p.neg, r]); }; } procLev { | lev | masterLevel.v = (lev + 1 ...

  10. GridLayout Doc

    ... for an empty cell. Discussion: You can make an item span more than one cell by wrapping it into an Array, followed by pairs of (\rows, number) and/or (\columns, number). You can also assign an alignment to an item by following it with a pa ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow