-----Original Message----- From: Miller Puckette [mailto:mpuckett@imusic1.ucsd.edu] Sent: Wednesday, March 17, 2010 10:26 PM To: Ivica Ico Bukvic Cc: Hans-Christoph Steiner; pd-dev@iem.at Subject: Re: [PD-dev] more information on the gui getting stuck on 0.42.5
Hi Ivo -
It's unsafe to issue messages from inside a DSP routine, because the message could eventually cause tables to relocate or even a rebuild of the DSP chain. The safe thing is to schedule the message using clock_delay().
examples are snapshot~ and (more complicatedly) fiddle~ and bonk~.
cheers Miller
Many thanks for the clarification Miller. This helps a lot!
BTW, how often does the clock_delay() fire? Are we talking major delays that would effectively render this kind of a bang-based sync useless or is this something that occurs practically as often as dsp calls?
Best wishes,
Ico