-
... ring,bounds:Rect(0,200*j,600,200),minval:min,maxval:max)}); ) //Gui // drag the points ( var w, time = 40, dt = 0.1, t0 = 0, min= 2.5.neg,max=2.5, task,zoom; var y1_0 = 1, dy1_0 = 0, k1=3, mass1=0.5, bcoef1 = 0.2, r1 = 1, w1 =0; var y2_0 = ...
-
... uark packages. It does so by making a symlink in the Extensions/quarks/ folder, pointing back to the quark's source code which stays in the User App Support directory. ( // manage Quarks packages from a gui Quarks.gui ) (note: do not turn e ...
-
... 0 and 1. Amplitude threshold of the control signal, which determines the break point between slopeBelow and slopeAbove. The control signal amplitude is calculated using RMS. slopeBelow Slope of applied amplitude curve if control signal amp ...
-
... e interval table files are located elsewhere, the optional path argument should point to this directory. This is provided for non-standard cases. Examples: IntervalTable .loadTable( \huygens ); // load the Huygens table IntervalTable .loadT ...
-
... t over again from the beginning. There is no way to replay the routine from the point where it was stopped. Task is a variation that can be paused and resumed at will. For example, let's iterate over a C major scale. Note that all of SuperC ...
-
... key '%'".format(~bpKey, ~args[0])).throw; }; currentEnvironment }; // The whole point of a "reference" generator is: // Every instance should share the same stream. // Pdefn(key).asStream follows SC convention and makes // independent strea ...
-
... ion) // takes place before synthdef creation // thus, ~buf is populated by this point "\nCreating synthdefs." .postln; // forward with ringmod { |amp = 1, rate = 1, pan| var dur = BufDur .ir(~buf), sig = PlayBuf .ar(1, ~buf, rate * BufRateS ...
-
... board", position, keys, mods| ^super.new.initSQWERTYKeyboard(name, position ?? {Point(16, 60)}, keys, mods); } initSQWERTYKeyboard {|name, position, keys, mods| //--settings var prefName= "%.json".format(name); var winRect= Rect(position.x, ...
-
... ion) // takes place before synthdef creation // thus, ~buf is populated by this point "\nCreating synthdefs." .postln; // forward with ringmod { |amp = 1, rate = 1, pan| var dur = BufDur .ir(~buf), sig = PlayBuf .ar(1, ~buf, rate * BufRateS ...
-
Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code
... r centerx = 410, centery = 410, //Coordinates used to offset the pendulum fixed point r1 = 200, //Length of pendulum rod 1 r2 = 200, //Length of pendulum rod 2 m1 = 20, //Mass of pendulum bob 1 m2 = 20, //Mass of pendulum bob 2 a1 = pi ...