Very creative suggestion!  It sounds like you have already done this test;
would you be willing to share some graphical data showing the relationship 
between the two pulses?
(e.g. a graph with time on X axis, and both accelerometer data and audio 
data on Y axis in different colors)

On Friday, April 3, 2015 at 4:47:40 PM UTC-7, George Tsiros wrote:
>
> use the accelerometer. as far as i can tell, the accelerometer sensor data 
> is not buffered thus latency is minimal
>
> rest device on something soft (i used cigarette rolling filters)
>
> set accelerometer to maximum refresh rate, on my xperia z ultra it is 200 
> Hz
>
> output pulses (say 1% duty cycle at 1 Hz) at maximum possible amplitude
>
> measure difference in time between request for sound playback and movement 
> detected via the accelerometer
>
> some tweaking will be necessary to filter out the noise from the signal
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to