-
... me stamp, indicating the precise time the sound is expected to hit the hardware output. Latency In the SuperCollider language, the time stamp is generated behind the scenes based on a parameter called "latency." To understand how latency wo ...
-
... .)).postln; ) ⧉ ✔ Event stream (sound) examples: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }). ...
-
... tem (or nil), nil ] next states: nil is terminal ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }). ...
-
... dt trigger. Source: Trig.sc See also: InRange , InRect Description If in > hi , output 1. If in < lo , output 0. Otherwise, repeat the last sample of output, assumed to be 0 at initialization. In sclang-flavored pseudocode: out[i] = if(in[i ...
-
... , group, bus1, bus2, env, freq, control, task; var cond; cond = Condition.new; Routine.run({ pnotes = CtkProtoNotes( SynthDef(\test, {arg dur, freq, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGen ...
-
... or change the linlin to linexp in the SynthDef below. ( SynthDef(\lineReset, { |out, start = 0, end = 1, dur = 1, t_trig = 1, run = 1| var phasor = Sweep.ar(t_trig, run / dur).linlin(0, 1, start, end, \minmax); phasor.poll; Out.ar(out, SinO ...
-
... wgrav, world, n= 6, nRocks= 15, rocks, objs; //--synthesis SynthDef(\pmdrim, {|out= 0, freq= 400, freq2= 200, dur= 0.1, amp= 1, pan= 0| var z, e; e= EnvGen.ar(Env.perc(0.01, dur), doneAction:2); z= SinOsc.ar(freq, SinOsc.ar(XLine.ar(freq2, ...
-
... External Control > MIDI'>MIDI MIDIIn : Object receive MIDI messages Source: MIDIOut.sc See also: MIDIClient , MIDIOut , MIDIFunc , MIDIdef , MIDI , Using MIDI Description This document explains technical details of the MIDI hardware interfa ...
-
... f), Pseries(0, 0.01, inf)); ⧉ ✔ // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05, amp = 0.1| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2, amp), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(fr ...
-
... new descs ( ~synthDescRel.addDependant({|descRelay, what, desc, defcode| "Check out this new def!!\n\n%\n".format(defcode).postln; }); ) // now someone make a def SynthDef(\foo, {|freq = 440, dur = 1, amp = 0.1| Out.ar(0, SinOsc.ar(freq, 0, ...