-
... eplaced in initClass by more accurate value classvar >sampleRate = 44100; var <>buffer, <pos; var <>maxDist = 200; var <>addDelay = 0; *initClass { this.setSpeedOfSound; } *setSpeedOfSound { |temp = 20| // 20 = normal room temperature ^spee ...
-
... short description ~function: the actual definition of the plugin */ ~name = \sndBufferHOA; // note: bufnum must be first arg !! ~description = "Play a multichannel buffer"; ~channelLayout = \ambi; ~function = { | order = 2, bufnum = 0, loop ...
-
... r/share/sounds/alsa/Front_Center.wav' | var buf; var sf = sfile.asString; buf = Buffer.cueSoundFile(s, sf, 0, 1); DiskIn.ar(1, buf.bufnum); }; */
-
... ter.kr(1), \jFreq.kr(1), \cub).linlin(0, 1, 0, 2pi)}).dumpUGens q = (); q.buf = Buffer.read(s, "/localvol/sound/supercollider/oneShots/new/bounceSaw/aiff24/*.aiff".pathMatch.first); q.buf.play x = { var buf = q.buf; BufRd.ar( numChannels: q ...
-
... Examples // Simple example s = Server .local.boot; //Server.internal.boot; b = Buffer .alloc(s,2048,1); ( x = { var in, chain, powers, cutfreqs; in = LPF .ar( WhiteNoise .ar, MouseX .kr(10,10000, 1)); chain = FFT (b.bufnum, in); powers = F ...
-
... e('sound', { |dirtEvent| var instrument, args; if(~diversion.value.isNil) { if(~buffer.notNil) { // arguments could be omitted using getMsgFunc, but for making it easier to understand, we write them out args = [ bufnum: ~buffer, sustain: ~s ...
-
... ion, see this guide Non-Realtime Synthesis (NRT) . ( ~score = Score.new; // add buffer allocation and file reading to the score at time 0.0s // NOTE: the value 131072 used below is the recommended number of frames for a Buffer used by DiskI ...
-
... ; }; } } SDroneVOsc : SDrone { *type {^\VOsc} func { ^{|freqs, dists, amps| var buffers= { { var num= 4.rrand(9); LocalBuf.newFrom( Env( [0, {0.5.rand2}!(num-1), 0].flat, {1.0.rand(9)}!num, {rand2(9.0)}!num ).asSignal(1024).asWavetable ); } ...
-
... t amplitude level to which to normalize the input. dur - aka lookAheadTime. The buffer delay time. Shorter times will produce smaller delays and quicker transient response times, but may introduce amplitude modulation artifacts. ( // exampl ...
-
... tal pitch; note the different effects of these two on the centroid. s.boot; b = Buffer .alloc(s,2048,1); ( x = { var in, chain, freq, rq, centroid; //freq = LFPar.kr(0.3).exprange(100, 1000); freq = MouseY .kr(1000, 100, 1); in = Blip .ar(f ...