-
... eAndLoadView.actionChanged = { |sender| this.name = "PatternBox Launcher - " ++ PathName(sender.projectfile).fileName; }; projectSaveAndLoadView.actionClearAll = { this.clearAll(); }; projectSaveAndLoadView.actionNewItem = { this.invokeEven ...
-
... ndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepath); sndfile.writeData(data); sndfile.close; } save {arg path; var fil; path.notNil.if({ fil = F ...
-
... analyze // actually this isn't really needed, but I leave it in here. oscpath = PathName.tmp +/+ UniqueID.next ++ ".osc"; score.recordNRT(oscpath, "/dev/null", //path, sampleRate: soundFile.sampleRate, options: options, action: { cond.unhan ...
-
... { // if the fie isn't found, look in the project parent directory var preset = PathName(file.auto.presetDir).parentPath; SoundFile.openRead(preset ++ Pathname(file.value).fileName); if (sf.isNil) { ^Error("incorrect file path").throw } }; ...
-
... of arguments. Expected a [path] and an ambisonic order [1-5].").throw }; path = PathName(path); info = SoundFile(path.files[0].fullPath).info; if(info.numChannels != 1) { 1.exit; Error("Sound files contain % channels. Expected monophonic so ...
-
... tionFilePaths = registrationFilePaths.add(path) } *initClass { var path; path = PathName(MxDrawer.class.filenameSymbol.asString).parentPath +/+ "drivers" +/+ "registerDrawerItems.scd"; registrationFilePaths = [path]; } guiClass { ^MxDrawerG ...
-
... xample g = LPScore .add; g.doSomething; // explanation g.cleanUpMethod; output (pathname, mode) Short prose description of method. pathname - Explanation of pathname. Default value is nil. Other information. mode - Explanation of mode. Defa ...
-
... rLevel, recDir, files, latest, path; // Find most recent MoscaOut*.wav recDir = PathName(control.get.presetDir).parentPath; files = (recDir ++ "MoscaOut*.wav").pathMatch; if (files.isEmpty) { "OSC playback: no recordings found in %".format( ...
-
... \postprocessors, \hoa, \monitoring, ]; plugin_dirs.do { |directory| var path = PathName(config.satieRoot +/+ "plugins" +/+ directory); path.filesDo { |file| var folder = file.folderName.asSymbol; var filename = file.fileNameWithoutExtensio ...
-
... ); } init{|anUrl,params| var paramsString,separator="?"; url = anUrl; filePath =PathName.tmp++"fs2_"++UniqueID.next++".txt"; params = params?IdentityDictionary.new; params.put(\api_key,Freesound2.api_key); paramsString=params.keys(Array).co ...