-
... time, Pkey(\delta) / Pfunc { thisThread.clock.tempo }, ⧉ ✔ ( b = Buffer.read(s, ExampleFiles.child); SynthDef(\stretchedFragments, { |out, bufnum, start, time = 1, stretch = 1, amp = 1, attack = 0.01, decay = 0.05| var sig = PlayBuf.ar(1, b ...
-
... r this trigger, the change will take effect. // next example b = Buffer.read(s, ExampleFiles.child); ( { var input, kernel; input = SoundIn.ar(0); // must have power of two framesize Out.ar(0, Convolution2.ar(input, b.bufnum, 0, 512, 0.5)); ...
-
... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( { var trate, dur, rate; trate = MouseY.kr(2, 200, 1); dur = 4 / trate; rate = Dseq([10, 1, 1, 0.5, 0.5, 0.2, 0.1], inf); TGrains.ar(2, Im ...
-
... sing here is almost instantaneous. ( var server, inputFile = SoundFile.openRead(ExampleFiles.child); inputFile.close; // doesn't need to stay open; we just need the stats server = Server(\nrt, options: ServerOptions.new .numOutputBusChannel ...
-
... bands by 1 and summing // assumes hop of half fftsize, fine d = Buffer.read(s, ExampleFiles.child); ( x = { var in, fft, array; // in = PlayBuf.ar(1, d, BufRateScale.kr(d), 1, 0, 1); in = SoundIn.ar(0); fft = FFT(LocalBuf(1024), in); // fo ...
-
... oad something useful for testing, like a one minute pop song b = Buffer.read(s, ExampleFiles.child); // very feature dependent ( SynthDef(\help_beattrack2_1, { |out, vol = 1.0, beepvol = 1.0, lock = 0, bufnum| var in, kbus; var trackb, trac ...
-
... a = Pproto({ ~newgroup = (type: \group).yield; ~sf1 = (type: \allocRead, path: ExampleFiles.apollo11).yield; }, Pbind(*[ instrument: \help_playbuf, dur: Pseg([0, 0, 0.25, 0.5, 0.75, 1], 10).linexp(0, 1, 0.01, 2), legato: 4, startPos: Pn(Ps ...
-
... .load(s); y = Synth.basicNew("help-Buffer"); // not sent yet b = Buffer.read(s, ExampleFiles.child, action: { arg buffer; // synth send its s_new msg to follow // after the buffer read completes s.sendBundle(nil, y.newMsg(s,[\bufnum,buffer] ...
-
... rom, to, sustain) * BufFrames.kr(bufnum) ) * env ) }).add; ) b = Buffer.read(s, ExampleFiles.child) ( Pdef(\poch, { arg sustain=1.0, from=0.0, to=1.0, n=3; var step; sustain = sustain.value; step = (to - from) / n; Pbind( \instrument, \play ...
-
... 357]) * SinOsc.ar([400, 476]) * 0.2 }.plot; // Buffer { var b = Buffer.read(s, ExampleFiles.sinedPink); s.sync; b.plot }.fork(AppClock); // Env Env.perc(0.4, 0.6).plot; ⧉ ✔ plotGraph (n, from, to, ...) { |x| sin(x) }.plotGraph(300, 0, 2*pi ...