-
// 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 ...
-
... ec { ^NilTimeSpec.new } } +Quant { asTimeSpec { ^BasicTimeSpec(this.quant, this.phase, this.offset) } }
-
... ec { ^NilTimeSpec.new } } +Quant { asTimeSpec { ^BasicTimeSpec(this.quant, this.phase, this.offset) } }
-
... 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 ...
-
... }; 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 ...
-
// 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, ...
-
... 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 ...
-
... 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 ...
-
... * 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 ...
-
... 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 ...