-
... lockFreqFull / SampleRate.ir, 0, 1, 0); var barCounter = PulseCount.ar(imp); Out.ar(30, barCounter); Out.ar(31, imp); Out.ar(32, clockPos); Out.ar(33, impSubDivs); }).store; ~pulsePattern = { |pat| var clock, seq; clock = ...
-
... undcloud link: https://soundcloud.com/user-68447368 ( SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 6000, pan = 0; var env, snd; env = Env.perc(att, rel, amp).kr(doneAction: 2); snd = WhiteNoise.ar; sn ...
-
... SynthDef(\hasherTest, { arg rate = 1, freq = 60, index = 1000, tRate = 100, out = 0, fRate = 0.1; var t_trig = LFPulse.kr(0.5/fRate, 0.5); var random = LFNoise0.ar(rate, add:1); var noise = Hasher.ar(random); var sound = Saw.ar((f ...
-
... 1])).asStream.nextN(10); // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a ...
-
SynthDef(\snare_stein, { |out=0, amp=0.1, pan=0| var snare, filtWhite; filtWhite = LPF.ar(WhiteNoise.ar(1), 7040, 1); snare = ((SinOsc.ar(330,0,0.25) * EnvGen.ar(Env.perc(0.0005,0.055))) Ê Ê Ê Ê Ê Ê Ê Ê Ê Ê Ê Ê+(SinOsc.ar(185,0,0.25) * EnvG ...
-
... r 3, by Nick Collins, http://composerprogrammer.com/index.html Description Will output the maximum value of over the last numsamp samples, calculated efficiently by storing a local maximum for every control period. The numsamp argument will ...
-
... erited instance methods Examples s.boot; s.scope(2); SynthDef(\noise, {arg noiseout = 1; var noise, filt; noise = WhiteNoise.ar(MouseX.kr(0, 1)); filt = BPF.ar(noise, LFNoise2.kr(0.2, 440, 880), 0.001); // comment out to compare without bal ...
-
... st.bootServer(); 1.wait; SynthDef(\NodeSnapshotTestA, { |a, b = 2, c = #[1, 2]| Out.ar(10, DC.ar([0, 0])); Out.kr(20, DC.kr([0, 0, 0])); }).add; s.sync; ~synth = Synth(\NodeSnapshotTestA); ~testSnap.({ |sn| test.assertEquals(sn.root.childre ...
-
... erver.default }); ~mylib = SynthDescLib.all[\ddwSynths]; SynthDef(\ctlPoint, { |outbus, value, time, curve| var start = In.kr(outbus, 1); ReplaceOut.kr(outbus, EnvGen.kr(Env([start, value], [time], curve), doneAction: 2)); }).perform(Librar ...
-
... - time of last trigger <>target, <>addAction, // for allocating nodes <>bus, // output bus to pass to things <synth, // the node <initArgs, // send to each node on initiation <initArgDict, // quicker access to initial arg values <defname, v ...