This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

About fluctuating sampling rate
#1
Hi, thank you for making a great app!
I am doing the Acceleration Spectrum experiment with an iPhone 12 Pro Max (whose accelermoter's sampling rate is at 100Hz).
Since I want to limit the sampling rate to another number, I changed a bit in the code.
- <input>
    <sensor type="accelerometer" rate="0">  # I changed to 50 and 80

I succeeded in loading the experiment to my phone already.
However, there were some strange things:
- For the 50Hz case: Sometimes the sampling rate starts at 33Hz and then slowly reaching 45 Hz and fluctuates; sometimes it starts perfectly at 50Hz and does not change at all
- For the 80Hz case: The sampling rate is always at 50Hz

I would really appreciate it if you could let me know what the reasons might be.
And maybe a way to fix?

Thank you for your time!
Reply


Messages In This Thread
About fluctuating sampling rate - by nguyenkhoi - 06-10-2026, 09:24 AM

Forum Jump: