Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (674) Code (68) Doc (212) Help (62) Quark (332) SCDoc ↗ Forum ↗ Google ↗
  1. GUI-Introduction Doc

    ... palettes. Note however, that the color assigned to the first Button state will beat the red color defined in the palette, and that colors of individual ListView items are not controlled by the palette. ( x = QPalette.auto(Color.red(0.8), C ...

  2. News-3_14 Doc

    ... @elgiano in https://github.com/supercollider/supercollider/pull/6773 LinkClock beats/secs conversion traps 'inf' by @jamshark70 in https://github.com/supercollider/supercollider/pull/6356 Fix SequenceableCollection -unixCmd on Windows by @ ...

  3. SFPlayer Quark

    ... ed(\amp, amp, source); } curTime { var time; if(isPlaying, { try { time = clock.beats; } }); time = time ?? startTime; //if getting from the clock failed, revert to startTime ^time; } startTime_ {arg newStartTime; newStartTime !? {startTime ...

  4. Judges by Michael Noonan by bruno (Bruno Ruviaro) Code

    ... { arg freq = 440, amp = 0.2, pan = 0, att = 0.01, rel = 0.1, gate = 1, spacing, beatFactor = 1; var snd1, snd2, snd, env1, env2, beatings; // variables snd, env env1 = Env.adsr( attackTime: att, decayTime: 0.2, sustainLe ...

  5. Env Doc

    ... Embeds this Env within an enclosing Stream . Timing is derived from thisThread.beats . . asStream Creates a Routine and embeds the Env in it. This allows the Env to function as a Stream . Discussion: ( { e = Env.sine.asStream; 5.do({ e.nex ...

  6. JITLibChanges3.7 Doc

    ... f(\y, Ndef(\x)); ( c = Ndef(\x).clock ? TempoClock.default; c.sched(c.timeToNextBeat(4, 0.1), { Ndef(\x, { DC.ar([0, 0, 0]) }); (Ndef(\y).bus != b).postln; (b.index != nil).postln; }); fork { 1.wait; c.sched(c.timeToNextBeat(4), { c.sched(N ...

  7. CTK Quark

    ... rn }); } tempo_ {arg newTempo; tempo = newTempo; rtempo = newTempo.reciprocal } beats { ^this.curtime; } free { isPlaying.if({ clock.stop; isPlaying = false; }) } now { isPlaying.if({ ^clock.elapsedBeats; }, { ^curtime - starttime; }) } wai ...

  8. SequenceableCollection Doc

    ... son's rhythm list RTM-notation. 1 The method converts a collection of the form [beat-count, [rtm-list], repeats] to a List of Float s. A negative integer within the rtm-list equates to a value tied over to the duration following. The method ...

  9. preprocessor-generators Quark

    ... only the first time the phrase is invoked in a new BP: // if nothing on the downbeat, S&H the first real item ~repository[~parm] = ~items.first; } { ~repository[~parm] = ~items.last; }; }; ~items }; ~process = { ~items = ~getUpstreamItems.( ...

  10. AlgaPattern Quark

    ... onTime(\delta); }); time = time ? paramConnectionTime; //Time in AlgaPseg is in beats: it needs to be scaled to seconds time = if(tempoScaling.not, { time * this.clock.tempo }); //If time is still 0, go back to setAtSched so it is picked up ...

prev 61 62 63 64 65 66 67 68 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow