Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. AllGui Quark

    ... .new; // name, countFunc, openFunc AllGui.add(\Karlo, { rrand(1, 5).postln }, { Window("Karlo!").front }); AllGui.new; // protect against closing a.parent.userCanClose_(false); // osx: add a menu item to "Library" Menu: CocoaMenuItem.add([" ...

  2. PsymNilSafe Quark

    ... play': // trace indicates all events with delta = 0 (maxNull = 128) in the post window // Pseq("ab", inf).trace.symplay // ATTENTION: with Psym the example leads to a SC hang ! // Psym(Pseq("ab", inf), currentEnvironment).trace.play )

  3. BSpline Quark

    ... ons PER segment // use ScatterView in MathLib to show interpolated points ( w = Window (bounds: Rect (40, 40, 800, 800)).front; a = ScatterView (w, Rect (10, 10, 760, 760),b.interpolate(20), ControlSpec (0.0,5.0), ControlSpec (0.0,5.0)); a. ...

  4. ChordtrisEngine Quark

    ... tScoring { scoreManager = ChordtrisScoreManager.new; } initShutdown { chordtris.window.onClose_{ updateTask.stop; soundModule.stopMusic; chordtris.setPauseMenuItemEnabled(false); chordtris.setResumeMenuItemEnabled(false); chordtris.unregist ...

  5. XiiBufferPool Quark

    ... hannels; var stereoButt, monoButt, preRecButt; var <bufferPoolNum; var soundFileWindowsList, ram, ramview, fileramview, fileramarray; var cmdPeriodFunc; var txtv, ram; //, loadBufTask; var ampslider, ampAnalyserSynth, responder, vuview, amp ...

  6. XiiMusicTheory Quark

    ... if(setting.isNil, {Point(110, 250)}, {setting[1]}); xiigui = nil; // not using window server class here params = if(setting.isNil, {[0,0,1]}, {setting[2]}); win = GUI.window.new("- basic music theory -", Rect(point.x, point.y, bounds.width ...

  7. RedEffectModuleGUI Quark

    ... ltWidth+4*num); height= 8+RedGUICVSlider.defaultHeight; if(parent.isNil, { win= Window( redEffectModule.class.name, Rect(position.x, position.y, width, height), false ); parent= win; win.front; CmdPeriod.doOnce({this.close}); }); ^View(pare ...

  8. extSignal Quark

    ... amp, i; this.addCosine(2*(i+1), amp, phases @@ i) }); this.overWrite(Signal.hannWindow(this.size) * this) } packetFill2 { arg list; this.fill(0.0); list.do({ arg item, i; var harm, amp, phase; # harm, amp, phase = item; this.addCosine(2*har ...

  9. Shout Quark

    ... )) } }; rect = Rect(0, 0, 1024, 80); } *makeWin { |message="Shout this!"| win = Window("Shout'er", rect).front; win.alpha_(0.7); win.view.background_(Color.clear); win.alwaysOnTop_(true); txtView = TextView(win, win.bounds.moveTo(0,0)); txt ...

  10. Public Quark

    ... s set to true, my own changes are passed into the action function (e.g. the log window) logAll_(bool) if logAll is true, I can see all messages that are coming in, even if they do not effect me (listeningKeys != \all). This is only allowed ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow