-
... ame(inFile).fileNameWithoutExtension; if(chanArray==nil){chanArray = Array.fill(SoundFile.openRead(inFile).numChannels, {|i| i})}; chanArray.do{|chanNum, i2| TimeStretch.mkStretchTemp(fileName++"_"++chanNum++".scd", inFile, durMult, chanNum ...
-
+ SoundFile { extractChannel { |ch = 0, numFrames = -1, startFrame = 0, outPath, server, doneAction| // extract one channel using server var outFile; server = server ? Server.default; outPath = outPath ?? { path.removeExtension.makeDir; pat ...
-
... ef('wsetta').gui; // NTMI.wse.sfdir.openOS; NTMI.wse.sfdir = NTMI.dir.user +/+ "soundfiles/examples"; SoundFile.collect(NTMI.wse.sfdir +/+ "*"); // todo: - keep mulitple lists of wavesets around for switching - make GUI code invisible for h ...
-
... prefServer ) .useFocused_( useFocused ) ; } // bugfix switch 20/11/2008 ws checkSoundFile { |nChaAlert, srAlert, notFoundAction| var sf; nChaAlert = nChaAlert ? { |synth, soundFile| "soundfile '%': numChannels != 1\n".postf( soundFile.path. ...
-
... e : AbstractRichBuffer { // points to a Sndfile and holds its specs, similar to SoundFile // aditional parameters for Buffer loading and playback settings // fully MVC aware var <path; var <startFrame = 0, endFrame; // for buffer loading va ...
-
RedLoop loop a soundfile from memory Inherits from: see also: RedLoopDisk requires: RedSampler nothing fancy. this class just plays a soundfile from RAM using PlayBuf . *new(path, amp, out, group) amp_(val) channels length buffer free //-- ...
-
// How the soundfiles for granbuf were made: /* needs the Quark say, which is macOS only if (Quarks.installed.any { |qk| qk.name == "say" }.not) { Quarks.install("say"); }; */ // make the soundfiles [ "Airborne_Instruments", "nUFO", "N_T_M_ ...
-
+ SoundFile { uSplit { |outPath, chunkSize = 4194304, threaded = false, action| var rawData, numChunks, test, numFrames; var outFiles, pth, ext, numDigits, clumps; numFrames.isNil.if({ numFrames = this.numFrames }); numFrames = numFrames * ...
-
... e : AbstractRichBuffer { // points to a Sndfile and holds its specs, similar to SoundFile // aditional parameters for Buffer loading and playback settings // fully MVC aware var <path; var <startFrame = 0, endFrame; // for buffer loading va ...
-
RedLoopDisk loop a soundfile from disk Inherits from: RedLoop see also: RedLoop requires: RedDiskInSampler nothing fancy. this class just streams a soundfile from disk using DiskIn . *new(path, amp, out, group) amp_(val) channels length buf ...