Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (177) Code (11) Doc (44) Help (12) Quark (110) SCDoc ↗ Forum ↗ Google ↗
  1. Dialogs Quark

    Sheet { *new { arg buildDialog, name="", bounds; var layout; layout = PageLayout(name, bounds, front:false); buildDialog.value(layout); layout.resizeToFit(center:true); layout.front; ^layout } *getString { arg prompt, defaultString, callbac ...

  2. NTMI_basic_desktop Quark

    ... teStartupFileToExternalPath(\myNTMI, thisProcess.nowExecutingPath); StartupFile.dialog; *****/ // prepare and use my own special hello sound NTMI.helloSound = { // stereo { LFDNoise3.ar(XLine.kr(4000!2, 20, 1, doneAction: 2), 0.05) }.play; ...

  3. time-bandit Quark

    ... .orientation_(\horizontal); var b = Button(w).states_([["open"]]); b.action = { Dialog.openPanel({ |path| var ws = WavesetsEvent.new; ws.readChannel(path, onComplete: { ~wavesets = ws; ~path = path }) }) }; sl.action = { |view| ~start = vie ...

  4. SCLOrkJack Quark

    ... // Takes a snapshot of all current connections and saves into file. // Opens a dialog box for user to choose file name and location. *saveCurrentConnections { var file, connections; connections = SCLOrkJack.collectConnections.asCompileStri ...

  5. SCMProjectPersistanceView Quark

    ... eventSaveProject = (); } invokeEvent { |event| event.changed(this); } saveAs { Dialog.savePanel({ |filepath| var pathName = PathName(filepath.value); this.saveData(pathName.fullPath); "project saved".postln; },{ "cancelled".postln; }); } s ...

  6. NTMI_patchbox Quark

    ... teStartupFileToExternalPath(\myNTMI, thisProcess.nowExecutingPath); StartupFile.dialog; *****/ "*** NTMI on patchbox ***".postln; // prepare and use my own special hello sound NTMI.helloSound = { // stereo { LFDNoise3.ar(XLine.kr(4000!2, 20 ...

  7. RedEffectsRackGUI Quark

    ... ws.do{|x, i| x.do{|y, j| y.view.valueAction= mainGUIviews[i][j].view.value}}}, {Dialog.savePanel{|x| redEffectsRack.cvs.postln.writeArchive(x)}}, /*{Dialog.openPanel{|x| redMixer.free; redMixer= RedMixer.restoreFile(x); redMixer.init; redMi ...

  8. UScore-openWFS Quark

    ... his.readTextArchive( path ); action.value(score); score } }; if( path.isNil ) { Dialog.getPaths( { |paths| f.(paths[0],action); }); } { path = path.standardizePath; f.(path,action) }; } }

  9. extBuffer-playDialog Quark

    // wslib 2005 // simple + fast audition of audiofile + Buffer { *playDialog { // convenience method arg mul = 1, rate=1, out=0, server, free=true, startFrame = 0, numFrames, bufnum; ^Buffer.readPlay(server, nil, free, startFrame, numFrames, ...

  10. NTMI_flat_krak_auto Quark

    ... cat_NTMI, thisProcess.nowExecutingPath; ); // then to choose it, do StartupFile.dialog; // start oscar&xflux NTMI.oscar.makeServer; // activate flatcat simulation defer ({ Tdef(\flatcatSim).stop.play }, 1); // stop this tdef from unintended ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow