Re: [PD] measuring time with sample accuracy
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, so that they take effect with the beginning of the new vector. otoh if you wanted to send messages out ([in]/[out]), they would be lined up in the parentpatch until the next signalvector of the parent patch would be finished (which is as a standard 64 samples). I have to add, that I know this only from tales, because I know the code. That`s just what I learned in school... marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] measuring time with sample accuracy
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 only values on the bins, where the threshold is crossed. marius. Alain de Cheveigne' schrieb: 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 with sample accuracy. I may be wrong, but I don't think things like vline~, timer or realtime can give me this accuracy. What I have in mind is something like threshold~, but that outputs the index at which a threshold-crossing event occurred. Does such a thing exist? Alain ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] measuring time with sample accuracy
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 with sample accuracy. I may be wrong, but I don't think things like vline~, timer or realtime can give me this accuracy. What I have in mind is something like threshold~, but that outputs the index at which a threshold-crossing event occurred. Does such a thing exist? Alain ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list