Speaking of bangs doing the job, I wish [tabread] had a right outlet that banged when you gave it an out of bound index. I was trying to make a vanilla version of [tabdump] and that would allow me to know when I've read the whole table without needing to know it's size explicitly.
On Oct 1, 2013, at 6:00 PM, pd-list-requ...@iem.at wrote: > From: Jamie Bullock <ja...@jamiebullock.com> > Subject: Re: [PD] writesf~ time to flush to disk…? > Date: October 1, 2013 5:26:49 PM GMT+08:00 > To: Thomas Mayer <tho...@residuum.org> > Cc: pd-list@iem.at > > > > On 1 Oct 2013, at 09:27, Thomas Mayer <tho...@residuum.org> wrote: > >> On 30.09.2013 17:22, Jamie Bullock wrote: >>> >>> 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? >> > > I meant that it should just output the _total_ samples written after it has > flushed to disk. This would be consistent with the behaviour of [soundfiler] > I believe. > > But yes, a bang would do the job. > > best, > > Jamie -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list