Hello PD community
We all know that there is sound latency when using Pure Data. My question is more theoretical: where does this latency come from? which property of Pd is it related to? How to measure it?
Thank you for your help
What causes latency in Pure data?
Hello PD community
We all know that there is sound latency when using Pure Data. My question is more theoretical: where does this latency come from? which property of Pd is it related to? How to measure it?
Thank you for your help
@blurryface Incoming audio is processed in Pd in "blocks" of 64 samples and then the block is sent out (I wanted to type "spat out" so I have). This is normal, and what the operating system expects...... so it can get on with other stuff until the next block arrives.
64 samples is about 1.45 milliseconds...... it depends on the samplerate......... so any incoming audio will not be sent out for 1.45 msecs....... the latency of Pd.
@ 44.1kHz 64/44.1=1.451
@ 48kHz 64/48=1.333
You can measure your total system audio latency using latency.pd which you will find in Pd/doc/7.stuff.
More info about latency, buffers etc. in Pd/doc/1.manual/x3.htm
David.
@whale-av Thanks for the quick response. It was a very accurate and helpful explanation of latency in Pure Data
Oops! Looks like something went wrong!