-
... idth = 2.5 }, { Pen.width = 1 }); Pen.arrow( 0@0, Polar( arrowRadius, (i / 2) * pi ).asPoint, 3 ); Pen.stroke; }); }); } mouseDown { arg x, y, modifiers, buttonNumber, clickCount; mouseDownAction.value(this, x, y, modifiers, buttonNumber, c ...
-
... lay, phaseOffset; delay = size * SampleDur.ir - ControlDur.ir; phaseOffset = (-2pi * freq * delay).mod(2pi); quadOsc = SinOsc.ar(freq, [pi/2, 0] + phaseOffset); real = HilbertWRe.ar(in, size); imag = HilbertWIm.ar(in, size); out = (quadOsc. ...
-
... ne(Point(x, 6), Point(x, 10)); }; Pen.stroke; Pen.pop; Pen.push; Pen.rotate(-0.5pi, wb.width/2, wb.height/2); Pen.translate(0-(wb.height-wb.width/2-(wb.height-ub.bottom)), wb.height-wb.width/2+ub.left); Pen.stringAtPoint(as, Point(ub.height ...
-
... Fs with length 128 window = Array.fill(128, { arg i; if (i < 14, { 1 - (cos ( i*pi/13 ) / 2 + 0.5) }, { if (i > 113, { ( cos( (i - 114) * pi/13 ) / 2 + 0.5) }, { 1; }) }); }); } /* Class method: *loadFileFor loads the files from the HRTF se ...
-
... erHarmonic, mul: envOscs * 1.5); oscs = oscs + SinOsc.ar(freq: envSweep, phase: pi/4, mul: envOscs); // N O I S E noise = WhiteNoise.ar(1/3); noise = HPF.ar(in: noise, freq: noiseBottom); noise = noise + BPF.ar(in: noise, freq: noisePeak, r ...
-
... o the app page always is accessible, and one can ssh into the flatcat raspberry pi. ******* Steps to run flatcat and NTMI: **** # turn on flatcat # on laptop, choose Wifi flatcat00 / pw: fl4tc4t* # In Terminal, log into the flatcat raspi wi ...
-
PushPullOSC { var <netAddr; var capResp, encoderResp, batteryResp, pingResp, imuResp; var <>capAction, <>encoderAction, <>batteryWarnAction, <>pingAction, <>imuAction; var <>capUri = "/inputs/serial/1"; var <>encoderUri = "/inputs/serial/2" ...
-
... ng, but .plot doesn't really show why: a = 20.collect{ |x| 20.collect{ |y| (x+y/pi).sin.rand}}.flat; a.plot(numChannels:20); a.heatMap(20); // Much better! // Choose your colour scheme: a.heatMap(20, colscheme: \red ); a.heatMap(20, colsche ...
-
/* here is a brief example of how you can use the full supercollider pitch model from tidal */ // add these parameters to tidal: /* let degree = pF "degree" ctranspose = pF "ctranspose" mtranspose = pF "mtranspose" gtranspose = pF "gtranspo ...
-
... ` Convert when needed: ```supercollider (5 %/ 7).asFloat // -> 0.71428571428571 pi.asRational(999) // -> 355 %/ 113 ``` Operations with exact rational answers return `Rational` values: ```supercollider (7 %/ 2).floor // -> 3 %/ 1 (1 %/ 3).f ...