-
... that uses a Pattern to create two instances of the random melody stream. ( s = Server .local; SynthDef ( \help_SPE2 , { arg i_out=0, sustain=1, freq; var out; out = RLPF .ar( LFSaw .ar( freq ), LFNoise1 .kr(1, 36, 110).midicps, 0.1 ) * Env ...
-
... 0.5.rand); })) Window .closeAll; // close all the windows (This will close the server windows) Snooping in SynthDefs // First execute this: ( f = SynthDef ( "Help-SnoopSynthDef" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }); ) f.dumpU ...
-
... fault event prototype uses a msgFunc to determine which bindings to pass to the server. Synthdefs that have been stored in a SynthDescLib ("synth description library") construct the msgFunc automatically. The default event looks up the inst ...
-
... of cent values. ratios Returns a tuned array of ratios. as(LocalBuf) Useful for server-side work. ( r = { var scale = Scale .choose.postln; SinOsc .ar( ( DegreeToKey .kr( scale.as( LocalBuf ), MouseX .kr(0,15), // mouse indexes into scale s ...
-
... le UGens, including those which were created since this tour was written. ( s = Server .internal; Server .default = s; s.boot; ) Periodic Sources: Oscillators. LF - "Low Frequency" Unit Generators. LFPar, LFCub, LFTri, Impulse, LFSaw, LFPul ...
-
... rown (-0.1, 0.1, 0.1, inf ), SampleDur .ir * MouseY .kr(1, 100, 1) ); }.play; ) Server .internal.boot; // hardsyncing a saw ( { DemandEnvGen .ar( Dseq ([ Dseries (-0.1, 0.01, 20)], inf ), SampleDur .ir * MouseY .kr(1, 100, 1), 1, 0, K2A .ar ...
-
... n needs to save its synth object so that the note off message can end the right server-side node. s.boot; ( var notes, on, off; //MIDIIn .connect; notes = Array .newClear(128); // array has one slot per possible MIDI note on = NoteOnRespond ...
-
... /////////////////////////////////////////////////// // Sound example ( // start server s.waitForBoot({ var w, startButton, noteControl, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth ...
-
... d example to show how you might use Streams to generate musical material. ( s = Server .local; SynthDef ( \help_SPE1 , { arg i_out=0, freq; var out; out = RLPF .ar( LFSaw .ar( freq, mul: EnvGen .kr( Env .perc, levelScale: 0.3, doneAction: 2 ...
-
... th OSCresponder, MIDIResponder, HID or GUI action functions, or actions used in server messaging (such as Buffer.read, Buffer or Bus .get, and so on). Environment variables have dynamic scope; they are read from whichever environment is cur ...