-
... , 1.0, inf ), \amp , 0.5 ); }; // initialization // by using ~variables for the soundfile to load, // you can use this process with any soundfile ~path = "sounds/a11wlk01.wav" ; ~prep = { ~buf = Buffer .read(s, ~path); }; ~freeCleanup = { ~ ...
-
... nd(1e-4) } { inf }); } // Write residual (and optionally synthesis) to a stereo soundfile: // channel 0 = residual, channel 1 = synthesis (как в оригинале) writeSoundFile { |path| var sf, p, interleaved, n, i; if(residual.isNil) { "ATSResid ...
-
... | var closeFunc, sf; plotWindow !? _.close; sf = this.performPartConvBuffer( \asSoundFile ); if( sf.notNil ) { plotWindow = USoundFilePlotWindow( sf, 0, 0) .canSelect_( false ); closeFunc = { plotWindow !? _.close; }; plotWindow.window.onCl ...
-
... "read data" ) .action_({ |bt| ULib.openPanel({ |pth| var sf, wfspath, fa; sf = SoundFile.openRead( pth ); if( sf.notNil ) { if( sf.numChannels == 9 ) { fa = FloatArray.newClear( sf.numFrames * sf.numChannels ); sf.readData( fa ); wfspath = ...
-
... [\str], {|str1| var path; ("Play Folder: " ++ BStore.playFolder).radpostwarn; "SoundFiles: ".postln; path = PathName(BStore.getPlayPath); path.files.collect({|item| item.fileNameWithoutExtension }).dopostln; }, "lists play soundfiles"); cW ...
-
... amPlayer; ~clock.sched(0, ~eventStreamPlayer.refresh); ~isPlaying = true; }; // SoundFile-based is synchronous but buffers might be async // getAudioData should send the messages to get the data, then call ~asyncHang // the following method ...
-
... amPlayer; ~clock.sched(0, ~eventStreamPlayer.refresh); ~isPlaying = true; }; // SoundFile-based is synchronous but buffers might be async // getAudioData should send the messages to get the data, then call ~asyncHang // the following method ...
-
... e CtkScore you have created score.play(s); // uncomment to write the score to a soundfile //score.write("~/Desktop/test.aiff".standardizePath, 22, // options: ServerOptions.new.numOutputBusChannels_(2)); // uncomment to save the CtkScore as ...
-
... e CtkScore you have created score.play(s); // uncomment to write the score to a soundfile score.write( "~/Desktop/test.aiff" .standardizePath, score.endtime, 48000, options: ServerOptions .new.numOutputBusChannels_(2)); // uncomment to save ...
-
... r. *newFromFile { |path| var sf, raw, mono, numChannels, numFrames, sr, i; sf = SoundFile.openRead(path.standardizePath); if(sf.isNil) { Error("ATSAnalyzer: could not open file: " ++ path).throw; }; numChannels = sf.numChannels; numFrames = ...