What is the smallest amount of time duration that the timer object measure in pd? Specifically, can it measure values in microseconds?
- 
				
				
				
				smallest time interval in pd 
 
- 
				
				
				
				@Polygraphovich I don't know this topic much, but from memory this is the external that allows the smallest time interval: https://git.iem.at/pd/iemlib 
 --------------- t3 - time-tagged-trigger ---------------------
 ----------- a time-tag is prepended to each message -----------
 ----- so these objects allow a sample-accurate access to ------
 ---------- the signal-objects t3_sig~ and t3_line~ ------------
 t3_bpe time tagged trigger break point envelope
 t3_delay time tagged trigger delay
 t3_metro time tagged trigger metronom
 t3_timer time tagged trigger timerCheers~ 
- 
				
				
				
				@Polygraphovich also, as you can set the timer interval in samples......... http://puredata.info/docs/manuals/pd/x2.htm 
 from chapter 2.4.4 onwards......
 David.
- 
				
				
				
				Thanks guys, I tried using the t3_timer object and I think I might be getting somewhere. My overall aim is to measure the amount of time that a trigger pin is on, connected to an ultrasonic sensor through firmata and an arduino board. I was trying to compute this by sending a t b b from the trigger to the two inlets of a timer object. I don't think I can do the same with the t3_timer object though. 
 @whale-av, thanks for the lead. I think I better read up about block size if I need to deal with small time intervals.
- 
				
				
				
				The [timer] object can measure any duration that can be expressed within the precision of a single-precision floating point number. 
 
					 
									 
									