-
... LFTri .ar(0.4, 0, 0.99); FOS .ar( LFSaw .ar(200, 0, 0.2), 1 - x.abs, 0.0, x) }.play; ) ( // same as OneZero { var x; x = LFTri .ar(0.4, 0, 0.99); FOS .ar( LFSaw .ar(200, 0, 0.2), 1 - x.abs, x, 0.0) }.play; ) ( // same as OnePole, kr { var ...
-
... freq stays constant { Formant .ar( XLine .kr(400,1000, 8), 2000, 800, 0.125) }.play // modulate formant frequency, fundamental freq stays constant { Formant .ar(200, XLine .kr(400, 4000, 8), 200, 0.125) }.play // modulate width frequency, ...
-
... ime as part of their calculation. Event patterns are naturally time-driven when played on a clock. (Technically it's possible to request events from an event stream without running it in an EventStreamPlayer, but this is not typical usage.) ...
-
... use of division by zero. { PinkNoise .ar(0.1) / FSinOsc .kr(10, 0, 0.5, 0.75) }.play; { PinkNoise .ar(0.1) / FSinOsc .kr(10, 0, 0.5) }.play; //note: div by zero
-
... (1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) // Diwhite ( { var a, freq, trig; a = Diwhite (0, 15, inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc ...
-
... 2], inf ), \legato , Pfunc { ~legato } // retrieves value set by MIDI control ).play; ) p.stop; c.remove; If Pfunc { } is bothersome in the Pbind, a PatternProxy or Pdefn could also serve the purpose. ( ~legato = PatternProxy (1); c = CCRes ...
-
... ing to 500Hz { FreqShift .ar( SinOsc .ar(100), XLine .kr(1,500,5),0,[0.5,0.5])}.play(s); // shifting a complex tone by 1 Hz rising to 500Hz { FreqShift .ar( Klang .ar(`[[101,303,606,808]]), XLine .kr(1,500,10),0,[0.25,0.25])}.play(s); // mo ...
-
Cookbook: Sequencing basics Playing a predefined note sequence The following are three different ways of playing the same famous fugue subject. The first is brute force, listing all the scale degrees mechanically in order. The second and th ...
-
... ((0..7).mirror), dur: 0.2]) ); sp.wait(0.4) }; sp.wait(1.6); sp.suspendAll; }).play ) ( // example 2: create 5 streams at 4 second intervals // then delete them in the order they were created Pspawner ({ | sp | var streams, stream; // star ...
-
... e Moog VCF . In Proc. ICMC07, Copenhagen, 25-31 August 2007 Examples s.boot; // Play it with the mouse... x = { MoogFF .ar( WhiteNoise .ar(01.1), MouseY .kr(100, 10000, 1), MouseX .kr(0, 4)) }.play(s); x.free; // Mmmm, throbby x = { MoogFF ...