Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... == 0 } { "unknown command".postln } // open a .gra file { arr[0] =="o+" } { GUI.dialog.getPaths({ arg path ; // path here is an array of paths runner.open(path[0]) ; iopath = path[0] ; this.toLog(arr) ; // maybe remove it? })} // save as a ...

  2. ServerRecordWindow Quark

    ... Name.string = string.dirname.deStandardizePath ++ "/";} ); } { v.value == 5 } { Dialog.savePanel( { |path| v.items = v.items.put( 2, path.basename .replaceExtension( hFormat.items[ hFormat.value ] ) ); v.value = 2; folderName.string = path. ...

  3. PlonkSetup Quark

    ... nil; // this.log(\config, "Using default audio interface; change it via systems dialog or define preferred interface in the config file."); // // "(Alt + click on loudspeaker symbol in the status bar)".postln; // }); // }, // not needed any ...

  4. UMenuBar Quark

    ... Item.new(scoreMenu, "Export as audio file..").action_({ UScore.current !! { |x| Dialog.savePanel({ |path| x.writeAudioFile( path ); }); }; }); SCMenuSeparator.new(scoreMenu); SCMenuItem.new(scoreMenu, "Add Event").action_({ UScoreEditorGUI. ...

  5. UMenuBar Quark

    ... Item.new(scoreMenu, "Export as audio file..").action_({ UScore.current !! { |x| Dialog.savePanel({ |path| x.writeAudioFile( path ); }); }; }); SCMenuSeparator.new(scoreMenu); SCMenuItem.new(scoreMenu, "Add Event").action_({ UScoreEditorGUI. ...

  6. 1_butz Quark

    ... me top-level one-liners: Butz.addMiniMax; Butz.add('StartupDial', { StartupFile.dialog }); Butz.add('CLOSEALL', { Window.allWindows.do { |w| if (w != Butz.w) { w.close } } }); //////// ndefmixer - add to WinBounds call to Butz, make func la ...

  7. BufferSystem Doc

    ... Arr.do{|buf| buf.play} }); //post tags and path for a Directory BufferSystem.dirDialog; //set default path from Dialog BufferSystem.setDefaultPath; BufferSystem.dirTags.dopostln; BufferSystem.bufferArray; BufferSystem.bufferArray.dopostln; ...

  8. WFSPath2 Quark

    ... not write file:\n%\n".postf( this.class, path.quote ); }; }; if( path.isNil ) { Dialog.savePanel( { |pth| path = pth; path = path.replaceExtension( "wfspath" ); writeFunc.value; } ); } { writeFunc.value; }; } read { |path, action| // return ...

  9. RedToolsMenu Quark

    ... { Event.default.parent.associationsDo(_.postln); }, ['system', 'post path'], { Dialog.getPaths{|paths| paths.do{|x| x.postln}}; }, ['system', 'post specs'], { Spec.specs.keysValuesDo{|key, val| if(val.class==ControlSpec, {[key, val].postln ...

  10. RedDiskInPlayer Quark

    ... 220116 //replace FlowLayout with Layout and fix background colors //change from Dialog to FileDialog to better handle folders //folder selection now remember last location //progressbar now wrap around when loop is on //--changes171223: //r ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow