Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. color picker by lfsaw (LFSaw) Code

    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 = ...

  2. rand-n-step by vividsnow (vividsnow) Code

    ... 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 ...

  3. AppClock Help

    ... 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 ...

  4. PV_Div Help

    ... ); }.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| ...

  5. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... "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 = ...

  6. UtopiaExamplesMultiUser_1 Quark

    ... / 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 ...

  7. softVol_ Doc

    ... 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 ...

  8. SCJMeterBridge Quark

    ... 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 ...

  9. RedFingerprint Quark

    ... 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= ...

  10. SCJMeterBridge Quark

    ... 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 ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow