-
... "make sense" in succession (and unwanted transitions can be prevented). If this sounds a bit like a Markov chain, that's because the Pfsm implementation is a special case of a Markov chain where there is an equal probability of choosing the ...
-
... snd, b; w = Window.new; b = Button(w, Rect(20, 20, 80, 26)) .states_([["start a sound", Color.black, Color.green], ["stop", Color.black, Color.red]]) .action_({ }); v = VLayoutView(w, Rect(140, 20, 200, 300)); // Group the following views S ...
-
... can be very helpful for things like keeping effects or processing separate from sound sources, and in the right order. Let's reconsider our reverb example from the previous section. ( // a stereo version SynthDef(\tutorial_DecaySin2, { arg ...
-
... objects, which contain names and values describing how the note is supposed to sound. - It does this by reading through the 'name, pattern' pairs, getting values from each pattern stream in turn and adding the values to the result Event. - ...
-
... frequency-modulation sample into a buffer before running the pattern. // make a sound sample ( var recorder; fork { b = Buffer.alloc(s, 44100 * 2, 1); s.sync; recorder = { |freq = 440| var initPulse = Impulse.kr(0), mod = SinOsc.ar(freq) * ...
-
... ampleRate * 16; // plot 16 blocks var min = -2, max = b.bufnum + 4; // input is SoundIn, but we don't see this signal { FFT(b, SoundIn.ar) }.plot(dt, minval:min, maxval:max).plotMode_(\steps); ) b.free; // free the buffer again ⧉ ✔ Phase Vo ...
-
... poClock.default.tempo = 1; Tdef(\x).stop; Tdef(\x).play; Tdef(\x).clear; ⧉ ✔ // sound example ( // load a synthdef s.boot; SynthDef(\pdef_grainlet, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.3 ...
-
... ent (by default, this is type \note ). (freq: 761).play // play a default synth sound with 761 Hz ⧉ ✔ Class Methods Class variables Event. parentEvents An extendible IdentityDictionary of useful parent events. Event. partialEvents An extend ...
-
... types: File path : used for when a string is a filesystem path, like /home/self/sound.wav or c:\document.txt Generic buffer : when a string should be interpreted as a a raw binary blob. Float array : when a parameter has a fixed number of f ...
-
... unds.moveBy(430, 50); g.font_(Font("Helvetica", 9)); ); ) ///////////////// ////Sound Example ( // example to explore a synthesis idea: p = ProxySpace.push(s.boot); q = q ? (); q.freqRange = [200, 2000]; q.ampRange = [0.1, 1]; q.ringRange = ...