[PD] How to acquire the block size?

Thomas Grill gr at grrrr.org
Thu Mar 17 12:21:32 CET 2005


>
>> I've been learning how to program externals for pd for some time now. 
>> However, I've been wondering if there is a way to acquire the block 
>> size inside the external  e.g. inside my_obj_new()?
>
>
> you get it in the perform routine: 
> http://pd.iem.at/externals-HOWTO/node6.html :

If you are using the blocksize for non-DSP processing, you could also 
use the DSP method (same howto page) which only gets called when the dsp 
chain gets recompiled (e.g. when audio is turned on) and not every DSP 
tick, therefore saving resources.


best greetings,
Thomas





More information about the Pd-list mailing list