[PD] getting readsf~ errors in patch

Jonathan Wilkes jancsika at yahoo.com
Tue May 20 00:52:12 CEST 2014


You can use [timer] to measure the duration between starting to read and when it outputs a bang.  If it's equal to the duration of a single block-- and if your soundfiles are all larger than that-- then you will know there was an error.

-Jonathan


On Monday, May 19, 2014 6:25 PM, patrice colet <colet.patrice at free.fr> wrote:
 


Hi pd-list,

  when [readsf~] couldn't read a soundfile it throws a dsp error message 
to console.
I would like to monitor which file is erroneous *without using stderr*, 
is there a way to do it?

For the moment the only way i've found is about modifying d_soundfile.c, 
but I'm not sure it is worth to do it, so I'm looking for advices before 
putting fingers into source code.


_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140519/031093f0/attachment.html>


More information about the Pd-list mailing list