-
A long chain of phasemodulating sinewaves, modulation amount growing for 4 minutes, ending in noise. play{x=0;(50..120).do{|f|f=f/2;x=SinOsc.ar(f+[0,1],x*Line.kr(1,3,240,doneAction:2))};tanh(x+Ringz.ar(Impulse.ar(2),45,0.3,3))}
-
play{x=0; (60..100).do{|f| x=SinOsc.ar(f+[0,f], x*Line.kr(1,5,60,doneAction:2))}; cos(x+Ringz.ar(Impulse.ar(2),45,0.3,3))};
-
... .ar. All we need to do is sum up a variable number of them with the appropriate phases and amplitudes. Since Saw.ar doesn't have a phase control, I implemented the phase offsets using delays. (Using BufDelay means that they all share the sa ...
-
Note: you can configure more than 4 operators by changing the value of the numops variable. ( SynthDef(\pm4, { var numops = 4; var fb = LocalIn.ar(numops); var gate = \gate.kr(1); var in_freq = \freq.ar(261).lag(\glis.kr(0)); ...
-
In messing around with PM/FM synthesis, I had this idea to make a SynthDef that represents one individual operator in a PM synth. Then the operators are wired together by busses and played together in a Pbind. This moves the wiring logic ou ...
-
... = freq/(1+spread) and hi = freq*(1+spread) (hi-lo+1).do({ |j| var mag, phase, val; var index = j.linlin(0, hi-lo, lo, hi); // only fill up lower half of spectrum: // right half later is derived from this left half to ...
-
... end: sinfreq * glissf, dur: rel ); snd = SinOsc.ar( freq: ramp, phase: 0, mul: env, add: 0); snd = Pan2.ar(snd, pan); Out.ar(out, snd); }).add; SynthDef("fm2", {arg freq = 440, modindex = 10, amp = 0.1, pos = 0 ...
-
... l 8 algoritms of the dx11 opamt defines the output level and thus the amount of phase modulation going into the carrier ( SynthDef(\dex11algo1,///op4--->op3-->op2--->op1 { | pitch=60, op1att=0.001,op1dec=5.250,op1amt=1,op1tune= ...
-
... odRate = 5.5, modDepth = 0.0005, eqFc = 800, eqQ = 3; var signal, tapPhase, tap, tapPhaseL, tapPhaseR, tapL, tapR; var timeMod, eqMod; //Drop the input slightly to avoid clicky clipping signal = 0.7*In.ar(18, 2); si ...
-
... t = rateDir.abs < 1; var rateScale = BufRateScale.kr(bufnum); // possible modulation sources are e.g. LFPulse, LFTri, SinOsc.. // for the system to work properly, the integrated signal should be 0, (i.e. going equal parts backwards ...