Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Func.( paths ); }; } { func = { |path| lastPath = path; okFunc.( path ); }; }; ^Dialog.openPanel( func, cancelFunc, multipleSelection, lastPath ); } *savePanel { arg okFunc, cancelFunc, path; var func; func = { |path| lastPath = path; okFun ...

  2. PathName Doc

    ... ny instance methods. Just pick any file to see all the parts of its path. ( FileDialog.new( { |ok, path| var myPathName; if (ok, { myPathName = PathName.new(path); "New PathName object: ".postc; myPathName.postln; "fileName only: ".postc; m ...

  3. SVGFile Quark

    ... VGFile .read( Document .current.path.dirname ++ "/example.svg" ); f.write; // a dialog should appear read ( replaceObjects ) reads the file specified in the path variable. replaceObjects : if true (default) replaces the current object sin t ...

  4. PartConvBufferView Quark

    ... views[ \genWindow ], 80@18 ) .extrude_(false) .label_( "generate" ) .action_({ Dialog.savePanel({ |path| PartConvBuffer.convertIRFile( PartConvBuffer.generateDanStowelIR( views[ \genDur ].value ), path.replaceExtension( "partconv" ), ULib. ...

  5. Core_05 Quark

    ... ged).postln; }; changed } }; ~dorotaExportSVG = { |path = nil| if(path.isNil) { Dialog.savePanel({ |p| exportSVGFromTracks.(p) }, "dorota_export.svg"); } { exportSVGFromTracks.(path); }; }; ~dorotaImportSVG = { |path = nil| if(path.isNil) { ...

  6. SFPlayer Quark

    SFPlayer { var <path, <outbus, <server, <autoShowOpenDialog, <>autoBootServer, <>autoSetSampleRate, <>autoSetOutputChannels; var <buffer, <sf, cond, <curSynth, <synthName; var clock, <skin; var <cues, offset, lastStart; var <amp, <isPlaying ...

  7. file-management Quark

    ... e file is permanently deleted. If ask == true ( default ) && toTrash == false a dialog comes up before anything gets deleted "~/Desktop/testCopy/testDir" .removeFile( false ); "~/Desktop/testCopy/testDir" .removeFile; // check the trashcan ...

  8. Granular Sampling GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... ; // Stop whatever is playing s.freeAll; startButton.value = 0; Dialog.openPanel( okFunc: { |path| soundFile = SoundFile.new; soundFile.openRead(path); // Load sound into buffer buffer = Buffer.readCh ...

  9. CVCenter Quark

    ... nces", Color.white, Color(0.3, 0.3, 0.3)]]) .action_({ |pb| CVCenterPreferences.dialog }) .acceptsMouseOver_(true) ; if (GUI.id !== \cocoa, { prefBut.toolTip_("Edit the global preferences for CVCenter (resp.\nCVWidget). Preferences will be ...

  10. Segmentation Quark

    ... ht, buttonwidth, controlsheight ) ); loadb.states = [["Load"]]; loadb.action_({ Dialog.openPanel({ arg path; //no checking safety, just tries to load as best it can this.load(path); }); }); analysisb = Button( w, Rect( margin + viewwidth - ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow