Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... var winRect= Rect(position.x, position.y, 400, 200); //x, y, w, h var palette= SGUI.palette; var fnt= SGUI.font; var fntMono= Font.monospace(10); var fps= 15; //maximum gui updaterate - does not affect sensor input rate //--functions and ob ...

  2. UMod Quark

    ... ec(key); ^if( spec.notNil ) { spec.unmap( this.get(key) ) } { this.get(key) } } gui { |parent, bounds| ^UGUI( parent, bounds, this ) } argSpecs { ^this.def.argSpecs( this ).collect({ |item| if( item.spec.class == UModOutSpec ) { item = item ...

  3. SoundFileHolder Quark

    ... rtFrame:0, endFrame:44100 ); Out.ar(0, PlayBuf.ar(1, buf ) ) }) ) UChain(\test).gui */ + String { asUnitArg { |unit, key| case { unit.getSpec( key ).isKindOf( BufSndFileSpec ) } { ^this.asBufSndFile.asUnitArg(unit, key) } { unit.getSpec( ke ...

  4. 6chLoopbuff Quark

    ... , 0, 1]); x.set(\startPosSecs, 30.rand, \note, #[60, 1, 1]); x.free; // open up GUIs for monitoring if (~plotTree == nil, { ~plotTree=s.plotTree;}); if (~makeGui == nil, { ~plotTree=s.makeGui;}); if (~meter == nil, { ~plotTree=s.meter;}); * ...

  5. mpd18UseCase_frp_style Quark

    ... opWith{ |func, name| SynthDef(name, func).add }; q.synths = 15.collect{ [] }; //GUIS q.mpdwin = Window("MPD18 use case (JNCv2)").front; q.butvals = 0!4!4; q.buts = 4.collect { |i| 4.collect {|j| Button(q.mpdwin, Rect(i * 80 + 5, 240 - (j * ...

  6. UtopiaExamplesSingle_1 Quark

    ... ; ~chatter1.sendPrivate(\me2, "Psst... howdy!"); // send only to \me2 // make a GUI for peer1 ( ~win = Window("Chatty Betty").front; ~win.layout = VLayout(~textField = TextField(), ~textView = TextView()); ~textField.action_({|v| ~chatter1. ...

  7. extString Quark

    ... path); }); ^ObjectNotFound.new(path) }); } enpath { ^Document.abrevPath(this) } guiDocument { var doc; doc = this.loadDocument; doc.gui; ^doc } isStringNumber { var bol, item; item = this; if(item.findAll(".").size > 1, {bol = false}, { if( ...

  8. thrustmaster-run-n-drive.desc Quark

    ... tlDesc.loadDescs; MKtl.find(\hid); f = MKtl('f', "thrustmaster-run-n-drive"); f.gui; f.postElements; f.trace; // example for fixing this and using compass directions: f.dictAt(\compass).action = { |el| // calc integer value for indexing: va ...

  9. dual_ana_4 Quark

    ... *** adapted into NTMI / UFO app ********* /* MKtl.find(\hid); ///////// tests m.gui.showLabels; */ var m; m = NTMI.makeMKtl(\dual_ana_4, "*dual-analog-4", NTMI.currInfo); // prepare all elements for debugging: m.elementsDict.do(_.action_(MF ...

  10. CtLoop Quark

    ... d( \pWidth , [0.01, 0.5, \exp ]); ) // an editor to see the params changing NdefGui(Ndef(\test), 5); Ndef(\test).set(\pFreq, \pFreq.asSpec.map(0.5)); Ndef(\test).set(\pWidth, \pWidth.asSpec.map(0.5)); *new(key, ctlMap) // make a controlLoop ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow