Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2444) Code (153) Doc (746) Help (140) Quark (1399) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. MassEditU Quark

    ... s| // all units have to be of the same Udef ^super.newCopyArgs.init( units ); } guiColor { ^units.detect(_.respondsTo(\guiColor)) !? _.guiColor ?? { Color.clear; } } init { |inUnits, active = true| var firstDef, defs; var dkey, dval; units ...

  2. NdefPreset Quark

    ... indow("NdefPreset test", Rect(200, 200, 420, 250)).front; w.addFlowLayout; // a gui for the NdefPreset g = ProxyPresetGui (z, parent: w); // and one for the Ndef b = NdefGui (a, 8, parent: w); ) *all where all NdefPreset instances are store ...

  3. 2_xosc_pullup Quark

    ... ; keysvals.round(0.0001).postln; q.inphlux.set(*keysvals); }); // hack for xosc gui: all element actions trigger imuFunc! MKtl(\xosc).elAt(['accel', 'gyro', 'magnet']).flat.do(_.action_(MFdef(\imuFunc))); /* MFdef(\imuFunc).disable( \setInp ...

  4. BoxMatrix Quark

    ... Style holds the default display variables for every box: defaultStyle = ( font: GUI .font.new(*skin.fontSpecs), fontColor: skin.fontColor, boxColor: skin.offColor, borderColor: skin.foreground, center: false // text align ); // set the defa ...

  5. Neuromodule Doc

    ... .6, out: [0, 1] // map to two audio channels ).play; dt.wait; }; }).play ) // a GUI: ( ~makeWindow = { |module| var w = Window("module", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[ ...

  6. ScaledUserView Quark

    ... ct( this.drawBounds, fromBounds, keepRatio, scaleH@scaleV, moveH@moveV ); //if( GUI.scheme.id == 'swing' && {(scaleAmt[0] != scaleAmt[1])} ) // { Pen.translate( 0.5, 0.5 ); }; // temp correction for swingosc half-pixel bug // Pen.translate( ...

  7. CtkNote Doc

    ... hen CTK messages are meant to be set in real-time using input interfaces (MIDI, GUI etc), setting the CtkObj: *latency to 0 will result in processing the messages as soon as possible (but printing the "late" messages from the server as well ...

  8. EQView Quark

    ... 6).floor..((range-1)/6).floor).select(_ != 0) * 6; var pts, strOffset = 11; if( GUI.id === 'swing' ) { strOffset = 14 }; bounds = vw.bounds.moveTo(0,0); ////// PREPARATION /////// // get freqs to plot freqs = ({|i| i } ! (bounds.width+1)); ...

  9. EQView Quark

    ... 6).floor..((range-1)/6).floor).select(_ != 0) * 6; var pts, strOffset = 11; if( GUI.id === 'swing' ) { strOffset = 14 }; bounds = vw.bounds.moveTo(0,0); ////// PREPARATION /////// // get freqs to plot freqs = ({|i| i } ! (bounds.width+1)); ...

  10. WavetablePrep Quark

    ... le| tables.do { |row| // row = one wtpos row.do { |wt| file.writeData(wt) } } } gui { |parent, bounds| ^WavetablePrepGui(this, parent, bounds) } } SoundFileStream : CollStream { var <>headerFormat = "WAV", <>sampleFormat = "float"; var <>nu ...

prev 231 232 233 234 235 236 237 238 239 240 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow