-
... ble s to the internal server object. s = Server .internal; VERY IMPORTANT: This line must be executed for the variable 's' to be set. The mechanics are different depending on your platform. The MacOSX standard is to place the cursor anywher ...
-
... o, 0, amplitude) }.play) The next example uses the distance to modulate a delay line. ( { var x, y, distance, velocity, pitchRatio, amplitude, motorSound; // object travels 200 meters in 6 secs (=120kph) passing 10 meters // from the listen ...
-
... 0; Out .ar(0, SinOsc .ar(freq, 0, 0.2) ) }).writeDefFile; ) then on the command line (i.e. in Terminal): ./scsynth -N Cmds.osc _ NRTout.aiff 44100 AIFF int16 The command line arguments are: -N <cmd-filename> <input-filename> <output-filenam ...
-
... n.pvcollect(1024, { |mag, phase, index| //////// Try uncommenting each of these lines in turn and re-running the synth: //mag; //[mag, phase]; //[mag, phase] / 3; //[mag, phase].sqrt; //[mag, 3.14.rand]; //[mag, LFNoise0.kr.range(0, 3.14)]; ...
-
... gative to positive transition, the excitation signal will be fed into the delay line maxdelaytime - the max delay time in seconds (initializes the internal delay buffer). delaytime - delay time in seconds. decaytime - time for the echoes to ...
-
... ctl-return, shift-return ctl-enter ctl-e F5 C-c C-d / C-c C-c Interpret current line enter, ctl-c, ctl-return, shift-return ctl-enter ctl-e F6 C-c C-c Interactively evaluate expression... C-c C-e Evaluate defun or code-block C-M-x Evaluate ...
-
... n = chain.pvcalc(1024, { |mags, phases| //////// Try uncommenting each of these lines in turn and re-running the synth: [mags * {1.5.rand}.dup(mags.size), phases + {pi.rand}.dup(phases.size)]; // Arbitrary filter, arbitrary phase shift //[m ...
-
LinLin map a linear range to another linear range LinLin.ar(in, srclo, srchi, dstlo, dsthi) LinLin.kr(in, srclo, srchi, dstlo, dsthi) in - input to convert. srclo - lower limit of input range. srchi - upper limit of input range. dstlo - low ...
-
... nt c - phase increment amount xi - initial value of x yi - initial value of y A linear-interpolating sound generator based on the difference equations: x n+1 = sin(im*y n + fb*x n ) y n+1 = (ay n + c) % 2pi This uses a linear congruential f ...
-
... e equations: x n+1 = sin(im*y n + fb*x n ) y n+1 = (ay n + c) % 2pi This uses a linear congruential function to drive the phase indexing of a sine wave. For im = 1, fb = 0, and a = 1 a normal sinewave results. // default initial params { FB ...