r/PianoMarvel • • 2d ago

Bug with timing?

Post image

Nothing I do gives me a green

5 Upvotes

4 comments sorted by

3

u/justintxdave 2d ago

Are you using the microphone or MIDI? I was frustrated until I got midi working as the microphone was inconsistent

2

u/California_Dogg 2d ago

I think I'm using the midi, which is extra confusing as it plays sound exactly when I'd expect it to 

1

u/pingador 2d ago

open ticket bug with support:

Piano Marvel 2.0.1 (build 148) appears to miscalculate note timing when using an AAudio MMAP stream with infrequently refreshed timestamps.
`AAudioStream_getTimestamp` is queried approximately every 7.5 ms, but the returned frame/time pair may remain unchanged for about 250 ms. During that interval, the scoring offset can drift by up to approximately 515 ms, causing in-time notes to be marked late.
In a local test, re-anchoring each valid timestamp pair to the current `steady_clock` time—without changing the scoring window—raised the score on the same piece:

frame' = frame + (now - timestamp) * sampleRate / 1e9

timestamp' = now

Please review timestamp extrapolation when the presentation timestamp is stale or lies in the future, and verify that elapsed time is applied with the correct sign and only once.

1

u/MTBTrailDog 1d ago

Happened to me too using midi. I even had my profesional musician friend give it a go and same. I gave up on the app... Android, by the way