Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (276) Code (37) Doc (40) Help (8) Quark (191) SCDoc ↗ Forum ↗ Google ↗
  1. ExtraWindows Quark

    ... ) - (2/a) + 1).cosPi); }, { 1; })); } } ); } *prWindowFactory { arg type, size, pad = 0, a = 3, sym = true; var win; if (size == 1, { ^this.newClear(1).fill(1); }); win = this.newClear(size-pad-(sym.asInteger)) .fill(1) .waveFill(this.prWin ...

  2. XiiFreqScope Quark

    ... on the local server!"); }); }); } initFreqScope { arg setting; var rect, scope, pad, font, freqLabel, freqLabelDist, dbLabel, dbLabelDist; var setFreqLabelVals, setDBLabelVals; var scopeColor, bgColor, height, busNum; var onOffButt, cmdPeri ...

  3. osc_singleinput_example Quark

    // osc message of type: /pad <row> <column> <value> ( ~desc = ( idInfo: ( srcPort: 57121, ipAddress: "127.0.0.1" ), protocol: \osc, description: ( 'pad': ( oscPath: '/pad', argTemplate: [ 1,2 ], // at row 1 and column 2 valueAt: 3, // value ...

  4. ScatterView Quark

    ... }; plot = UserView.new(parent, bounds) .drawFunc_({|w| var width, height, rect, pad = 10; if (drawAxis) { pad = 60 }; width = w.bounds.width - pad; height = w.bounds.height - pad; Pen.use{ // clipping into the boundingbox Pen.moveTo(0@0); P ...

  5. NoteGroup_GuiTests Quark

    ... roupType: \noteOnOffTouch, shared: (groupType: \noteOnOffTouch, 'elementType': 'pad', spec: \midiVel, midiChan: 0), elements: (36..96).collect { |num, i| var pos = Piano.pos(num, 36); ( key: num.asSymbol, shared: ( midiNum: num, style: (row ...

  6. Launchpad Quark

    Launchpad{ classvar <>midiout; classvar <>pads;//2DARRAY classvar nonr,nofr,cor;//MIDI RESPONDER FUNCTIONS *initClass{ Launchpad.pads=Array2D.fromArray(9,9, Array.fill(81,{|i|LPPad .new((i/9).asInteger,i%9)})); } *initMIDI{ var non,nof,co,m ...

  7. Basic Ableton Push control with Modality by lfsaw (LFSaw) Code

    ... k.trace(true); // wiggle some pots / buttons k.trace(false); k.elAt(\pad, \8, \1); // symbols represent button names (typically starting at 1), integers are indices (starting at 0) // set an action to post aftertouch values k ...

  8. akai-mpd18.desc Quark

    /* MPD18 drumpad - TODO: one slider, sends on chan 1, ccnum, 1, [0, 127, \lin, 1, 0] channel aftertouch,sends on chan 0, [0, 127, \lin, 1, 0] 16 pads x 3 banks, pad 1, ... pad 16 /****** TESTING ******/ MKtl.find; m = MKtl('mpd', "*mpd18"); ...

  9. 5_analogToInflux Quark

    ... ////////////////////////////////////////////////////////// ( q.inphlux.addHalo(\padNames, q.inphlux.inNames.copyRange(9, 16)); MFdef(\touchToInph).add(\set, { var influx = q.inphlux; var pads = MKtl(\xosc).elAt(\pads8); var padInNames = q.i ...

  10. VirtualGradientOrb2 Quark

    var window, colors, i_width = 100, pad = 10;\ \ colors = Color .black!3;\ \ window = SCWindow .new( "Virtual Ambient Lights" , Rect (400, 400, colors.size*(i_width+pad) + (2*pad), i_width+50)).front;\ window.view.background_( Color .black); ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow