-
... ostf( pth ); if( pth.find( "%" ).notNil ) { "splitting into mono files".postln; SoundFile.uSplit( pth, threaded: true, deleteOriginal: true ); }; } ); }); }; }), "File" ); this.registerMenu( MenuAction( "Export selection as audio file..", { ...
-
... into bufferA IFFT(chain) * 0.1 }.play; ) d.free; ⧉ ✔ A similar example using a soundfile: // read the soundfile into a buffer d = Buffer.read(s, ExampleFiles.child); ( { var inA, chainA, inB, chainB, chain; inA = LFSaw.ar(100, 0, 0.2); inB ...
-
... ] ).setAudioIn( 0, bus ) ); }); if( replace == true ) { playbackUnit = U( \diskSoundFile, [ \soundFile, DiskSndFile.newBasic( path, (dur * 44100).floor, usedBuses.size ) ] ); usedBuses.do({ |bus, i| playbackUnit.setAudioOut( i, bus ); }); ...
-
... 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).blockSize_(1), //); // uncomment to sa ...
-
... ({arg popup, i; popup.items_(sndfiles); popup.value_(i%sndfiles.size); // if no soundfiles, then code bufNumArray[i] = i%sndfiles.size; // if there are fewer than 4 soundfiles if(firstpool, {popup.action.value(i%sndfiles.size)}); }); if(num ...
-
... nel of the file is read \ \ /* test\ q.buffers.choose.choose.play \ \ q.sfile = SoundFile.openRead(q.directory ++ q.filenames[\ ][6]);\ \ q.sfile.numChannels\ q.sfile.close;\ \ \ // */ \ \ \\ )\ \ \ (\ q.blocks = q.colorToName.collect\ |v, ...
-
... f, b, x; var closeFunc; x = partConvBuffer; f = this.performPartConvBuffer( \asSoundFile ); w = Window(f.path, Rect(200, 200, 850, 400), scroll: false); a = SCSoundFileView.new(w, w.view.bounds); a.resize_(5); a.soundfile = f; a.read(0, f. ...
-
... trick excludes the possibility of the fileseeking which is required for writing soundfile headers.) The . playing flag can tell you whether the MP3 is currently (still) playing - i.e. it is true if you have started the MP3 and not yet stopp ...
-
... nguage side encoding encodeByte encodeString encodeStringAsBuffer encodeStringAsSoundFile language side decoding decodeFloatArray decodeBuffer decodeSoundFile server side encoding play playSine send stop server side decoding listen stopList ...
-
... ] ).setAudioIn( 0, bus ) ); }); if( replace == true ) { playbackUnit = U( \diskSoundFile, [ \soundFile, DiskSndFile.newBasic( path, (dur * Server.default.sampleRate).floor, usedBuses.size ) ] ); usedBuses.do({ |bus, i| playbackUnit.setAudi ...