-
... = 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)) ...
-
... 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 ...
-
... 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 ...
-
... ing per grain SynthDef(\pv_rectComb, { |out = 0, in, numTeeth = 0, width = 0.5, phase = 0, mix = 1, amp = 0.1| var chain, inSig = In.ar(in, 2), sig, bufSize = 512, inSigDelayed; chain = FFT({ LocalBuf(bufSize) } ! 2, inSig); chain = PV_Rect ...
-
... ); Ndef(\sin)[0] = { SinOsc.ar( \freq.kr([200, 201, 202, 204, 205]), SinOsc.kr(\phase.kr([0, 0, 0, 0, 0])).range(0, 2pi) ) } ) // out mixer: mix down to 2 channels and spread channels across panorama ( Ndef(\out).mold(2, \audio, \elastic); ...
-
... omplex performs generally very well, and slightly more efficient than \complex \phase generally good, especially for tonal input, medium efficiency \wphase generally very good, especially for tonal input, medium efficiency \mkl generally ve ...
-
... ; its sine wave occupies the entire buffer duration. sine3 Like sine2 , but the phase of each partial may also be provided. Same arguments as sine1, plus: phases Array of phases for each partial, given in radians (0.0 - 2pi). MIDI output mi ...