-
... be accessed from outside // i.e. to pause, stop, resume, etc // also we need a synthDef // standard is an array of names var <>graph, <>task ; var <>clock ; var <>startingVertex ; var <>aID ; var <>weight ; var isPlaying = false; // constr ...
-
... bias can be seen as adding randomness level/256+(bias*256); } ) // lets test ( SynthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600,end: 50, dur: 0.1, doneAction: Done.freeSelf))*0.5; Out.ar(out, Pan2.ar(sig)); }).add; SynthDef(\ ...
-
... //featuresforbeats = false; featuresbysegments = false; //mono input only def = SynthDef(\SCMIRAudioFileFeatures,{arg playbufnum, length; var env, input, features, trig; // var , chain, centroid, ; // var mfccfft, chromafft, specfft, onsetf ...
-
... // now loops EXAMPLE 2 // record rhythm only, play by hand // a sound to use ( SynthDef(\toc, { Out.ar(0, XLine.ar(1, 0.01, 0.02, doneAction: 2) * SinOsc.ar([600, 1300, 4500], 0, [0.3, 0.2, 0.1]).postln); }).add; ) (instrument: \toc).play; ...
-
... e; //and wait till the button gets pressed // functions ~makeSynths = { SynthDef("plucking", { arg outbus = 0, amp = 0.2, sAmp=0.5, freq = 440, pluckDecay = 5, coef = 0.1, pan = 0, atk = 0.01, sus = 0.05, rel = 0.5, trig ...
-
... ws = // #[ // "Avg CPU :", "Peak CPU :", // "UGens :", "Synths :", "Groups :", "SynthDefs :" // ].collect { arg name, i; // var label,numView, pctView; // label = gui.staticText.new(w, Rect(0,0, 80, 12)); // label.string = name; // label.fo ...
-
... ; ~ride = Buffer.read(~s1, '/samples/Ride/Ride909-accent050-tune050.wav'); ( SynthDef(\moap, { // YES everything runs at audio rate. Works with hardware clocks but please don't send 5v into your microphone input, find some way to atten ...
-
... }); }); ) /////////////////// some examples from the development of Grid // the synthdef used in the examples ( SynthDef ( \pure , { arg freq=440, pan=0.0, vol=0.3, envdur=0.8; var signal, envArray, env; env = EnvGen .kr( Env .perc(0.01, en ...
-
... machine's interpreter is blocked for a few seconds // (MIDI init, building huge synthdefs, etc.) // 2. Or, one or the other timebase shifted and the old 'diff' is invalid. // (Obviously this should never happen, but I've seen it, repeatedly ...
-
... use the internal server (of course this may also be ok). Having to define audio SynthDefs with respect to possible future control needs (1e, 2a) though is a bit unflexible. So (1d) integrates some nice features, nevertheless this has to be ...