-
... o. */ s.boot; ( SynthDef(\theSine, { | freq = 440, amp = 1 , pan = 0| Out.ar(0, Pan2.ar( SinOsc.ar(freq) * EnvGen.kr(Env.perc(0.001, 1, 1, -8), doneAction: 2), pan, amp ); ) }).send; SynthDef(\theBlip, { |f ...
-
... worked and extended from http://wiki.cs.princeton.edu/index.php/Example_5 It outputs MONO as it was designed for SCLOrk // ========== // Synth // ========== // Run this block once (it creates the synth) ( SynthDef("spacey", { arg ...
-
... MouseY.kr(0,40)); chain = FFT(fftbuf, in); PV_MagBuffer(chain, magbuf); // Out.ar(0, in) }).add; ) //////////////////////////////////////////////////////////////// // 3D Spectrum vs. Time plotting ( t = true; ~case = 0; ~amp ...
-
... // this was inspired by http://sccode.org/1-4EG // good way to get the reverb out of the loop... // thanks rukano ;) { var in = In.ar(0,2); in = in * 0.25; in = Compander.ar(in,in,0.75,1,0.75,0.1,0.4); in = (in*0.2) + GVerb.ar( ...
-
... dx*modulator) ); var sig = carrier * env * amp; sig = HPF.ar(sig, 1000); Out.ar(0, sig!2); }).add; ) // 2. then define the Pbind which will play the sequence // of UI sounds simulating variuos characters showing up on an // im ...
-
... ytime: freq.reciprocal, decaytime: decay, coef: dampen); Out.ar(0, [snd, snd]); }).add; ) // Example 1 ( Pbind( \instrument, "plucking", \freq, Pwhite(440, 880), \amp, 0.1, \decay, 4, \ ...
-
... gain, varying individual note volumes (and after a while also timings) to bring out different aspects of the chord. Every time you run it, it will generate a new piece. I use it with in combination with a virtual piano. The code is the resu ...
-
... var morse = {|inString, spaceBetweenLetters = 3, spaceBetweenWords = 7| var outString = ""; //String that will be output var letterSpace = ""; //String representing space between letters var wordSpace = ""; //String representing spa ...
-
... (sig, pan, amp); sig = FreeVerb2.ar(sig[0], sig[1], 0.5, 0.99, 0.9); Out.ar(0, sig * 0.6); } ).add; "Synth Added!".postln; ) ( Pdef ( \seq1, Pbind( \instrument, \synth_simpleSine, \dur , 4.0, \amp , ...
-
... : rate, startPos: startPos * BufSamples.kr(buffer) ); snd = snd * env; Out.ar(0, Pan2.ar(snd, pan)); DetectSilence.ar(snd, doneAction: 2); }).add; ) // =================== // Pattern examples // Note that in these examples ...