-
... ded with live server data, warn and are skipped (they count as done). load {arg soundfiles, server = this.class.defaultLoadingServer, filenameAsKeynum = false, normalize = false, startThresh=0.01, endThresh=0.01, override = false, action = ...
-
... 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..", { ...
-
... ] ).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 ...
-
... ] ).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 ...
-
... 90, colscheme=\bw | var sf, farr, numrows, netsize, w, numchans, heatmaps; sf = SoundFile.new; sf.openRead(path); farr = FloatArray.newClear(sf.numFrames * sf.numChannels); sf.readData(farr); sf.close; numchans = sf.numChannels; numrows = ( ...