Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. UPatternEventView Quark

    ... { innerRect = scaledRect.insetBy(0.5,0.5); //selected outline if( selected ) { Pen.width = 2; Pen.color = Color.grey(0.2); this.drawShape(scaledRect); Pen.stroke; }; //event is playing if( event.isPlaying ) { Pen.width = 3; Pen.color = Col ...

  2. openbci_gui_accelerometer Quark

    //port of OpenBCI_GUI accelerometer widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //TODO test with ganglion and daisy //TODO sync men ...

  3. XiiVuView Quark

    ... ounds.height); this.view_(GUI.userView.new(parent, argbounds)) .drawFunc_({ GUI.pen.color = Color.black.alpha_(0.4); GUI.pen.width = 1; GUI.pen.strokeRect(Rect(bounds.left+0.5, bounds.top+0.5, bounds.width-0.5, bounds.height-0.5)); // cente ...

  4. openbci_gui_focuswidget Quark

    //port of OpenBCI_GUI focus widget, remake in supercollider by f.olofsson 2019 //MIT License, Copyright (c) 2018 OpenBCI, https://github.com/OpenBCI/OpenBCI_GUI/blob/master/LICENSE //TODO test with ganglion and daisy ( var activeChannels= # ...

  5. WFSSpeakerConfView Quark

    ... ult conf { ^object ? WFSSpeakerConf.default; } conf_ { |newConf| object.removeDependant( this ); this.object = newConf ? WFSSpeakerConf.default; object.addDependant( this ); } init { this.conf = this.conf; this.onClose = { this.conf.removeD ...

  6. SSWorldView Quark

    ... /////////////////////////////////////////////////////// // draw static elements Pen.strokeColor=Color.blue; Pen.alpha=1; // draw world bounds // Rect.aboutPoint(center,half x distance, half y distance) // remember that coordinates are chang ...

  7. extSimpleMIDIFile-plot Quark

    ... mized // - should make use of GUI style ( waiting for color standardization ) asPenFunction { |bounds, track = 0, type = \pitchBend, channel = 0, cc = 0, minVal = 0, maxVal = 127, grid = true| // width is not set here, colors are. var event ...

  8. plusScaledUserView-drawTimeGrid Quark

    ... nsFace, 9 ) ); bnds.width = bnds.width + 4; scaleAmt = 1/this.scaleAmt.asArray; Pen.width = this.pixelScale.x / 2; Pen.color = Color.gray.alpha_(0.25); if( viewRect.width < (this.view.bounds.width/4) ) { width.do({ |i| Pen.line( (i + left) ...

  9. GridLines Quark

    ... tArray); labelX = ~labelX; // huh ? in the skin ? labelY = ~labelY; }; } draw { Pen.addRect(bounds); Pen.fillColor = Color.white; Pen.fill; if(gridOnX) { this.drawGridX; this.drawNumbersX; }; if(gridOnY) { this.drawGridY; this.drawNumbersY; ...

  10. plusScaledUserView-drawTimeGrid Quark

    ... nsFace, 9 ) ); bnds.width = bnds.width + 4; scaleAmt = 1/this.scaleAmt.asArray; Pen.width = this.pixelScale.x / 2; Pen.color = Color.gray.alpha_(0.25); widthDivide = (width / 100).max(1).nextPowerOfTwo.asInteger; if( viewRect.width < (this. ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow