-
... es: // A sample synthDef ( SynthDef ( "helpscore" ,{ arg freq = 440; Out .ar(0, SinOsc .ar(freq, 0, 0.2) * Line .kr(1, 0, 0.5, doneAction: 2) ) }).load(s); ) // write a sample file for testing ( var f, g; TempoClock .default.tempo = 1; g = ...
-
... r jumps that could occur (soft takeover). Ndef ( \test , { |freq=200| Splay.ar( SinOsc .ar(freq * Array.rand(12, 0.95, 1.05))) }); Ndef ( \test ).play(vol: 0.1); Ndef ( \test ).gui(4) Ndef ( \test ).set( \freq , 300); // 3 midi steps == 0.0 ...
-
... ( Env ([la0,la1,la2,la3,la4],[ta0,ta1,ta2,ta3], crva), doneAction: 2); signal = SinOsc .ar([freq, freq*2] * fenv) * aenv * vol; Out .ar(0, signal.dup); }).send(s); ) ( Routine ({ var par, indices; indices = (2..21); loop({ par = (indices ++ ...
-
... n; in = Mix .fill(12, { Pan2 .ar( Decay2 .ar( Dust .ar(0.05), 0.1, 0.5, 0.1) * FSinOsc .ar( IRand (36,84).midicps).cubed.max(0), Rand (-1,1)) }); in = in + Pan2 .ar( Decay2 .ar( Dust .ar(0.03), 0.04, 0.3) * BrownNoise .ar, 0); 4.do { in = A ...
-
... n; in = Mix .fill(12, { Pan2 .ar( Decay2 .ar( Dust .ar(0.05), 0.1, 0.5, 0.1) * FSinOsc .ar( IRand (36,84).midicps).cubed.max(0), Rand (-1,1)) }); in = in + Pan2 .ar( Decay2 .ar( Dust .ar(0.03), 0.04, 0.3) * BrownNoise .ar, 0); 4.do { in = A ...
-
... 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 ...
-
... , pan = 0; var window; window = Env .sine(sustain, amp); Out .ar(out, Pan2 .ar( SinOsc .ar(freq) * EnvGen .ar(window, doneAction:2), pan ) ) } ).store; times = Pseq ([3.4, 1, 0.2, 0.2, 0.2], inf ); levels = Pseq ([0, 1, 2, 3, 4], inf ); a = ...
-
... // the 'NRTsine' SynthDef ( SynthDef ( "NRTsine" ,{ arg freq = 440; Out .ar(0, SinOsc .ar(freq, 0, 0.2) ) }).writeDefFile; ) then on the command line (i.e. in Terminal): ./scsynth -N Cmds.osc _ NRTout.aiff 44100 AIFF int16 The command line ...
-
... g // Now let's create a quick ring-modulator effect: z = { AudioIn .ar([1,2]) * SinOsc .ar( MouseX .kr(100, 1000)) }.play(u) Inside the bundle As an AudioUnit plugin, SuperColliderAU is packaged in a component bundle. All the files needed b ...
-
... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.3), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) Tdef ( \x ).play; ( Tdef ( \x , { loop({ s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , rrand(600, 640)); 0.1.wait; ...