-
... .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, // ...
-
... + Polar( radius * (2/9), angle ); backCenter = center + Polar( radius, angle + pi ).asPoint; Pen.moveTo( backCenter ); Pen.lineTo( backCenter + Polar( radius * width, angle + 1.5pi ).asPoint ); Pen.lineTo( center + Polar( radius, angle ).a ...
-
... .0.rand2\); //random panning for each grain \ g.grainPan_(\ |pan, o, i| sin(o*2*pi)\); //sine -depend on position \ g.grainPan_(\ |pan, o, i| sin(i%1000/1000*2*pi)\); //sine (not dependent on position) \ g.grainPan_(\ |pan, o, i| #[0, 0, 0, ...
-
... his.setEncoderClassForATK(doppler); kernel = FoaDecoderMatrix.newStereo(131/2 * pi/180, 0.5); // Cardioids at 131 deg this.addDecoderSource(FoaDecode, kernel); this.createSumBus; }, {"You have to clear the current decoder first (GameLoopDec ...
-
... 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0, lp= 1000| var z; z= Mix(LPF.ar(LFSaw.ar(freq+ ...
-
... ds for wavefolding, one smooth (SinOsc.ar) and one sharp (.fold), -a way of wrapping waves around from 1 to -1, like the sides in pacman (.wrap), -and a sort of square-wave-ifier using a Schmitt trigger. You can mix between them with blend, ...