-
... veThread, addr; *initClass { profiles = IdentityDictionary[ \openstage -> { var out = IdentityDictionary.new; var spec = [0, 1].asSpec; (1..24).do { |i| var digits = if(i >= 10) { 2 } { 1 }; out.put( ("/fader_" ++ String.fill(2 - digits, $0 ...
-
... n as second argument to ar/kr //modulate offset: p = ProxySpace .push(s.boot); ~out.play; ~src = { SinOsc .ar( Array .rand(5, 400, 500.0), SinOsc .ar( Array .exprand(5, 2.1, 500.0)), 0.1) }; ~out = { ~src.ar(1, MouseX .kr(0, 5)) }; ~out = { ...
-
... nt bench { 100.do { y.next } }; // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }). ...
-
... owing example, the code from the function (above) is the second argument to the Out ugen. ( SynthDef ( "ringMod" , { Out .ar( 0, SinOsc .ar([440.067, 441.013], 0, 1) * SinOsc .ar([111, 109], 0, 0.2) ) }).load(s); ) Synth ( "ringMod" ) ///// ...
-
... , Platform.resourceDir +/+ "sounds/a11wlk01.wav" ); ( SynthDef(\playBuf, {| out = 0, buf = 0, amp = 0.2, pan = 0.0, dur = 0.2, gate = 1 startPos = 0 | var sig, env; env = EnvGen.ar( Env.sine( dur ), gate, amp, doneAction: 2 ); sig ...
-
SynthDef(\cymbal808_ryan, { arg out=0, baseFreq = 300, time = 250, amp=0.1; //var freqs = [baseFreq, baseFreq*1.3420, baseFreq*1.2312, baseFreq*1.6532, baseFreq*1.9523, baseFreq*2.1523]; //var freqs = [78.6, 140.44, 123.87, 219.4, 787.5, 53 ...
-
... u're free to combine the options in any way you want though. For more details about both algorithms (weighted and unweighted) see Dixon, S. (2006) Onset Detection Revisited. In Proceedings of the 9th International Conference on Digital Audi ...
-
Migration from the old SourceForge wiki. p = ProxySpace.push(s.boot); ~out.play; ~out = ~f * 0.1; ( ~f = { var u, in, din, a, b; a = MouseX.kr; b = MouseY.kr; in = ~f.ar; din = DelayL.ar(in, 0.3, LFNoise1.kr(0.1).range(0,0. ...
-
... nable two chan stereo: ( s.latency = nil; // faster response SynthDef(\fmgr, { |out, amp=0.2, pan, freq=440, ratio=2.5, mod=3, modrat=0.5, sustain=0.1, rand=0.1, att=0.01| var ampComp = AmpComp.ir(freq.max(50), exp: 0.2) * (0.8 ** mod.min(6 ...
-
... tream that can be replaced while playing. Multiple streams are thus handled without creating dependancies. related: Pdef *new(source) create a new instance with a pattern (the source). the pattern should be an event pattern (see Pdef ) *def ...