-
... \out, shared: ( ioType: \out, page: 2, midiChan: 1 ), // page not in hardware, just for GUI elements: [ ( key: \mc, shared: ( midiMsgType: \noteOn, spec: \midiLedTri, elementType: \led, mode: \tristate ), elements: 8.collect{ |i| ( midiNum ...
-
... .buffer), start, end) ) }.scope(zoom: 8); ) x.set( \start , 0, \end , 1024); // just some random length, may buzz x.set( \start , w.xings.at(100), \end , w.xings.at(101)); x.set( \start , w.xings.at(101), \end , w.xings.at(102)); x.set( \st ...
-
... ar(0.003) }.dup, i_freq); Out.ar(out, klank); }).add; ) // nothing special yet, just using the default set of harmonics. a = Synth(\help_Klank, [\i_freq, 300]); b = Synth(\help_Klank, [\i_freq, 400]); c = Synth(\help_Klank, [\i_freq, 533.33 ...
-
I've been building some tutorials for SuperCollider and just wanted to share this one I made on creating a Chaos Machine in SuperCollider. Full disclosure: I a not a computer scientist and I'm not an expert at SuperCollider. There are proba ...
-
... now allows spawning the plotting synth relative to a group or node rather than just a server. Breaking change: File:mkdir now returns a Boolean indicating whether the operation was successful. Previously, it returned the File object. Scrol ...
-
... prehensions are for getting a series of solutions to a problem. in SC these are just a syntax macro for a longer expression. read this as "all [x,y] for x in 1..5, y in 1..x, such that x+y is prime" : all {:[x,y], x <- (1..5), y <- (1..x), ...
-
... tView(w.asView, Rect(10, 10, 500, 200)) .focus(true); ) // Using the Window you just created, try these in succession, and test how the text view responds t.mouseUpAction_{ |it, x, y, modifiers, buttonNumber| [x, y].postln }; t.autohidesScr ...
-
... to determine whether to sustain the previous note, or leave a rest? // for now just leave a rest #{ |source| var lo, hi, numToDrop, newNote; source = source.notes.copy; // must copy array before modifying lo = rand(source.size-1)+1; // can ...
-
... ); Out.ar(0, snd); }).add; // simple synthdef, no filters or effects, just env and panning control SynthDef("ragebass", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, release = 0.5, panning = 0; var snd; s ...
-
... n the controller creates wide jumps, // e.g. when making wild movements. if one just relies on proximity, // one can 'lose' the control. SoftSet(Ndef(\a), \freq, 500, 0.025, lastVal: 200); // SoftSet(Ndef(\a), \freq, 1000, 0.025, lastVal: 5 ...