Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (716) Code (83) Doc (239) Help (94) Quark (285) Plugin (15) SCDoc ↗ Forum ↗ Google ↗
  1. CombFormlet Quark

    // wslib 2007 // experimenting with phase cancellation CombFormlet : Filter { *ar { arg in = 0.0, freq = 440.0, attacktime = 1.0, decaytime = 1.0, mul = 1.0, add = 0.0, minFreq = 20; ^MulAdd( CombC.ar( in, 1/minFreq, 1/freq, decaytime ) - C ...

  2. TimeSpecsExt Quark

    ... ec { ^NilTimeSpec.new } } +Quant { asTimeSpec { ^BasicTimeSpec(this.quant, this.phase, this.offset) } }

  3. TimeSpecsExt Quark

    ... ec { ^NilTimeSpec.new } } +Quant { asTimeSpec { ^BasicTimeSpec(this.quant, this.phase, this.offset) } }

  4. TestCoreUGens Quark

    ... apRd " -> { var sig = Impulse.ar(4); var buf = LocalBuf(SampleRate.ir * 1); var phase = DelTapWr.ar(buf, sig); var delayed = DelTapRd.ar(buf, phase, 0.25); (sig - delayed) * EnvGen.kr(Env.new([0, 0, 1], [0.3, 0])) }, "DelTapRd (audio rate d ...

  5. Core_04 Quark

    ... }; result } }; SynthDef(\atsTrackVoiceV541, { |out = 0, freq = 440, amp = 0.12, phase = 0, gate = 1, solo = 1, master = 0.35, noiseMix = -1.0| var sine, noise, sig, env, f, a, ph; f = freq.lag(0.012).clip(20, 20000); a = amp.lag(0.020).clip ...

  6. extCollection-unwrap Quark

    // wslib 2010 // unwrapping a wrapped array // useful for detecting phase slope etc. + SequenceableCollection { /* example (proof of concept): ((..100) * 0.125).wrap2(1).unwrap2(1).plot; */ unwrap2 { |aNumber = 1| ^this.unwrap( aNumber.neg, ...

  7. ListeningClocks Quark

    ... z, Alberto de Campo, and Julian Rohrhuber. It provides clocks that change their phase and tempo according to a network of other clocks. SoftClock ListeningClock TelepathicClock References: Rainer Schütz and Julian Rohrhuber. Listening to Th ...

  8. ATSWriter Quark

    ... SWriter.sc // Writes an Z354Sound to a binary .ats file (ATS Type 2: amp, freq, phase). // LITTLE-ENDIAN doubles (ATS standard: ATSA / Csound / reference cello-f2a.ats). // Header: 10 doubles, then per frame: time + (amp,freq,pha)*nPartials ...

  9. SlaveTempoClock Quark

    ... * tempo); } /** See TempoClock for more info */ nextTimeOnGrid { arg quant = 1, phase = 0; var offset; if (quant < 0) { quant = beatsPerBar * quant.neg }; offset = baseBarBeat + phase; ^roundUp(this.beats - offset, quant) + offset; } /** Se ...

  10. Core_02 Quark

    ... maxFreq = 12000.0| var audio, sig, sr, frames, winSize, frameDur, freqs, amps, phases, maxMag, bandEnergy, tracks, lastFreqs, lastAmps, lastPhases, deathFrames, stableIds, nextStableId, birthFrames, ageFrames, birthEvents, deathEvents, res ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow