-
... urce (w, Rect (10,130,150,20)).align_( \center ).setBoth_( false ); f.object={{ SinOsc .ar(440,0,0.4)}.play}; f.string= "My label is independent" ; f.dragLabel= " My dragLabel_() says \n I am dragging a sound function " ; // receive anthing ...
-
... 1st, evaluate a synthdef ( SynthDef ( "ringModulation" , { Out .ar( 0, Mix .ar( SinOsc .ar([440.067, 441.013], 0, 1) * SinOsc .ar([111, 109], 0, 0.2) ) ) }).load(s); ) // 2nd, make a synth ( Synth ( "ringModulation" ); ) // 3rd, tell the se ...
-
... ; env = Linen .kr(gate, 0.05, 1, 5, 2); in = In .ar(out, 2); XOut .ar(out, env, SinOsc .ar(freq, in * index)); }).add; Pproto ({ ~fsynth = ( type: \on , instrument: \fm , freq: 4, index: 1, addAction: 1, db: -30).yield; ~fControl = [ \set , ...
-
... this string with the following args. "These are some args: " .catArgs( \fish , SinOsc .ar, {4 + 3}).postln; scatArgs(... args) Same as catArgs, but with spaces in between. "These are some args: " .scatArgs( \fish , SinOsc .ar, {4 + 3}).pos ...
-
... 5, 1, 0.1, 2); XOut .ar(out, env, ( In .ar(out, 2) + ( LFPulse .kr(1, 0, 0.3) * SinOsc .ar(1000) * 0.4) )); }, [ \ir , 0.1, 0.1, 0]).add; ) ( var a; a = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); a = Pfxb (a, \echo , \ ...
-
... eam; SynthDef ( \smooth , { |freq = 440, sustain = 1, amp = 0.5| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .linen(0.05, sustain, 0.1), doneAction: 2); Out .ar(0, sig ! 2) }).send(s); r = Task ({ var delta; while { delta = du ...
-
... ,tempo, phase, period, groove= BeatTrack2 .kr(0,4,2.0, 0.02, lock, -2.5); beep= SinOsc .ar(1000,0.0, Decay .kr(trackb,0.1)); Out .ar(0, Pan2 .ar((vol*in)+(beepvol*beep),0.0)); }).play ) a.set( \vol ,0.0); a.set( \vol ,1.0); a.set( \beepvol ...
-
... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) // play a layered pattern with gaps and overlays ( x = Pbind ( \instrument , \help_sinegrain , \degree , Pn ( Plazy ({ Prand ...
-
... urce (w, Rect (10,130,150,20)).align_( \center ).setBoth_( false ); f.object={{ SinOsc .ar(440,0,0.4)}.play}; f.string= "My label is independent" ; f.dragLabel= " My dragLabel_() says \n I am dragging a sound function " ; // receive anthing ...
-
... d to trigger the /tr message to be sent SendTrig .kr( Impulse .kr(4), 0, freq); SinOsc .ar(freq, 0, 0.3) ! 2 }.play; [ /tr, 1000, 0, 1340.8098144531 ] [ /tr, 1000, 0, 1153.9201660156 ] [ /tr, 1000, 0, 966.35247802734 ] [ /tr, 1000, 0, 629.3 ...