-
... , 67], 1).asStream; dur = Pseq([2, 2, 1, 0.5, 0.5, 1, 1, 2, 2, 3], 1).asStream; SynthDef(\smooth, { |out, freq = 440, sustain = 1, amp = 0.5| var sig; sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.linen(0.05, sustain, 0.1), doneAction: Done ...
-
... 00, 1), 0, 0.5, 1); SinOsc.ar(freq) * 0.1 }.play; ) // in granular synthesis: ( SynthDef("pgrain", { |out = 0, sustain = 0.01, amp = 0.5, pan = 0| var freq = MouseX.kr(300, 7000, 1); var window = Env.sine(sustain, amp * AmpComp.ir(freq)); O ...
-
... n} { modPath = dash ++ "Files" ++ dash ++ "DescriptionFiles" ++ dash} {file == \synthdef} { modPath = dash ++ "Files" ++ dash ++ "SynthDefFiles" ++ dash} {file == \preset} { modPath = dash ++ "Settings" ++ dash ++ "Presets" ++ dash} ; thisP ...
-
... e outer pattern's event. If there is no definition to be found there, it uses a SynthDef with this name, if present. When passing a function to Pdef it creates a PlazyEnvir internally. Its function is evaluated in the context of the outer e ...
-
sample mash-up from "Funky Klangs" and "Re: Dub Echo" ( SynthDef(\klang_blip, { | out = 0, release = 1, freq1 = 1, freq2 = 5, freq3 = 8, freq_mul = 4, atk_dur = 0.01, amp = #[0.3,0.3,0.3], mod_freq = 25 | var sig = DynKlang.ar( ...
-
... [ t.next, u.next].postln \);\ )\ \ \ \ //______test with a little sequence \ (\ SynthDef ( "amino" , \ arg out, freq=440, sustain=1.0, pan, p, amp=0.1;\ var u;\ u = Line .kr(1, 0, sustain, doneAction:2) * \ SinOsc .ar(freq, \ SinOsc .ar(fre ...
-
... , 0) }; }; } } DDWMetronome { var <clock, <server, <group, <bus, <numChannels, <synthdef, <synth, <>amp, <aliveThread; *new { |clock, target, amp = 1, run = true| ^super.new.init(clock, target, amp, run) } init { |clock, target, level, run| ...
-
+ SynthDef { justWriteDefFile { arg dir, overwrite = (true); super.writeDefFile(name, dir, overwrite); } uWriteDefFile { arg dir, overwrite = (true), makeSynthDesc = (false); if( makeSynthDesc ) { this.writeDefFile(dir, overwrite); } { supe ...
-
... r.local; b = Buffer.alloc(s, 4096, 1); c = Buffer.alloc(s, 4096, 1); ) ( SynthDef("Oscer1", {argnextTime = 0.5, bufnum = 0, freq = 80, envLev = 1.0; var env, osc, sum, out; env = EnvGen.kr(Env.new([0, 1, 1, 0], [0.1, 0.98, 0.1]), ...
-
... can be inspected by calling .insp on it: 4.insp; [1,2,3].insp; PageLayout.insp; SynthDef("yawn",{ arg freq=100; Out.ar(0,Saw.ar * LFPulse.kr(3)) }).insp; ⧉ ✔ Each time you .insp something a snapshot is taken and added to the sidebar of the ...