-
/* \grainSine A granular synthesis generator. This will play tiny segments ("grains") of sine waves with optional random dispersion and distribution. range: the minimum and maximum frequency in between which each grain is randomly chosen po ...
-
/* \grainSine A granular synthesis generator. This will play tiny segments ("grains") of sine waves with optional random dispersion and distribution. range: the minimum and maximum frequency in between which each grain is randomly chosen po ...
-
... = 0.1| var sig; URandSeed.ir(); // needed for Udefs with random elements sig = GrainSin.ar( 1, Dust.ar( dens ), overlap/dens, WhiteNoise.ar.exprange( *freq ) ) * amp; UOut.ar(0, sig ); }) .category_( \synthesis ) .setSpec( \freq, \freq.asS ...
-
... nes with frequency input / pitch (instrument: 'grainXLine').play; (instrument: 'grainSine', amp: 0.5, sustain: 0.02).play; // try one of them: ( Pbind( \instrument, \Mridangam, \degree, Pseq((0..7)), \dur, 1/8 ).play; ) (\instrument: \Mrida ...
-
... 0, \freq, 2000, \sustain, 0.1, \out, 0, \amp, 0.5, \pan, 0); ******/ SynthDef('grainSine', { arg out = 0, freq=800, sustain=0.01, amp=0.5, pan = 0; var window; window = Env.sine(sustain, amp); Out.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * ...
-
... m << ", "; item.streamAsInputUGen(key, stream, decomp); }; stream << ")"; } } + GrainSin { streamCode { |key, stream, decomp| this.streamNameAndRate(stream); stream << "(" << channels.size; inputs.do { |item, i| stream << ", "; item.streamA ...