-
A simple color picker. Posts picked color to the postwindow. Based on (non-functional) code found at http://swiki.hfbk-hamburg.de:8888/MusicTechnology/868 (scsolar 2007) ( var res = 20, scrsize = 200, val, set, win, scr, currentColor = ...
-
... olution ( var w, buttons, data, synths, dims = [16,16], resolution = 4; w = Window("rand-n-step", Rect(50,250,dims[0]*22 + 10,dims[1]*22+10)); synths = Array.fill(dims[1], { |i| SynthDef('rstp'++i, { var sig = Pan2.ar( PMOs ...
-
... lta (secs) for the AppClock to wait until resuming the Routine. ( 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 ...
-
... ); }.play; ) // Now we can grab the FFT buffer and peek at the magnitudes ( w = Window .new.front; t = Task {loop{ 0.1.wait; b.loadToFloatArray(action: { |data| { w.view.children.do( _ .remove); w.refresh; data[2..].clump(2) .collect { |a| ...
-
... "Blip")*/ spectrum = ((1..12).collect({ |n| (freq:n, amp:1/4, phs:pi/2) })); Window.closeAll; shm = { arg input = [(freq:1, amp:1, phs:0)], freqscl=0.5, ampscl=75, datasize=200, framerate=40; var win, cview, wview, phs; var t = ...
-
... / decentralised discovery of participants // find who's on the network ( ~win = Window("AdHocSociety").front; ~win.layout = VLayout.new.add(~listView = ListView.new); ~addrBook = AddrBook.new; // to get updates, just add a dependant ~addrBo ...
-
... oftSet which knows lastVal, // softVol_ and softVol_ which knows lastVol: ( w = Window("softVol", Rect(500, 200, 400, 240)).front; w.view.addFlowLayout; NdefGui(Ndef(\test), 2, w); // same for volume - not too safe EZSlider(w, 340@30, \soft ...
-
... t channels to monitor. Note that to stop the meterbridge, you need to close its window. There is no method provided to do this from SC. Other methods: SCJMeterBridge.prepend sets the prepend, so that you do not have to call it for the insta ...
-
... ts[0]*length); points.do{|x| penClass.lineTo(x*length)}; penClass.stroke; } makeWindow {|name, bounds, scale= 1, background, color, width= 1| var win, usr, w, h, centerX, centerY; name= name ?? {"fingerprint"+points.size+"points"}; bounds= ...
-
... t channels to monitor. Note that to stop the meterbridge, you need to close its window. There is no method provided to do this from SC. Other methods: SCJMeterBridge.prepend sets the prepend, so that you do not have to call it for the insta ...