-
... e { SinOsc .ar(440, 0, 0.1) * EnvGen .kr( Env .sine(1), doneAction: 2) }.scope; Setting the doneAction argument (control) to 2 insures that after the envelope reaches its endpoint, SuperCollider will release the memory it used for the insta ...
-
... f| buf.play} }); //post tags and path for a Directory BufferSystem.dirDialog; //set default path from Dialog BufferSystem.setDefaultPath; BufferSystem.dirTags.dopostln; BufferSystem.bufferArray; BufferSystem.bufferArray.dopostln; BufferSyst ...
-
... I.flatcat.vals.put(k, (v + 0.05.rand2).clip2(0.5)) }; // -> let running flatcat set NTMI.flatcat.vals! // unsafe - this crashes GT gui in main thread on macOS NTMI.g.main.imuUV.drawFunc = { NTMI.flatcat.drawFunc.value }; // NTMI.g.main.imuU ...
-
... qs(2).abs.pow(beta.neg/2); // power law magnitude.put(0, magnitude.at(1)); // reset DC ^FreqSpectrum.new(magnitude) } rho { ^magnitude } angle { ^phase } theta { ^phase } // Signal classs / fft related real { ^(magnitude * cos(phase)).as(Si ...
-
... nce. If you intend to use permessage-deflate in production, it is worthwhile to set up a test representative of your workload and ensure Node.js/zlib will handle it with acceptable performance and memory usage. Tuning of permessage-deflate ...
-
... he unit changes internally depending on the type of the source. If the point is set normally (default) the unit is in 'static' mode, meaning that the point can not be moved during playback. Changes to the point will not be audible until the ...
-
... Speed = 30; var scores = [0,0]; var notes = Scale.phrygian.degrees+60; k = Set[]; // keep track of held keys // SynthDef SynthDef(\bounce, { |out=0, gain=0.5, length=1, freq=200, depth=20| var bounce, freqenv, ampenv; freqenv ...
-
... ecs.add( argSpec ); } { if( replaceIfExists ) { // otherwise leave in tact (use setArgSpec to change spec) argSpecs[index] = argSpec; }; }; } removeArgSpec { |name| var index; if( name.isKindOf( ArgSpec ) ) { name = name.name }; index = thi ...
-
... ecs.add( argSpec ); } { if( replaceIfExists ) { // otherwise leave in tact (use setArgSpec to change spec) argSpecs[index] = argSpec; }; }; } removeArgSpec { |name| var index; if( name.isKindOf( ArgSpec ) ) { name = name.name }; index = thi ...
-
... { ~path = path; ~pts = pts; ~fftsize = fftsize ? 2048; BP(~collIndex).play(doReset: true); }); }; ~asyncHang = { ~saveEventStreamPlayer = ~eventStreamPlayer; nil.yield; }; ~asyncUnhang = { ~eventStreamPlayer = ~saveEventStreamPlayer; ~cloc ...