-
... startPlayer; 1.5.wait; this.stopPlayer; } test_setSource { var q,r; q = Patch({ Saw.ar(40.midicps) * 0.05 }); r = Patch({ Saw.ar(52.midicps) * 0.05 }); this.startPlayer; player.preparePlayer(q); this.wait({ q.isPrepared },"waiting for playe ...
-
... that changes what is already there. ////// if you start a sound like this: // { Saw.ar([20, 30]) * 0.1 }.play; /// nobody can access it with code, /// and it can only be stopped with stop shortcut: Cmd-. period /// So for sound processes, a ...
-
... \freq.kr(440)) * EnvPerc.ar(release: 0.5) }, sampleAccurate:true).add; //Simple saw AlgaSynthDef(\saw, { Saw.ar(\freq.kr(440)) * EnvPerc.ar(release: 0.5) * 0.5 }, sampleAccurate:true).add; //Wait s.sync; //2 channels: tanh on the left and s ...
-
... ef: Pseq([ { SinOsc.ar(\freq.kr(440)) * EnvGen.ar(Env.perc, doneAction: 2) }, { Saw.ar(\freq.kr(440)) * 0.5 * EnvGen.ar(Env.perc, doneAction: 2) } ], inf ), dur: Pwhite(0.05, 0.4), freq: Pwhite(220, 660) )).play }) ) //Funcs with AlgaTemps ...
-
... \ SynthDef ( "help-SelectL" ,\ arg out=0;\ \ var a,cycle;\ a = [\ SinOsc .ar,\ Saw .ar,\ Pulse .ar,\ K2A .ar(0) // silence \ ];\ cycle = a.size * 0.5;\ Out .ar(out,\ SelectL .ar( LFSaw .ar(1.0,0.0,cycle,cycle),a) * 0.2\ )\ \).play;\ \ ) \ ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef("sawSynth", { arg freq = 440, amp = 0.1, att = 0.1, rel = 2, lofreq = 1000, hifreq = 3000, pan = 0; var env, snd; env = Env.perc( attackTime: att, releaseTime: rel, level: amp ).kr(doneA ...
-
... hen perform replacement 3.wait; //Change the oscillator implementation, using a Saw wave instead b.replace({ Saw.ar(\freq.kr + \fm.ar) }) }); }); )
-
... = \ar| SinOsc .perform(selector, freq)} ]; phaseEngines = IdentityDictionary[ \saw -> {|freq, end, offset, selector = \ar| LFSaw.perform(selector, freq, (1 + offset)%2).range(0, end)}, \tri -> {|freq, end, offset, selector = \ar| LFTri.per ...
-
... 600, 300)).front; a = Spectrogram .new(w, Rect (10, 10, 580, 280)); a.start; { Saw .ar( LFNoise1 .kr(1).range(20,2250))}.play Accessing Instance and Class Variables rate_(arg1) rate Refresh rate. Default is 25 frames per second bufSize fra ...
-
... nel 6", 81, "Output Channel 7", 82, "Output Channel 8", 83, "Oscillator 10 Sine/Saw", 84, "Oscillator 10 Pulse/Triangle", 85, "Oscillator 11 Sine/Saw", 86, "Oscillator 11 Pulse/Triangle", 87, "Oscillator 12 Sine/Saw", 88, "Oscillator 12 Pul ...