06-10-2026, 09:24 AM
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!
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!

