<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>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.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>-Jonathan<br><br></span></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue,
 Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, May 19, 2014 6:25 PM, patrice colet <colet.patrice@free.fr> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">Hi pd-list,<br><br>  when [readsf~] couldn't read a soundfile it throws a dsp error message <br>to console.<br>I would like to monitor which file is erroneous *without using stderr*, <br>is there a way to do it?<br><br>For the moment the only way i've found is about modifying d_soundfile.c, <br>but I'm not sure it is worth to do it, so I'm looking for advices before <br>putting fingers into source code.<br><br><br>_______________________________________________<br><a href="" class="removed-link" ymailto="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>UNSUBSCRIBE
 and account-management -> <a href="" class="removed-link" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></div>  </div> </div>  </div> </div></body></html>