-
... 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 ...
-
... File.new.headerFormat_("AIFF").sampleFormat_("int16").numChannels_(1); sfpath = PathName.tmp +/+ "sc3_test_allocAndQuery.aiff"; sf.openWrite(sfpath); // sawtooth b = Signal.sineFill(441, (1..20).reciprocal); // write multiple cycles (441 * ...
-
... } plot { |notesOnly = false| var window, events; window = ScaledUserViewWindow( pathName.basename ); // this.adjustEndOfTrack; events = this.analyzeUsedEvents; if( notesOnly ) { events = events.select({ |event| event[2] == 'noteOn' }); }; w ...
-
... ++ Date.getDate.asString); } *libraries {var libsFolder; this.new; libsFolder = PathName(libPath).folders; libsFolder = libsFolder.reject({|item| item.folderName == ".git" }); ^(["Main"] ++ libsFolder.collect({|item| item.folderName })); } ...
-
... playButton.value; }); }; var soundfiles= []; folder= folder.standardizePath; if(PathName(folder).isFolder, { soundfiles= SoundFile.collect(folder+/+"*"); }); spf= argSpf??{PlayFileDiskStereo()}; spf.server.ifNotRunning({"%: boot server firs ...