Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (714) Code (40) Doc (222) Help (57) Quark (395) SCDoc ↗ Forum ↗ Google ↗
  1. Chord progressions in just intonation by bramtayl (bramtayl) Code

    ... e(full_chord) ); [side, side]; }; ~sound = 0; ~play = { arg clock, time, bass, chord; clock.sched(time, {~sound.free; ~sound = {~noise.value(bass, chord)}.play}); }; ~kill = { arg clock, time; clock.sche ...

  2. Command-line SC utility for MIDI clock out by 0-cM (jamshark70) Code

    When sending MIDI clock out at a fast tempo, there may be fewer than 10 ms between clock ticks. If you're sending the clock messages from the same sclang that is sequencing musical events, any unexpectedly long-running sclang activity could ...

  3. Gradually change TempoClock tempo [ accelerando / decelerando ] by tom-dugovic (Tom Dugovic) Code

    This gradually changes the tempo of a TempoClock, each beat of a specified number of beats, and starting at the next bar. Personally, I was not able to heavily distinguish between `.linlin` and `.linexp` for reasonable musical tempos. ...

  4. beats to bar printing by vtz (vtz) Code

    ... 8, 16, 32, etc bar. ( f = (); f.beatAndBar = { var t = currentEnvironment.clock; // t= TempoClock.new; var text = "xB: "; var nBeatsPerBar = { arg n, beats, clock; var nBpb = clock.beatsPerBar * n; "" ++ n ++ text ++ (nBp ...

  5. beat grid by vividsnow (vividsnow) Code

    prototype of simple metre beat grid running on server w/ synced TempoBusClock ( // beat grid object prototype ~g = { var l = 6, // base pulse: 2**l, so max tempo (on 48khz) is around 48000/64/(2**6) = 11.7 state_bus = Bus.control(numCha ...

  6. raw bass by vividsnow (vividsnow) Code

    ... Ppar([ Pbind(*[ instrument: \kick, delta: 1, dur: Pfunc({ thisThread.clock.beatDur }) / 4, amp: Pseq([ Pseq([1], 16), Pseq([0.8, 1], 8), Pseq([1], 16), Pseq([0.8, 0.8, 0.9, 1], 8) ], inf) * 0.8, freq_l: ...

  7. Amasiko by qqqswitch (qqqswitch) Code

    ... SynthDef(\moap, { // YES everything runs at audio rate. Works with hardware clocks but please don't send 5v into your microphone input, find some way to attenuate it or just use another computer AUX OUT --> MIC IN // hence why I used ...

  8. 303 emulation by chriskiefer (chriskiefer) Code

    ... { |rate=1, bpm=135, barLengthInBeats=4, resetLength=1| var reso = 96; var clockFreqFull = bpm / 60 / barLengthInBeats * rate; var clockFreq = clockFreqFull / resetLength; var impSubDivs = Impulse.ar(clockFreqFull * barLengthInBeat ...

  9. Event type for conTimbre ePlayer by shouhei (xffff) Code

    ... y == 0.0) { oscout.sendBundle(latency, message) } { thisThread.clock.sched(latency, { oscout.sendBundle(latency, message) }) } }); // automatically deal with noteoff messages for each note-type ...

  10. Simple pattern-based beat slicer by davidmorgan (david_morgan) Code

    ... interface ~slcr = {arg buf, beats = 8, beatDiv = 2, sliceProducer, amp = 0.1, clock = TempoClock.default; // buffer info var numFrames = buf.numFrames; var sampleRate = buf.sampleRate; // length in seconds of sample var len ...

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow