Files
lockstep/TODO.md
2026-03-07 23:17:06 +01:00

1.3 KiB

TODO

  • reduce lib size, librubberband is 1.3 M (one .so file)
    • maybe we are compiling too many source files
    • TODO: see Android.mk in librubberband and copy options from LOCAL_CFLAGS

O> 16 KB paging for NDK libs

  • target SDK level 35

  • record the accelero and check why repeated fast beats result in occasional detection outages

    • guess: the threshold gets pushed so high that the later beats are not detected properly
    • maybe we need the *0.6 factor after all (but verify this!)
  • minimum amplitude for accelero (avoid detecting e.g. when phone is lying flat and you hammer on the table)

  • filter away bad SQI areas of the signal (do not detect steps if we have bad SQI)

Nice-To

  • myband PlaybackEngine.cpp has latency management and other audio performance related features. Check if the app can be improved (audio wise) by using that code instead.

  • Sampling rate for accelerometer - do we need to measure actual sensor FPS, or is it stable 50 Hz?

  • re-calculate IIR filter coefficients. probably not critical for 50 Hz vs. 60 Hz.

  • re-visit sampling rate and channel count. MixingPlayer currently forces both to 48000 and 2 respectively, regardless of what Android says would be optimal.

Before release

  • check librubberband license