-
... ameter. SynthDef .new( "mxaut/SinLFO" , { // sinewave lfo arg outbus, freq = 1, phase = 0, mul = 1, add = 0; ReplaceOut .kr(outbus, SinOsc .kr(freq, phase, mul, add)); }).load(s); m.panAuto( "mxaut/SinLFO" , [ \freq , 0.2]); m.stopPanAuto; ...
-
... ameter. SynthDef .new( "mxaut/SinLFO" , { // sinewave lfo arg outbus, freq = 1, phase = 0, mul = 1, add = 0; ReplaceOut .kr(outbus, SinOsc .kr(freq, phase, mul, add)); }).load(s); m.panAuto( "mxaut/SinLFO" , [ \freq , 0.2]); m.stopPanAuto; ...
-
... = 0| XLine.kr(start, end, dur) + add; }, { |freq = 0.3, dev = 15, center = 60, phase = 0, add = 0| LFTri.kr(freq, phase, dev, center + add); } ]); ) // switch between two help synths // both help synths are run from the start (default hsSt ...
-
... {|i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', 1.0.rand)}; // Draw a phase shifting sine p = 0; t = Task({ loop { p = p + 0.1; ((0..40) collect: { |i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', sin(i / 40 * 8 * pi + (p)) ...
-
... NamedControl.kr(\in_freq, Array.exprand(i-2,0.1,10)), NamedControl.kr(\in_phase, Array.rand(i-2,0,pi)), NamedControl.kr(\in_mul, Array.rand(i-2,0,1)), NamedControl.kr(\in_add, 0!(i-2)), ) ++ [0], NamedControl.kr( ...
-
... er way in which SC makes things very interchangeable. Because the arguments for phase and mul are the same for both SinOscs, we can rewrite the code for our example like this: { SinOsc.ar([440, 442], 0, 0.2) }.play; ⧉ ✔ We've replaced the f ...
-
... nnel. Now we do the same with a very slow sine wave, so that we can observe the phase relations in the channels, chose a freq so that the scope stands still, keep the default zoom value of 1 @ 48000. Compare with the spherical harmonics fro ...
-
... ⧉ ✔ Envelopes Dynamically modulate any parameter in a ugen (such as frequency, phase, or amplitude) with an envelope. // modulate amplitude { SinOsc.ar(440, 0, 0.1) * EnvGen.kr(Env.sine(1), doneAction: Done.freeSelf) }.scope; ⧉ ✔ Setting t ...
-
... ances, use .playOnce(clock, protoEvent, quant) quant can be an array of [quant, phase] stop stops the player player the current player (if the TaskProxy is simply used in other streams this is nil) pause / resume / reset / mute / unmute per ...
-
... ion. low The lower bounds of oscillation. high The upper bounds of oscillation. phase The starting phase of the oscillator. starttime If used in a CtkScore, specifies a time to write the initVal to the bus. duration Specifies duration (for ...