Re: [PD] measuring time with sample accuracy

2006-11-07 Thread Marius Schebella
Alain de Cheveigne' schrieb: Am I correct in understanding that [blocksize~ 1] would align the resolution of control signals and audio signals? yes, within the subpatch you should have a message resolution of 1 sample accuracy. messages are always executed at the end of a signalvector,

Re: [PD] measuring time with sample accuracy

2006-11-06 Thread Marius Schebella
there is always the possibility to use a subpatch with [blocksize~ 1]. but I did not use this often, because, it is cpu intensive... better to find a solution in the signal-domain. like with ~ from zexy in combination(*~) with a phasor~ or line~ you would get a signal vector, where you have

[PD] measuring time with sample accuracy

2006-11-05 Thread Alain de Cheveigne'
I would like to measure the time of occurrence of waveform events (for example from adc~) with sample resolution. In other words, I would like to record at what sample index an event such as a threshold crossing occurred. The aim is to time events on various inputs relative to each other