[PD] Messages in an external
IOhannes m zmoelnig
zmoelnig at iem.at
Thu Nov 3 17:50:37 CET 2005
Piotr Majdak wrote:
> IOhannes m zmoelnig wrote:
>> well, the speed of the machine does _not_ effect the maximum allowed
>> number of loop-iterations. (however, if you are doing audio at the
>> same time, you might consider a fast machine and a larger audiobuffer
>> to avoid clicks)
> Well, I'm confused now. I do audio at the same time and I have to avoid
> any clicks, of course. But, how fast must the machine run? How large
> must be the audio buffer for a given number of messages in loop? Or,
> generally, what are the limitations and dependencies on chosing the
> number of iterations for a message output in a loop?
no assumption can be made on my side about "how fast" or "how many".
as long as pd is handling messages, it cannot calculate audio.
how long the message handling takes, depends on what it does.
if you object outputs 10 floats in a loop and nothing is connected to
it, you are unlikely to notice.
however, if each of these floats triggers a 65000-sample fft (e.g. of a
table) and sends the result of these as an email to the nearest spyware
blaster, you are likely to get into troubles.
the simplest thing you can do is try it out, how many calcs you can do
in a row without clicks.
and of course, there is the option of using a separate thread for the
message handling (if using pd-devel is an option)
More information about the Pd-list