-
... n this is patched to min . SynthDef ( "help-Stepper" ,{ arg out=0; Out .ar(out, SinOsc .ar( Stepper .kr( Impulse .kr(10), 0, 4, 16, 1 ) * 100, 0, 0.05 ) ) }).play; SynthDef ( "help-Stepper" ,{ arg out=0; Out .ar(out, SinOsc .ar( Stepper .kr ...
-
... hods Examples // Permute a simple sinusoid ten times its frequency: {PermMod.ar(SinOsc.ar(220),2200)}.play // Modulate both the sinusoid's and the permutation frequency with the mouse: {PermMod.ar(SinOsc.ar(MouseY.kr(0,440)), MouseX.kr(500, ...
-
... Env.new([40, peakFreq, 20], [attack, decay], 'exp'), doneAction:2); snd = Mix(SinOsc.ar(pitchEnv*multipliers, 0, EnvGen.ar(Env.perc(attack, decay)) * 1/multipliers.size)); snd = Compander.ar(snd, snd, 0.001, 1, 0.6, 0.012, 0.25, 7.5); ...
-
... |freq| var delay; delay = freq.reciprocal; Pluck.ar(SinOsc.ar(Line.ar(1000, 50, 0.01)) * Env.perc(0.001, 0.01).ar, Impulse.ar(0), delay, delay, 5, 0.5) }; snd = string.(100) + string.(150) + string.(200 ...
-
... { var p,i; makePlayer { // patch i = Instr("help-Patch",{ arg freq=100,amp=1.0; SinOsc.ar([freq,freq + 30],0,amp) }); p = Patch(i,[ 500, 0.3 ]); ^p } makeBus { ^Bus.audio(s,2) } // AbstractPlayer.bundleClass = MixedBundleTester; // MixedBun ...
-
... depth=0.01; //make sure there are control arguments to affect! Out.ar(0, SinOsc.ar(carrfreq + (moddepth*SinOsc.ar(modfreq)),0,0.25)!2) }).add; ) s.scope; ( var w, carrfreqslider, modfreqslider, moddepthslider, synth; w= ...
-
... 0, prob=0.5; var trig; trig = CoinGate .kr(prob, Impulse .kr(10)); Out .ar(out, SinOsc .ar( TRand .kr(300.0, 400.0, trig),0,0.2 ) ) }).play; ) a.set( \prob , 1.0); a.set( \prob , 0.0); a.set( \prob , 0.1); ( a = SynthDef ( "help-TCoin" , { ...
-
... \ Server .internal.boot;\ \ (\ \ arg level = 0.125, speed = 1;\ var inArray = [ SinOsc .ar, Saw .ar, Pulse .ar, GrayNoise .ar];\ var n = Phasor .ar(0, speed / 44100, 0.0, inArray.size);\ RotateN .ar(n, inArray) * level;\ \.play( Server .int ...
-
//Simple feedback example ( Alga.boot({ a = AlgaNode({ SinOsc.ar(\freq.kr(220) + \fm.ar(0)) }, connectionTime:5, playTime:2); b = AlgaNode({ SinOsc.ar(\freq.kr(134) + \fm.ar(0)) }, connectionTime:3); a.from(b, \fm, scale:[-100, 100]); b.fro ...
-
... , amp = 0.1, mix = 0.1, relMin = 2.5, relMax = 3.5; var snd; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * Env.perc(0.005, Rand(relMin, relMax), 1, -8).kr; // The "clicking" sounds are modeled with a bank of resonators excited by envelo ...