-
... will then retrieve the patterns from the global Pdef dictionary // See the post window for info about which of these are playing Psym( Prewrite(\a, // start with pattern \a ( \a: #[\a, \b], \b: #[\c, \a], \c: #[\a, \b] ), 4).trace ).play ) ...
-
... ny others? // trigger percussion-style notes from computer keyboard while above window. // could also be done without NPVoicer, but it is convenient with NPVoicer. ( s.latency = nil; g = NPVoicer(Ndef(\x)); g.prime({ |freq = 400| SinOsc.ar( ...
-
... ar width= 300, height= 300, wgrav; ~n= 8; //--world RedUniverse.clear; ~win= RedWindow("livecoding worlds test", Rect(128, 164, width, height)).front; ~world= RedWorld.new; //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, he ...
-
... Examples Use as envelope view ( // use shift-click to keep a node selected w = Window("envelope", Rect(150, Window.screenBounds.height - 250, 250, 100)).front; w.view.decorator = FlowLayout(w.view.bounds); b = EnvelopeView(w, Rect(0, 0, 23 ...
-
... rver's node tree. You should have seen something like the following in the post window when executing the example above: nodes on localhost: a Server Group(0) Group(1) Group(1000) Group(1001) Synth 1002 ⧉ ✔ When you see a Group printed here ...
-
... aped segments. \welch \wel sinusoidal segments shaped like the sides of a Welch window. \squared \sqr squared segment. \cubed \cub cubed segment. a Float a curvature value for all segments. 0 means linear, positive and negative numbers curv ...
-
... ampExp the amplitude function is a cosine function, with an exponent to change window width. // different ampExp values: exponents of 1, 2, and 4 (0, 0.01 .. 2pi).collect { |x| 1 - cos(x) ** 1 }.plot (0, 0.01 .. 2pi).collect { |x| 1 - cos( ...
-
... play': // trace indicates all events with delta = 0 (maxNull = 128) in the post window // Pseq("ab", inf).trace.symplay // ATTENTION: with Psym the example leads to a SC hang ! // Psym(Pseq("ab", inf), currentEnvironment).trace.play ) ⧉ ✔ h ...
-
... ents: newval A new value, should be a SimpleNumber . makeGui Create a graphical window displaying the signal characteristics Returns: a SignalCharacteristicsGui . maxsize The maximum number of samples to calculate the characteristics of. . ...
-
... runInTerminalCmd = "xterm -T % -e %" ⧉ ✔ The first "%" is a placeholder for the window title, and the second is a placeholder for the actual command to be executed. Refer to your terminal emulator's documentation to find appropriate command ...