-
... exprange(3, 100), 0, 1], [LFNoise1.kr(0.5).exprange(3, 100), 0, 1] ]; mods = [ [Line.kr(0, 0.001, 2), Line.kr(0.1, 0, 4), 0, MouseY.kr(0, 6), 0, 0], [MouseX.kr(0, 6), 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0 ...
-
... |voice| voice.set(\pan, -1, \amp, 0.5)}; // run this immediately after previous line // Combining positive and negative key number for a gesture t.key([-60, 60]); t.key([-60, 60], dur: 1); t.key([-60, 60], expand: 2); t.key([-60, 60], bende ...
-
... dur = endFr - startFr / w.buffer.sampleRate; dur.postln; BufRd .ar(1, w.buffer, Line .ar(startFr, endFr, dur, doneAction: 2)) }.play; ) loop buffer segments with a Phasor: ( x = { arg start = 0, end = 128, playRate = 1; BufRd .ar(1, w.buffe ...
-
... ition. b.mode_( \move ); // try moving the slider before and after running this line b.mode_( \jump ); // back to default knobColor background hilightColor Colors, Gradients and SCImages can be used with these getter/setters. ( // random co ...
-
... ld be able to look at the 2D data points represented in the SOM and see if they line up with the sinewave. // This plot is nice if you have OctaveSC installed: o = OctaveSC.new; o.init ( ~som.loadToFloatArray(action: {|arr| o[\xtemp] = arr[ ...
-
... with Ctrl+Enter in the help browser (not the editor) only evaluates the current line. QtWebEngine, a hard dependency of SCLang and SCIDE, is difficult or impossible to install in some environments. Work is underway to make it an optional co ...
-
... , e.i, e.otAmp) }) } // for newer SC versions with method seti you can use this line instead: // \do, Pfunc { |e| s.makeBundle(s.latency, { x.seti(\otAmps, e.i, e.otAmp) }) } ).trace.play ) // stop player and synth ( p.stop; x.release; ) // ...
-
... env, sound, dur, rate, phase; dur = (end - begin) / speed; env = EnvGen.ar(Env.linen(0, 0.2, 0.8, amp * 0.1, -4), timeScale:dur, doneAction:2); phase = Line.ar(begin + 0.0001, end, dur); rate = (begin + 1) * (speed + Sweep.kr(1, accelerate ...
-
... 1-dev libasound2-dev libjack-jackd2-dev \ libavahi-client-dev libicu-dev libreadline-dev libncurses-dev libfftw3-dev libxt-dev libudev-dev pkg-config git cmake \ qt5-default qt5-qmake qttools5-dev qttools5-dev-tools qtdeclarative5-dev qtpos ...
-
... string) } } *removeComments { |string| /* remove anything between // and end of line remove anything between a /* and the next */ */ ^this.removeOneLineComments( this.removeBlockComments( string ) ) } *removeOneLineComments { |string| var s ...