-
... e: record squiggle ( // start time var startTime = thisThread.seconds ; ~allPoints = [] ; ~diffPoints = [] ; w = Window.new.front; q = UserView.new(w,w.view.bounds); q.mouseDownAction_({ | view, x, y, modifiers, buttonNumber, ...
-
... = spring.abs; "maxspring"+~max.postln; }); if (i == 0, {Pen.moveTo(Point(0, height))}, {Pen.lineTo(Point(i*jumpwidth, height))}); Pen.addOval(Rect(i*jumpwidth-(circlesize/2), height-(circlesize/2), circlesize, circlesize) ...
-
I needed an Env editor with knobs to edit individual points. Maybe it can be useful to someone. You can zoom horizontally with shift+mouseDrag. Show also a way to write classes with events ( ~windowize = { arg layout; var win; win = ...
-
... s... Thanks to Andy Hayleck from the SC list for the code I used as a starting point. { x = OnePole.ar(WhiteNoise.ar(0.1)+Dust.ar(100, 0.5), 0.7); x = x + Splay.ar(FreqShift.ar(x, 1/(4..7))); }.play
-
... le values arbitrarily and watch the 16x oversampled curve change. (Set only one point, all others 0, and you see a band-limited impulse AKA sinc function. Or, you can programmatically put in a geometrically perfect sawtooth or pulse wave, a ...
-
... / You can map the x, y coordinates however you wish. // Plus the value at each point can be used for additional parameterization. (~grid = [ [7 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0], [0 , 6 , 0 , 0 , 0 , 0 , 0 , ...
-
... mate_(true); u.drawFunc = { |u| Pen.strokeColor = Color.white; Pen.moveTo( Point(0, a[0]) ); a[1..].do{ |value, index| Pen.lineTo( Point(index+1, value) ) }; Pen.stroke; }; // call our function when the mouse is pressed or move ...
-
a simple BufRd with the starting point of lecture randomized by LFNoise1 // you have to write the sample path in the firts line ~bufferdue = Buffer.read(s," WRITE YOUR SAMPLE PATH HERE ", bufnum:2); ( SynthDef.new(\bufbeat, { arg a ...
-
A starting point for "analogue emulation." Lagging a Pulse in different ways depending on direction of the input (up or down) changes the waveform as MouseX is swept from left to right. ( { var freq = 100, shape, up, down, output; shap ...
-
... nt; ) Synth(\default); // tada! this (and anything else you play after this point) is now being scoped by ScopeView.