-
... { score.removeAt(anID)}, { "No voice with that ID found".warn; }) } output {arg pathname, mode = "w"; var string, eventstring; file = File.new(pathname, mode); file.write("%% SuperCollider output from " ++ Date.localtime ++ "\n"); file.writ ...
-
... " + "sounds/ixiquarks/"++filename++".aif").unixCmd; }); txtv.string_(filename = PathName(filename).nextName); }); }, { XiiAlert("you need to start a server in order to record"); recButton.value_(0); }); }); timeText = GUI.staticText.new(win ...
-
... = (formatDict[f.sampleFormat] ? Signal).newClear(f.numFrames); name = name ?? { PathName(path).fileName.basename; }; f.readData(sig); f.close; ws = this.new(name.asSymbol, sig, f.sampleRate); ws.path = path; if (toBuffer) { ws.toBuffer(serv ...
-
... ir pathMatch load loadPaths loadRelative resolveRelative standardizePath openOS Pathname Support shellQuote absolutePath asAbsolutePath asRelativePath withTrailingSlash withoutTrailingSlash basename dirname splitext YAML and JSON parsing pa ...
-
... er.newCopyArgs(n_tracks, n_output_chans, ambi_order).init; } *initClass { dir = PathName(this.class.filenameSymbol.asString.dirname).parentPath; // Init chaos name-algo pairs // Must have same call signature, so some args may be unused (eg, ...
-
... orClass { arg class; var match, path; match = registery[class.name] ?? { path = PathName(MxUnit.class.filenameSymbol.asString).parentPath +/+ "drivers" +/+ class.name.asString ++ ".scd"; if(File.exists(path), { path.debug("Loading driver"). ...
-
... , filepath, pFunc; if(txtv.items.size > 0, { [\soundfile, soundfile].postln; if(PathName(soundfile).isFolder.not, { if(butt.value == 1, { group = Group.new(server, \addToHead); a = SoundFile.new; a.openRead(soundfile); chNum = a.numChannels ...
-
... is a shortcut for Auto-complete, to make it easier to type.) To open a file by pathname: Document .openFileAutoComplete( "myPath.rtf" ); Document .openFileAutoComplete( "*.sc" ); // wildcards are supported To bring up an open-file dialog: ...
-
... boot; ( var root= "~/sounds".standardizePath; //edit this! a= RedSampler(s); p= PathName(root).deepFiles.select{|x| var sf= SoundFile.openRead(x.fullPath); if(sf.notNil, { sf.close; true; }, { false; }); }; p.do{|x| var sf= SoundFile(x.full ...
-
... ple, outPath; outPath = path; if(outPath.notNil and: { outPath.isString }) { if(PathName(outPath).extension.isNil or: { PathName(outPath).extension.size == 0 }) { outPath = outPath ++ ".wav"; }; }; if(track.isNil) { "SAVE SELECTED WAV FAILE ...