-
... velopes Env.adsr(0.4, 0.4, 0.8, 0.9).plot // Buffers s.boot; b = Buffer.read(s, ExampleFiles.child); b.plot; // +-1 range b.plot(minval: nil, maxval: nil); // auto range b.plot(minval: 0, maxval: nil); // semi-auto range // UGen functions { ...
-
... , 100)); a = SoundFileView.new(w, Rect(20, 20, 700, 60)); f = SoundFile.new; // 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; f.openRead ...
-
... dex into a sound file // allocate a buffer with a sound file b = Buffer.read(s, ExampleFiles.child); // simple playback (more examples: see BufRd) // Start and end here are defined as 0 and the number of frames in the buffer. // This means ...
-
... ods Inherited instance methods Examples // read a sound file d = Buffer.read(s, ExampleFiles.child); // crossfade between original and magmul-ed whitenoise ( { var in, in2, chain, chainB, chainC; in = PlayBuf.ar(1, d, BufRateScale.kr(d), lo ...
-
... { FFT(b, Dust2.ar(500) * 5); 0.0 }.play; // Impulses a.free; c = Buffer.read(s, ExampleFiles.child); ( m.setInputValue(\framesPerView, 50); a = { var colum; colum = PlayBuf.ar(1, c, BufRateScale.kr(c) * Line.kr(1, 3, 20), loop: 1); FFT(b, c ...
-
... rs. You will not need to use this class for this. See the Buffer helpfile. ( // 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; f = SoundF ...
-
... er, the change will take effect. x.free; ⧉ ✔ // next example b = Buffer.read(s, ExampleFiles.child); ( { var input = SoundIn.ar(0); var framesize = 2048; // must have power of two Convolution2L.ar(input, b, 0, 512, 1, 0.5); }.play ) ⧉ ✔ // ...
-
... without a parent can be shown as a window: ( x = SoundFileView().front; x.load(ExampleFiles.child); ) ⧉ ✔ Every view can be a container Every view can contain other views (i.e. act as their parent). For this reason, if you want to group se ...
-
... ample using a soundfile: // read the soundfile into a buffer d = Buffer.read(s, ExampleFiles.child); ( { var inA, chainA, inB, chainB, chain; inA = LFSaw.ar(100, 0, 0.2); inB = PlayBuf.ar(1, d, BufRateScale.kr(d), loop: 1); chainA = FFT(Loc ...
-
... und = color Examples ( // something to meter s.waitForBoot({ b = Buffer.read(s, ExampleFiles.child); x = { var colum, noise, imp, delimp, mul = 1; imp = Impulse.kr(10); delimp = Delay1.kr(imp); colum = PlayBuf.ar(1, b, BufRateScale.kr(b), l ...