-
... ay; */ SCMAudioHelper { classvar <audioDirectory; *initClass { audioDirectory = PathName.new(this.filenameSymbol.asString).pathOnly; } *fullpathAudiofile { |file| ^audioDirectory ++ file; } }
-
... var <classname; var <>shortDescription; var <>longDescription; *new { arg name, pathName; pathName = pathName ?? (name++".html"); ^super.new(pathName, "w").init(name); } init{ |name| examples = Array.new; instanceMethods = IdentityDictionar ...
-
... File, fftMax = 65536; action ?? {action = {"done stretchin!".postln}}; inFile = PathName(inFile); if((inFile.extension=="wav")||(inFile.extension=="aif")||(inFile.extension=="aiff")){ sf = SoundFile.openRead(inFile.fullPath); numChans = sf. ...
-
... Mult=100, chanArray=nil, splits = 9, filterOrder=129, fftType=0| var fileName = PathName(inFile).pathOnly++PathName(inFile).fileNameWithoutExtension; if(chanArray==nil){chanArray = Array.fill(SoundFile.openRead(inFile).numChannels, {|i| i}) ...
-
... olonFileWriter See also: FileReader, FilePlayer . Creation / Class Methods *new(pathName,mode,stamp,del) Create a new instance of FileWriter stamp Whether or not to add a time stamp at the beginning of each line (default false) del The deli ...
-
... e as an argument. Similar to File:use, but with overwrite check. File:checkDo ( pathName, function, overwrite, ask, mode ) File .checkDo( "~/Desktop/testFile.txt" , { |file| file.putString( "test" ); } ); If you run this line for the second ...
-
... d_( this.value.notNil ), MenuAction.separator( "Clipboard" ), MenuAction( "Copy pathname", { if( thisProcess.platform.name === \osx ) { "echo \"%\" | pbcopy".format( this.value.cs.escapeChar($") ).unixCmd; } { this.class.clipboard = this.va ...
-
... mbisonic Toolkit (ATK) is a soundfield kernel support library. // // Extension: PathName // // The Ambisonic Toolkit (ATK) is intended to bring together a number of tools and // methods for working with Ambisonic surround sound. The intenti ...
-
... ar <slotNames, <slotsInUse, <proxy, <sources; *loadDefaultChains{ var pkgPath = PathName(Quarks.quarkNameAsLocalPath("OutputFX")); var defaults = pkgPath +/+ PathName("chains") +/+ PathName("default.scd"); var hoa = pkgPath +/+ PathName("ch ...
-
... n.pathMatch.do{ |x| if(x.last.isPathSeparator, { arr= arr++deepPathMatch.value( PathName (x++ "*" )); }, { arr= arr++ PathName (x); }) }; arr }; syms= deepPathMatch.value( PathName (path)).collect{ |x| x.fullPath.split($/).collect{ |y| y.as ...