-
... ------------------------------------------------------------ // test sig sig = PlayBuf.ar(~sndbuf.numChannels, ~sndbuf, BufRateScale.kr(~sndbuf), doneAction:2); // soundfile // ------------------------------------------------------------ / ...
-
... + "sounds/a11wlk01.wav"); // remember to free the buffer later. Synth(\sampler_PlayBuf, [\buf, ~voice]) Synth(\sine_simple) Synth(\sine_vintage) Synth(\prophet5pwmstrings) //--//..//--//..//--//..//--//..//--//..//--//.. //--//.. ...
-
... var env= EnvGen.ar(Env.asr(atk, amp, rel), gate, doneAction:2); var src= PlayBuf.ar(1, buf, speed, loop:1); Out.ar(out, Pan2.ar(src*env, pan)); }).add; s.sync; b= {Buffer.alloc(s, s.sampleRate*l)}.dup(z); //mono buffer s.s ...
-
... nd <https://scsynth.org/t/display-playhead-position-in-gui-in-a-synth-that-uses-playbuf/6548/17?u=prko>. ( w = Window("An Instant Sound File Player (Looper)", Rect(0,Window.screenBounds.height-180,Window.screenBounds.width-100,Window.scree ...
-
... using Buffers for sound playback and recording. Buffers are commonly used with PlayBuf , RecordBuf , DiskIn , DiskOut , BufWr , BufRd , and other UGens . (See their individual help files for more examples.) Buffers can be freed or altered ...
-
... and= Impulse.kr(1/BufDur.ir(buf)*rate*LFNoise1.kr(0.1, 0.2, 0.6), 0, 1-loop); ( PlayBuf.ar(1, buf, rate*BufRateScale.ir(buf), \trig.tr+rand, pos, loop) *(dists*5+1) ).tanh*amps*(1-(dists*0.5)); } } } SClusterFolder : SCluster { *type {^\Fol ...
-
... ] ).play ) Example 1, loading and granulating a sound file. ( SynthDef ( \help_playbuf , { | out=0, bufnum = 0, rate = 1, startPos = 0, amp = 0.1, sustain = 1, pan = 0, loop = 1| var audio; rate = rate * BufRateScale .kr(bufnum); startPos ...
-
... effect on existing file: b = Buffer.read(s, 'C:/Folder/File.wav') {PermModT.ar(PlayBuf.ar(2, b),SinOsc.kr(0.1,0,2000,4000),4200)}.play helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/JoshUGens/HelpSource/Classes/PermM ...
-
... Buffer .read(s, "sounds/a11wlk01.wav" ); ( x = { var in, chain, phasedev; in = PlayBuf .ar(1, c.bufnum, BufRateScale .kr(c.bufnum)); chain = FFT (b.bufnum, in); phasedev = FFTPhaseDev .kr(chain, 0, 10) * 0.1; phasedev.poll(10, "Phase devia ...
-
... ctave up, 0.5 is one octave down. -1.0 is backwards normal rate ... etc. Unlike PlayBuf , the rate is multiplied by BufRate, so you needn't do that yourself. centerPos the position in the buffer in seconds at which the grain envelope will r ...