[PD] writesf~ time to flush to disk…?

Thomas Mayer thomas at residuum.org
Tue Oct 1 10:27:42 CEST 2013


Hi,

On 30.09.2013 17:22, Jamie Bullock wrote:
> 
> Hi folks,
> 
> The documentation for writesf~ states that:
> 
> 	"You need not provide any disk access time between "open" and "start", but between "stop" and the next "open" you must give the object time to flush all the output to disk"
> 
> This suggests that once writesf~ has received a "stop" after writing to disk, there is no way to determine whether i) writesf~ is ready to receive another "open" or ii) the file written to disk is ready for reading.
> 
> Could an outlet be added to writesf~, outputing the number of samples written to disk?
> 
> The parent patch could then use this outlet to establish when writesf~ is ready to receive another "open".

I like the idea, but the outlet could just output a bang, when it is
done, otherwise how do you determine that writesf~ has written all
samples to disk?

Best regards,
Thomas
-- 
"Spielen Sie Strip Schnipp-Schnapp?" (Adam Weishaupt to Johann
Wolfgang von Goethe in: Robert Shea & Robert A. Wilson, The Golden
Apple)
http://www.residuum.org/



More information about the Pd-list mailing list