-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I realized that the last block of the analysis is not written to the file.
here a easy reproducer:
(
var fn=Platform.resourceDir +/+ "sounds/a11wlk01.wav";
var f=SoundFile.openRead(fn);
var nf= f.numFrames.debug(\numFrames);
a=SoundFileAnalysis();
a.add(\pn, \trig, { |sig|
var trig = (sig>0)&(Delay1.ar(sig)<=0);
var count = PulseCount.ar(trig);
var phase = Phasor.ar(0,1,0,nf) - nf +2;
Poll(phase,count);
[phase, count]});
x=a.analyzeFile(fn,0,f.duration, callback: {x.postln});
)the easiest way to overcome the problem is to set the server blockSize to 1.
telephon
Metadata
Metadata
Assignees
Labels
No labels