-
... }); //existence check //check for MP3, create temp .wav file if necessary if( ((PathName(filename).extension) =="mp3") || ((PathName(filename).extension) =="MP3")) { //have to convert whole thing filename = this.resolveMP3(filename); }; //n ...
-
... ? SynthDef.synthDefDir; (dir++"*").pathMatch.do({ arg p; var defName; defName = PathName(p).fileNameWithoutExtension; Library.put(SynthDef,server,defName.asSymbol,\assumedLoaded); }) } *cacheRemoveAt { arg defName,server; (server ? Server.a ...
-
... ? SynthDef.synthDefDir; (dir++"*").pathMatch.do({ arg p; var defName; defName = PathName(p).fileNameWithoutExtension; Library.put(SynthDef, server, defName.asSymbol, \assumedLoaded); }) } *cacheRemoveAt { arg defName, server; (server ? Serv ...
-
... | //idx is the sections in a sample var thisLine; var rangeBox = []; var file = PathName(thisSample.filename); var fileText = file.folderName ++ "/" ++ file.fileName ++ "___" ++ (idx+1).asString; thisLine = FlowView.new(win.view, (win.view. ...
-
... ne from the routine below it, so sync'd with bufLoadCond fork({ var msg; test = PathName(soundfilePath).isFile; if(test, { sf = SoundFile.new; if(sf.openRead(soundfilePath), { numChans = sf.numChannels; sf.close; if((numChans != 3 and: { nu ...
-
... dir, writeMd = true | var nameStr = this.name.asString; //Uses Alga's one dir = PathName((dir ? AlgaStartup.algaSynthDefPath).asString).absolutePath; //Create alternative files if(nameStr.endsWith("_algaPattern").or( nameStr.endsWith("_alga ...
-
... ct[key]["control"].value == 2)} { str = paramDict[key]["env"].string.interpret; PathName(str).isFile.if({ score.add(buf = CtkBuffer.playbuf(str)); note.perform((key++"_").asSymbol, CtkControl.kbuf(buf, levelScale: paramDict[key]["scale"].va ...
-
... GME_Path.rootPath; if (this.executionMode == "standalone") { var path_general = PathName(Platform.resourceDir).pathOnly; // path general de la aplicación standalone pathState = path_general +/+ "Patches"; }{ pathState = appPath +/+ "Patches ...
-
... .add(aPart); }, { "XMLScores can only add an XMLPart".warn }) }); } output {arg pathname; file = File.new(pathname, "w"); file.putString("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE score-partwise PUBLIC \"-/"++"/Recordare/"++"/DT ...
-
... uput ... simply save the analysis to recBuf }).load(Server.default); pathTest = PathName(filPath.dirname).isFolder; duration = duration ?? sfDur; pathTest.if({ score.add( [0.0, [\b_alloc, 1, duration.calcPVRecSize(fftSize, hop, sf.sampleRat ...