-
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 ...
-
... .height ) .radius_(2) .canFocus_(false) .enabled_( false ) .states_([ [ ['arrow_pi', 'arrow'][i] ] ]) .action_({ if( undoManager.notNil ) { object.handleUndo( undoManager.undo( [1,-1][i] ) ); }; }); }); this.undoManager.changed( \update ); ...
-
... adius_(2) .border_(1) .canFocus_(false) .enabled_( false ) .states_([ [ ['arrow_pi', 'arrow'][i] ] ]) .action_({ if( undoManager.notNil ) { object.handleUndo( undoManager.undo( [1,-1][i] ) ); }; }); }); this.undoManager.changed( \update ); ...
-
... ], deg: [ ( id: "¡".asciiCorrect, alternatives: [ "deg" ] ), ( id: "rad", mul: 2pi/360 ), ( id: "pi", mul: 2/360, default: 1 ) ] ); } *new { |dict| case { dict.class == Symbol } { dict = typeDict[ dict ]; } { dict.class == String } { dict = ...
-
... // Envelope: env = Env.perc( attackTime: att, releaseTime: rel, level: preamp * pi/2, curve: crv).ar; // The sound being sent through everything: in = SinOsc.ar(freq: freq, mul: env); // The wavefolder: snd = SinOsc.ar(freq: 0, phase: in.mo ...
-
... routine, rtkroutine, trackarr, trackarr2, tracki, trackPort, lastXStep = 0, xStepIncrement, curXStep = 0, interpXStep = true, lastYStep = 0, yStepIncrement, curYStep = 0, interpYStep = true, lagFactor = 0, packetCounter = 0, packetSkip, // ...
-
... ncy, etc very easily. ( Server.default.waitForBoot({ SynthDef(\SimpleHarmonicPing, { |out, freq, amp, sustain, pan| var snd = BLowPass4.ar(Saw.ar(freq), freq*Line.kr(2, 1, sustain/4), 1); snd = snd * EnvGen.ar(Env.perc(0.01, sustai ...