hanlindev / plugin_android_library

Plugin android library for Sana Mobile Client
Other
1 stars 4 forks source link

HeartbeatAudioDetector does not actually work #145

Closed weitsang closed 9 years ago

weitsang commented 9 years ago

The clipTime is set to 300 ms. This means that multiple beats in a second will be counted as one. Thus, the app can detect at most 3-4 beats per second!

zhaooyue commented 9 years ago

This is designed to consider that human heart rate usually won't exceed 300 beats per minutes. Thus setting clipTime to 300ms will be sufficient in this scenario.

weitsang commented 9 years ago

You are right! What was I thinking.