Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (745) Code (51) Doc (240) Help (22) Quark (430) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. NumberEditor Quark

    ... ol { arg control; ^control } editWithCallback { arg callback; ModalDialog({ arg layout; this.gui(layout); }, { callback.value(value); }) } set { arg val; this.activeValue_(val).changed; } activeValue_ { arg val; this.value_(val); action.val ...

  2. PostRedirector Quark

    ... E = SynthiGME.instance; ^this } *createWindow {|synthi| if (window.isNil) { var layout; var rect = Rect( Window.availableBounds.width/3.9, Window.availableBounds.height/20, width: 450, height: 400 ); window = Window("Synthi GME Post window" ...

  3. CCBank Quark

    ... .free }.inEnvir) }, //save: { ~source }, //load: { arg bank; bank }, gui: { arg layout; ~source.gui(layout) } ));

  4. InstrStack Quark

    ... ad: { arg stack; // not working }, name: { ~source.instr.asString }, gui: { arg layout; var l; l = layout ?? {PageLayout(~source.instr.asString, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) } ));

  5. TempoGui Quark

    TempoGui : ObjectGui { var tempoG,gnome; writeName {} guiBody { arg layout; var gn,gnomeInstr,h; tempoG = NumberEditor(model.bpm,[1.0,666.0]) .action_({arg t; model.bpm_(t)}); tempoG.gui(layout,160@GUI.skin.buttonHeight,true); if(Instr.isDe ...

  6. TempoGui Quark

    TempoGui : ObjectGui { var tempoG, gnome; writeName {} guiBody { arg layout; var gn, gnomeInstr, h; tempoG = NumberEditor(model.bpm, [1.0, 666.0]) .action_({arg t; model.bpm_(t)}); tempoG.gui(layout, 160@GUI.skin.buttonHeight, true); if(Ins ...

  7. PeakMonitor Quark

    ... IdentityDictionary.new; CmdPeriod.add(this); } *new { arg target = 0, freq = 6, layout; ^super.new.init(target, freq, layout) } init { arg t, f = 2, layout; var groupbus; // to determine if the target is a mixerchannel freq = f ? 2; (groupb ...

  8. PeakMonitor Quark

    ... IdentityDictionary.new; CmdPeriod.add(this); } *new { arg target = 0, freq = 6, layout; ^super.new.init(target, freq, layout) } init { arg t, f = 2, layout; var groupbus; // to determine if the target is a mixerchannel freq = f ? 2; (groupb ...

  9. MKtlGUI Quark

    ... ellSize; var pages; var elemsToShow, viewToPass; pages = this.getNumPages; this.layoutElements( pages ); numRowsColumns = this.getNumRowsColumns; cellSize = (maxSize / numRowsColumns.maxItem).round(1).clip(minViewSize,maxViewSize); // grid ...

  10. MxControlRecorder Quark

    ... ss { ^MxControlRecorderGui } } MxControlRecorderGui : ObjectGui { guiBody { arg layout, bounds; var inlets; //model.cc.initGui; // sort by point, index inlets = model.inlets.values.sort({ arg a, b; var ap, bp; ap = a.unit.point; bp = b.unit ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow