-
... methods Instance Methods Inherited instance methods Examples b = Buffer.read(s, ExampleFiles.child); // compares a 1102.5 Hz sine tone (11025 * 0.1, left) with a 1100 Hz tone (right) // the apollo sample has a sample rate of 11.025 kHz ( { ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-magNoise", { |out = 0| var in, chain; in = SinOsc.ar(SinOsc.kr(SinOsc.kr(0.08, 0, 6, 6.2).squared, 0, 100, 800)); chain = ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( var in, chain; in = Mix.arFill(3, { LFSaw.ar(exprand(100, 500), 0, 0.1) }); chain = FFT(LocalBuf(2048), in); chain = PV_MagClip(chain, Mo ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( // trig with MouseY SynthDef("help-binScramble", { |out = 0, soundBufnum = 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-magFreeze", { |out = 0| var in, chain; in = SinOsc.ar(LFNoise1.kr(5.2, 250, 400)); chain = FFT(LocalBuf(2048), in); // mov ...
-
... , and returns a Buffer object. Using the UGen PlayBuf, we can play the file. // ExampleFiles helps locate audio files used in examples p = ExampleFiles.child; // peek at the path to see location and the format of a path p.postln; // read a ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( var exBuf; Dialog.getPaths({ |paths| // get a second soundfile; paths.do({ |p| exBuf = Buffer.read(s, p); SynthDef("help-min", { |out = 0 ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( var exBuf; Dialog.getPaths({ |paths| // get a second soundfile; paths.do({ |p| exBuf = Buffer.read(s, p); SynthDef("help-max", { |out = 0 ...
-
... Instance Methods Inherited instance methods Examples s.boot; c = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-randcomb", { |out = 0| var sig, chain; sig = WhiteNoise.ar(0.8); chain = FFT(LocalBuf(2048), sig); chain = PV_RandComb(cha ...
-
... (chain, MouseY.kr > 0.5); 0.5 * IFFT(chain).dup; }.play ); ( b = Buffer.read(s, ExampleFiles.child); // trig with MouseY crossing center of screen { var in, chain; in = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1); chain = FFT(LocalBuf(204 ...