-
... ection.collectAs({|item| item}, FloatArray)}, {data = collection;} ); sndfile = SoundFile.new; sndfile.sampleRate = server.sampleRate; sndfile.numChannels = 1; if(sndfile.openWrite(path), { sndfile.writeData(data); sndfile.close; }, {"Faile ...
-
... 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 sound files.".format(info ...
-
... Arg); }, path: defaultOpenPath); }, { this.path_(pathArg); }) } runSetup { sf = SoundFile.new; { sf.openRead(path); cond = Condition.new; if(autoBootServer, { if(server.options.numOutputBusChannels < sf.numChannels, { if(server.serverRunnin ...
-
... ee; // Synthdefs DO depend on additional resources. // This one loads part of a soundfile and plays it with different kinds of processing. // Could also be done with \bufPerc if you write custom synthdefs. ( PR ( \defPerc ).chuck( BP ( \ex2 ...
-
... ee; // Synthdefs DO depend on additional resources. // This one loads part of a soundfile and plays it with different kinds of processing. // Could also be done with \bufPerc if you write custom synthdefs. ( PR ( \defPerc ).chuck( BP ( \ex2 ...
-
... s might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By default, the whole of each so ...
-
... s might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By default, the whole of each so ...
-
... doWhenCanceled.value; }, { synth.run; doAtStart.value; } ] ); ^synth; } playWithSoundFile { |path = "sounds/a11wlk01-44_1.aiff", rate = 1, level = 1, loop = false, adjustLength = false, server, doWhenFinished, doWhenCanceled | // defs need ...
-
... d(item.fullPath)}; selectedPath = newerArr[fileIndex] }, { "Incorrect fileName, soundfile does not exist".warn; }); ^selectedPath; } *alloc {arg numFrames, numChannels, function; var buffer, globVar; this.new; numFrames ?? {numFrames = 4410 ...
-
... add{ var testFile = Freesound2.filenameSymbol.asString.dirname++"/test.ogg"; if(SoundFile.new.openRead(testFile)) { previewType=preview_type_libsndfile; }{ if(thisProcess.platform.name=='osx') {previewType =preview_type_afp }{previewType=pr ...