[PD] How to detect Pd console errors and DSP state?

cyrille henry cyrille.henry at la-kitchen.fr
Thu Jun 3 20:50:24 CEST 2004


hello,

a very dirty solution to restard the DSP when audio stuck is to make a 
kind of watchdog :

the attached patch is very basic but restart audio a few second after if 
stuck.

hope that help.

cyrille


Lex Ein wrote:
> Can Pd detect its own console output errors?  If so, how?
> Can Pd detect its own DSP state (on/off)?  If so, how?
> 
> After about 2 hours of operation, I'm getting an "audio stuck" message; 
> a fix is to stop and start DSP.
> 
> I'd like to DETECT the "audio stuck" condition, and only then issue
> DSP stop/start.
> 
> Dual 1GHz Xeon, Win2K fully updated, Pd 0.37.1
> 
> Of course, ultimately, I'd like the "audio stuck" messages to go away.
> I'm stuck with mmio drivers - asio doesn't start.  No big, I guess.
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> to manage your subscription (including un-subscription) see
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: watchdog.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040603/63eee9d9/attachment.txt>


More information about the Pd-list mailing list