On 9/10/18 11:01 PM, Alexandre Torres Porres wrote:
> Hello, I wanna be able to know the number of overlaps the [block~] object
> is set to...
> 
> any ideas how I should get that magical number in an external code? Is that
> information accessible anywhere?

it's encoded into the s_sr member of the t_signal you get in the "dsp"
routine.
s_sr = overlap * samplerate = overlap * resamplefactor * sys_samplerate.

there's no way to distinguish between a signal that was upsampled by 2
and a signal that has an overlap-factor of 2.

dsamr
IOhannes

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pd-dev mailing list
[email protected]
https://lists.puredata.info/listinfo/pd-dev

Reply via email to