-
... rrier, mod; freq = freq * freqMul; freq = [freq * spread, freq / spread]; snd = SinOsc.ar(freq); mod = SinOsc.ar( freq * modFreq, mul: modIndex); carrier = SinOsc.ar(freq * mod); carrier = LeakDC.ar(carrier); snd = Mix.ar([snd, carrier]); s ...
-
... .kr(Env.perc(0.01, sustain), 1, doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0.5pi, amp * env), pan)); }).add; ) // event pattern as an argument Pdef(\x, Pbind(\instrument, \Pdefhelp, \note, Pbrown(0, 6, 0.1, inf), \dur, ...
-
... ore .memStore ( SynthDef ( \sineOsc , { arg outBus0, outBus1, freq; var sound = SinOsc .ar([freq, freq+10], 0, 0.2); Out .ar(outBus0, sound[0]); Out .ar(outBus1, sound[1]); }, metadata: ( specs: ( freq: [80, 880, \exponential , 1, 220].asSp ...
-
... 1), // pitch of the flies LFSaw.ar(~flyAz,0, 360), // azimut speed of the flies SinOsc.ar(~flyEle,0, -180, 90), // elevation speed of the flies plane_spherical:1, radius:SinOsc.ar(~flyDist,0, 5, 6) ).sum; // sum all b formats together HOADe ...
-
... 1), // pitch of the flies LFSaw.ar(~flyAz,0, 360), // azimut speed of the flies SinOsc.ar(~flyEle,0, -180, 90), // elevation speed of the flies plane_spherical:1, radius:SinOsc.ar(~flyDist,0, 5, 6) ).sum; // sum all b formats together HOADe ...
-
... r(WhiteNoise.ar) }.play; //test sweeping frequency of sine input { Gammatone.ar(SinOsc.ar(MouseX.kr(100,2000)),1000.0,500.0) }.play; //create gammatone filterbank with filters centred on 88 piano keys ( var outereargain, freqs, bandwidths; ...
-
... g // Now let's create a quick ring-modulator effect: z = { AudioIn .ar([1,2]) * SinOsc .ar( MouseX .kr(100, 1000)) }.play(u) Inside the bundle As an AudioUnit plugin, SuperColliderAU is packaged in a component bundle. All the files needed b ...
-
... , env; env = EnvGen.ar(Env([0, amp, 0], [0.001, sustain]), doneAction:2); sig = SinOsc.ar(freq, LFNoise2.ar(XLine.kr(39, 300, sustain), Line.kr(15, 0, sustain))); Out.ar(out, sig * env); }).add; ~dirt.soundLibrary.addSynth(\plack, (playInsi ...
-
... n // define SynthDef SynthDef(\x, { |out = 0, freq = 440, amp = 0.05| Out.ar(0, SinOsc.ar(freq, 0, amp) * EnvGate.new) }).add // run synth, audible beats with equal temperature, pitches given as notes ('n') (i: \x, n: [0, 4, 7], d: 3).on // ...
-
... sp NodeProxy: -cvcGui . ( SynthDef(\simpleSine, { |freq=220, amp=0.3| Out.ar(0, SinOsc.ar([freq, freq+1], mul: amp)) }).add // SynthDefs *must* be 'added' or 'stored' ) x = Synth(\simpleSine).cvcGui; x.free; CVCenter.removeAll; // remove wi ...