-
... utton, peakIndexView, peakTimeButton, peakTimeView, startButton, startView; var soundfile; ~temp = nil; win = Window.new("Sound Descripter", Rect(140, 800, 1100, 200)).front.alwaysOnTop_(true).background_(colorSet1[2]); //*** Drop Area *** ...
-
... led.remove(sound) }; } { // if loading fails, here is a message: "couldn't load soundfile for %\n".format(sound).postln } }; // use the "\notFound" hook in dirt. ~dirt.set(\notFound, { autoLoad.(~s) }); ) // try it out: while playing any ti ...
-
Player { var <soundfilepath, <sf, <isPlaying = false, <formatOut= \straight, <bufnum, <server, <numchan, <>outbus, <isScope = false, <isGui = false; var initsoundfilepath, initformatOut, initstarttime, initoutbus, initamp, initxywz, initend ...
-
... ing.not) { "server not running - cannot load sound file.".postln; this.throw }; SoundFile.use(path, { |file| sampleRate = file.sampleRate; numFrames = file.numFrames; numChannels = file.numChannels; }); failed = numFrames == 0; ^if(failed) ...
-
... I.dir.userSFExamples +/+ ".."); var bufsName = \global; var hasNoSFs = { |path| SoundFile.collect(globalBufFolder +/+ "*").isEmpty }; NTMI.dir.scSoundfiles = Platform.resourceDir +/+ "sounds"; // buffers should be in global dict q, not in N ...
-
... ut, amp, rate, loop, attack, curve| var file; path= path.standardizePath; file= SoundFile.openRead(path); if(file.notNil, { if(channels.includes(file.numChannels), { //"%: %Ch, %Hz".format(path.basename, file.numChannels, file.sampleRate).p ...
-
... s expected"); }); o.add; p.add; // Hmm, seems not all systems have the standard soundfile available // s.sendMsg(\b_allocRead, 1, "sounds/a11wlk01.wav"); // So instead we use this from the SoundFile helpfile: sf = SoundFile.new.headerFormat ...
-
... WFSSpeakerConf.rect( 48, 48, 5, 5 ).makeDefault; GlobalPathDict.put( \wfs, "/WFSSoundFiles" ); GlobalPathDict.put( \resources, String.scDir ); UChain.makeDefaultFunc = { UChain( \bufSoundFile, [ \wfsStaticPoint, [ \point, (5@0).rotate(2pi.r ...
-
... aN.not,"beatsize should not be NaN"); } test_gui { var w,c,y,v; w = Window.new("soundfile should be in top left of the blue composite", Rect(200, 200, 800, 400)); //c = SCCompositeView(w,Rect(100,100,700,300)); //c.relativeOrigin = true; c ...
-
... f('filterTrack_1_1').fadeTime = 0.5; ~buffer0 = Buffer.read(s, "<RadiclesFiles>/SoundFiles/Play/0/drums1.wav", bufnum: 0); Ndef('filterTrack_1_1', {arg pitchRatio=1.0 , pitchDispertion=0.0 , timeDispersion=0.0001 , winSize=0.02 ; PitchShift ...