-
... ///////// Here, a control rate SinOsc modulates the frequency of the audio rate Pulse wave. ( SynthDef ( "anExample" , { Out .ar( 0, Pulse .ar( [220, 221.5] + SinOsc .kr([7, 8], 0, 7), // the control rate conserves CPU cycles 0.35, 0.02 ) ) ...
-
... nced 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(numChannels:2), // base beat and beat counter rate_bus = { var b ...
-
... FFT buffer. numTeeth Number of teeth in the comb. phase Starting phase of comb pulse. width Pulse width of the comb. Inherited class methods Instance Methods Inherited instance methods Examples ( { var sig, chain; sig = WhiteNoise.ar(0.2); ...
-
... this.prCommand($0); } test1AmpSlow { //Connect to test signal 1xAmplitude, slow pulse this.prCommand($-); } test1AmpFast { //Connect to test signal 1xAmplitude, fast pulse this.prCommand($=); } testDC { //Connect to DC signal this.prCommand ...
-
This code does tb303 emulation, with analogue style sequencing. ( SynthDef(\impulseSync, { |rate=1, bpm=135, barLengthInBeats=4, resetLength=1| var reso = 96; var clockFreqFull = bpm / 60 / barLengthInBeats * rate; var clockFreq = ...
-
... ject Extension Metronome Source: Metro.sc Description Outputs a single sample impulse according to bpm and numBeats. Class Methods Metro. kr ( bpm , numBeats , mul: 1 , add: 0 ) Arguments: bpm Beats per minute. numBeats Number of beats befo ...
-
... play; ⧉ ✔ compare ControlRate (.kr) and SampleRate (.ar) ( { var freq = 400; // pulses at control rate: (LFPulse.ar(ControlRate.ir, 0, 0.01, 2, -1) * [1, 0, 0, 0]) // Sinewave at control rate: + (SinOsc.kr(freq) * [0, 1, 0, 0]) // pulses at ...
-
... , amp = 0.1, gate = 1, attack = 0.3, release = 0.3| var snd, blow; // pulse with modulating width snd = Pulse.ar((Rand(-0.03, 0.05) + freq.cpsmidi).midicps, 0.48 + LFNoise1.kr(0.06, 0.1), 0.2); // add a little "grit" to ...
-
... r.ar( BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(FreeVerb.ar( RHPF.ar(RLPF.ar( Pulse.ar( (PlayBuf.kr(1,1,Rand(50,100),1,0,1)*Rand(100,1000)).clip( Rand(5,12),Rand(12,20))) ,Rand(100,5000),Rand(0.005,0.1)) ,Rand(5000,20000),Rand(0.005,0.1)) ...
-
... riangle is integration of square wave; warning loud, not so kind {Integrator.ar(Pulse.ar(MouseX.kr(440,8800),0.5),0.99)}.play //differentiation of triangle is square {HPZ1.ar(2.0*DPW3Tri.ar(MouseX.kr(440,8800)))}.play //compare {Pulse.ar(Mo ...