-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-localMax", { |out = 0| var in, chain; in = Mix.arFill(3, { LFSaw.ar(exprand(100, 500), 0, 0.1) }); chain = FFT(LocalBuf(20 ...
-
... mono, so the number of samples matches the number of frames b = Buffer.read(s, ExampleFiles.child); // indexing with a phasor { BufRd.ar(1, b, Phasor.ar(0, BufRateScale.kr(b), 0, BufSamples.kr(b))) }.play; // indexing by hand { BufRd.ar(1, ...
-
... 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 ...
-
... nce methods Examples s.boot; ( b = Buffer.alloc(s, 2048, 1); c = Buffer.read(s, ExampleFiles.child); ) ( SynthDef("help-magSmear", { |out = 0, bufnum = 0| var in, chain; in = LFSaw.ar(500, 0, Decay2.ar(Impulse.ar(2, 0, 0.2), 0.01, 2)); chai ...
-
... nent reuse (the oop mantra). ( // read a soundfile from disk b = Buffer.read(s, ExampleFiles.child); // a samplePlayer in mono ... one channel only SynthDef("aMonoSamplePlayer", { arg bus = 0, bufnum = 0, rateScale = 1; Out.ar( bus, PlayBuf ...
-
... inA, chainB); Out.ar(out, 0.5 * IFFT(chain).dup); }).play; ) c = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-magMul2", { |out = 0, soundBufnum = 0| var inA, chainA, inB, chainB, chain; inA = LFSaw.ar([100, 150], 0, 0.2); inB = Play ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-magMul", { |out = 0| var inA, chainA, inB, chainB, chain; inA = WhiteNoise.ar(0.2); inB = LFSaw.ar(100, 0, 0.2); chainA = ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-copyPhase", { |out = 0| var inA, chainA, inB, chainB, chain; inA = SinOsc.ar(SinOsc.kr(SinOsc.kr(0.08, 0, 6, 6.2).squared, ...
-
... (VLayout(*a), VLayout(*b)); ) ( w = Window().front; f = { SoundFileView(w).load(ExampleFiles.child, 1e5.rand, 1e4) }; a = { HLayout(VLayout(*{ Slider(w, Rect(0, 0, 230, 20)).minSize_(Size(130, 20)) } ! 3), f.value) } ! 4; w.layout = HLayout ...
-
... (VLayout(*a), VLayout(*b)); ) ( w = Window().front; f = { SoundFileView(w).load(ExampleFiles.child, 1e5.rand, 1e4) }; a = { HLayout(VLayout(*{ Slider(w, Rect(0, 0, 230, 20)).minSize_(Size(130, 20)) } ! 3), f.value) } ! 4; w.layout = HLayout ...