-
... 'sine', [ 'str', 'num', 'num' ], {|str, num1, num2| {SinOsc.ar(num1, 0, num2)}.play }, "play sine wave" ], [ 'sineArr', [ 'str', 'arr', 'arr', 'num' ], {|str,arr1,arr2,num| {SinOsc.ar(arr1, num, arr2)}.play }, "play sine wave" ], [ 'ls', [ ...
-
... odify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.5 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chans:2); }) ) //Using Env and resync a.interpDur( ...
-
SWDataNetworkLog If data from a network has been recorded, the file can be played back, using this class. *new ( fn, netw ) Create a new instance. fn is the filename. netw is the SWDataNetwork to set the data to. If none is given, the class ...
-
// Check if the player is playing a chord instead of single notes ChordCheck { classvar <> waittime = 0.05; classvar <> classlock = false; classvar <> classchord; var <> lock = false; var <> chord; *new { ^super.new.init(); } *check {arg nu ...
-
... on, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ PHSparPlayer : PHelpSynthParPlayer {} PHelpSynthParPlayer : PHelpSynthUsePlayer { var <>helpSynthPlayer, <>isSwitchPlaying = false; *new { arg pHelpSynthPar; ^super.n ...
-
... e (8).linlin(0, 1, 400, 800)+ PSinOsc (40).linlin(-1, 1, -10, 10), \dur , 0.25).play a.stop //or the same thing without using linlin a= Pbind ( \freq , PLFPulse (8, 0, 0.5, 400, 400)+ PSinOsc (40, 0, 10), \dur , 0.25).play a.stop //--compar ...
-
... 0.5;\ Out .ar(out,\ SelectL .ar( LFSaw .ar(1.0,0.0,cycle,cycle),a) * 0.2\ )\ \).play;\ \ ) \ \ \ Here used as a sequencer:\ (\ SynthDef ( "help-SelectL-2" ,\ arg speed = 1.0, out=0;\ // compare to Select example \ var a,s,cycle;\ a = Array ...
-
// Ndef is a named placeholder for a sound process Ndef(\x ).play; // put a sound there Ndef(\x, { GrayNoise.ar } ).play; // replace it with a more specific version, e.g. softer? Ndef(\x, { GrayNoise.ar([0.2, 0.2]) } ).play; // or a differe ...
-
// this guy interrupts a playing stream to allow midi input var saveSubType = AbstractChuckArray.defaultSubType; AbstractChuckArray.defaultSubType = \midiInputWrapper; PR(\abstractProcess).v.clone({ // if true, using this as a wrapper will ...
-
+ Score { playAsTask { arg server, clock; var size, osccmd, timekeep, inserver, rout; isPlaying.not.if({ inserver = server ? Server.default; size = score.size; timekeep = 0; routine = Task({ size.do { |i| var deltatime, msg; osccmd = score[ ...