-
Scoping Out Some Plots Function has two other useful audio related methods. The first you've already seen some results of, Function-plot: { PinkNoise .ar(0.2) + SinOsc .ar(440, 0, 0.2) + Saw .ar(660, 0.2) }.plot; This makes a graph of the s ...
-
... values SynthDef ( "withControls" , { arg freq = 440, beatFreq = 1, mul = 0.22; Out .ar( 0, SinOsc .ar([freq, freq+beatFreq], 0, mul) ) }).load(s); ) // items in the array are passed to the controls in Synth when it's created z = Synth ( "w ...
-
... s Receiving MIDI input: MIDIIn Playing notes on your MIDI keyboard Sending MIDI out MIDI synchronization Third party libraries Introduction SuperCollider's out of the box MIDI support is fairly thorough (although not as complete as you'll f ...
-
... . { 1000000.do({ 1.0.rand }); }.bench; fork(clock, quant, stackSize) Returns a Routine using the receiver as it's function, and plays it in a TempoClock . { 4.do({ "Threadin..." .postln; 1.wait;}) }.fork; forkIfNeeded(clock, quant, stackSiz ...
-
... Pan2 .ar( PinkNoise .ar(0.4), FSinOsc .kr(2)) }); SynthDef ( "help-LinPan2" , { Out .ar(0, LinPan2 .ar( FSinOsc .ar(800, 0, 0.1), FSinOsc .kr(3))) }).play;
-
... k var w, r; w = Window .new( "trem" , Rect (512, 256, 360, 130)); w.front; r = Routine ({ arg appClockTime; [ "AppClock has been playing for secs:" ,appClockTime].postln; 60.do({ arg i; 0.05.yield; w.bounds = w.bounds.moveBy(10.rand2, 10.ra ...
-
... dth, iphase, loop, doneAction) A non-band-limited gaussian function oscillator. Output ranges from minval to 1. LFGauss implements the formula: f(x) = exp(squared(x - iphase) / (-2.0 * squared(width))) where x is to vary in the range -1 to ...
-
... playing synth by step using arrow keys ( s.waitForBoot({ n={ arg freq=220; var out; out= SinOsc .ar(freq,0,0.2); 8.do{out = AllpassN .ar(out, 0.2,0.02+0.20.rand,8)}; out; }.play; w = Window ( "Use arrow keys to change the frequency by step ...
-
... sk and returns the instance, like Pdef and Ndef . See also: TaskProxy , Task , Routine Graphical overview over all current Tdefs: TdefAllGui . Overview: JITLib First Example Tdef ( \x , { loop { 0.5.wait; "aaaaaaaaaaaaaazz" .scramble.postln ...
-
... on writing new pattern classes Why patterns? Patterns describe calculations without explicitly stating every step. They are a higher-level representation of a computational task. While patterns are not ideally suited for every type of calcu ...