Maybe this is a good example to add somewhere?
On Apr 30, 2021, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Thu, 29 Apr 2021 23:12:12 +0200 From: Christof Ressi <info@christofressi.com mailto:info@christofressi.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: Re: [PD-dev] Polling: Execute a function every X ms from within the external. Message-ID: <eb2b0430-8d03-96ed-45de-2555e9321b73@christofressi.com mailto:eb2b0430-8d03-96ed-45de-2555e9321b73@christofressi.com> Content-Type: text/plain; charset="utf-8"; Format="flowed"
Here's how:
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
It could go to the examples in https://github.com/pure-data/externals-howto. Also, there should be an example or note about using a clock to send messages from the perform routine. I'll make a PR.
On 30.04.2021 14:55, Dan Wilcox wrote:
Maybe this is a good example to add somewhere?
On Apr 30, 2021, at 12:00 PM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Thu, 29 Apr 2021 23:12:12 +0200 From: Christof Ressi <info@christofressi.com mailto:info@christofressi.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: Re: [PD-dev] Polling: Execute a function every X ms from within the external. Message-ID: <eb2b0430-8d03-96ed-45de-2555e9321b73@christofressi.com mailto:eb2b0430-8d03-96ed-45de-2555e9321b73@christofressi.com> Content-Type: text/plain; charset="utf-8"; Format="flowed"
Here's how:
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com robotcowboy.com http://robotcowboy.com
Actually, I just realized that the guide doesn't mention clocks at all, not even in the API reference section.
On 30.04.2021 15:51, Christof Ressi wrote:
It could go to the examples in https://github.com/pure-data/externals-howto. Also, there should be an example or note about using a clock to send messages from the perform routine. I'll make a PR.
On 30.04.2021 14:55, Dan Wilcox wrote:
Maybe this is a good example to add somewhere?
On Apr 30, 2021, at 12:00 PM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at wrote:
Message: 2 Date: Thu, 29 Apr 2021 23:12:12 +0200 From: Christof Ressi <info@christofressi.com mailto:info@christofressi.com> To: pd-dev <pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at> Subject: Re: [PD-dev] Polling: Execute a function every X ms from within the external. Message-ID: <eb2b0430-8d03-96ed-45de-2555e9321b73@christofressi.com mailto:eb2b0430-8d03-96ed-45de-2555e9321b73@christofressi.com> Content-Type: text/plain; charset="utf-8"; Format="flowed"
Here's how:
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com robotcowboy.com http://robotcowboy.com