Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... method.gui; true },{ false }); }); if(found.not,{ // needs a gui report in the dialog ("Method not found:" + string).inform; }); }; w = PageLayout("method?",Rect(200,200,170,40),scroll:false); b = TextField(w,Rect(5,5,150,30)); b.string = ...

  2. UScore Quark

    ... events| ^super.new.init( events ); } *open { |path, action| if( path.isNil ) { Dialog.getPaths( { |paths| action.value( openFunc.(paths[0]) ); }); } { path = path.standardizePath; action.value( openFunc.(path) ); }; } *openMultiple { |path ...

  3. JITModPatch Quark

    ... th.notNil) { ^new.load(path) }; // else (btw, later implement default path) FileDialog( { |path| new.load(path) }, { NotificationCenter.notify(new, \ready) }, // finish initing empty patch fileMode: 1, acceptMode: 0, stripResult: true, path ...

  4. All_Interface_Functions Quark

    ... etting of every playing sound: MFdef('snapshot').value; // NTMI can also open a dialog on snapshot: NTMI.snapDialog = true; // For the curious, see all the functions and objects within NTMI.slots: NTMI.slots.printInterface("NTMI.slots."); " ...

  5. Core_z354_shim Quark

    ... ++ " Partials").postln; }; nil }; ~f2aSaveProjectV354 = { |withSession = false| Dialog.savePanel({ |path| var p = path.asString; if(p.endsWith(".json").not) { p = p ++ ".json" }; { var f = File.open(p, "w"); if(f.notNil and: { f.isOpen }) { ...

  6. XiiSounddrops Quark

    ... ca", 9)) .states_([["load", Color.black, Color.clear]]) .action_({arg butt; GUI.dialog.getPaths({ arg paths; var chosenstate; paths.do({ arg p; stateDict = Object.readArchive(p); }); stateNum = stateDict.size; params = stateDict.at("state 1 ...

  7. plusSpec-makeView Quark

    ... ( "copy all" ) .border_( 1 ) .radius_( 2 ) .font_( font ) .action_({ var paths; Dialog.savePanel({ |path| path = path.dirname; paths = vws[ \val ].collect({ |item| item.path.getGPath.asSymbol }).as(Set).as(Array).do({ |pth| pth.asString.cop ...

  8. CVCenterPreferences Quark

    ... classvar <window; // *initClass { // Class.initClassTree(KeyDownActions); // } *dialog { var labelColors, labelStringColors, tabs, scTab, prefsTab, scTabs, flow1, flow2, saveCancel, saveCancelFlow; var guiView, guiFlow, midiView, midiFlow, ...

  9. VarGui Quark

    ... ugh you can update to all slider values manually. // The Save Button // Opens a dialog to save the current slider state as an array of 4 items: // varCtr as flattened array of specPairs, synthCtr as flattened array of specPairs, // varEnvir ...

  10. WFS_Specs Quark

    ... bounds.height) ) .label_( "write all" ) .radius_( 2 ) .font_( font ) .action_({ Dialog.savePanel({ |pth| var existing, i = 0; vws[ \val ].paths.collect({ |item| if( item.filePath.notNil ) { item.write( pth.dirname +/+ item.filePath.basename ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow