android / android/media-samples

onSend() have interval more than 3 seconds.

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
migrated googlesamples
Dominant language
Kotlin
Stars
1.4k
Forks
781
PR merge metrics
No merged PRs in 30d

Description

Hi.
I connected my MIDI DEVICE with App.
I've entered the key quickly in DEVICE, but it takes more than 3 seconds to get it from the app.
Was this delay intended?
Is there a solution for getting input fast?
Thank you.

12-30 14:11:45.120 6267-6320/com.example.android.midiscope I/MidiScope: 52.434: 90 3C 2B: NoteOn(1, 60, 43)
12-30 14:11:48.173 6267-6320/com.example.android.midiscope I/MidiScope: 55.487: 90 3C 00: NoteOn(1, 60, 0)
12-30 14:11:51.181 6267-6320/com.example.android.midiscope I/MidiScope: 58.497: 90 3C 3E: NoteOn(1, 60, 62)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the delay with the connected MIDI device and inspect the onSend() path referenced in the issue. Compare the device timestamps with when the app receives or displays each NoteOn event; done means determining whether the delay is intended and documenting or fixing the cause so input arrives promptly.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.