Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... iables Routine inherits from Thread , which allows access to some of its state: beats return the elapsed beats (logical time) of the routine. The beats do not proceed when the routine is not playing. seconds return the elapsed seconds (logi ...

  2. EventPatternProxy Help

    ... ault source, if none is given. the default is a Pbind with resting notes of 1.0 beat duration source_(obj) set the source (a pattern). If a quantization is given, schedule this change to the next beat ( pattern_ (..) is equivalent) clear se ...

  3. Scheduler Help

    ... tln; nil }); a.advance(0.5); a.advance(0.5); a.advance(2); a.advance(2); // the beats, seconds and clock are passed into the task function: a.sched(1, { arg beats, secs, clock; [beats, secs, clock].postln }); a.advance(1); // the scheduling ...

  4. TaskProxy Help

    ... n the old stream ended and a new stream is set and schedules the changes to the beat. related: Tdef *new(source) create a new instance with a function (the source). the source should be a routine function (see Tdef ) or a pattern of time va ...

  5. BeatTrack2 Help

    BeatTrack2 template matching beat tracker #beattick, eighthtick, groovetick, tempo, phase, groove = BeatTrack2.kr(busindex, numfeatures, windowsize=2, phaseaccuracy=0.02, lock=0, weightingscheme) busindex [sk]- Audio input to track, already ...

  6. multiplication Help

    ... tor a * b // Same as mul: 0.5 { SinOsc .ar(440) * 0.5 }.play; // This creates a beating effect (subaudio rate). { FSinOsc .kr(10) * PinkNoise .ar(0.5) }.play; // This is ring modulation. { SinOsc .ar(XLine.kr(100, 1001, 10), 0, 0.5) * SyncS ...

  7. Stream Help

    ... clock : a Clock, TempoClock by default quant : either a number n (quantize to n beats) or an array [n, m] (quantize to n beats, with offset m ) // play at the next beat, with offset 0.4 ( Routine ({ loop { "***" .postln; 0.5.wait; "_*_" .po ...

  8. OSCBundle Help

    ... like send, but the sending is synced to a given clock (TempoClock) to the next beat. quant can be a pair of values: [quant, offset] // example // create a new, empty instance a = OSCBundle .new; // a synthdef that needs to be sent to the s ...

  9. Tdef Help

    ... n the old stream ended and a new stream is set and schedules the changes to the beat. One Tdef may be used in many tasks in different places. A change in the task definition Tdef propagates through all tasks. Tdef(key) returns the instance ...

  10. SampleRate Help

    ... ple rate (44100 * 0.01, left) // with a 440 Hz tone (right), resultin in a 1 Hz beating ( { var freq; freq = [ SampleRate .ir(0) * 0.01, 440]; SinOsc .ar(freq, 0, 0.1) }.play; ) // play a pulse chord at power of two divisions of sample rate ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow