[PD] How to acquire the block size?
grhPD at gmx.at
Thu Mar 17 12:07:44 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:
t_int *pan_tilde_perform(t_int *w)
t_pan_tilde *x = (t_pan_tilde *)(w);
t_sample *in1 = (t_sample *)(w);
t_sample *in2 = (t_sample *)(w);
t_sample *out = (t_sample *)(w);
int n = (int)(w) // block size
More information about the Pd-list