Skip to content

How to get the first and last note startTick? #1190

Answered by Danielku15
renanboni asked this question in Q&A
Discussion options

You must be logged in to vote

I think there are two ways to tackle this topic:

  1. Ensure/Implement proper touch input support. You could check out how the normal interaction with mouse events is realized here and implement a touch compatible counterpart for your needs. The API should be public enough to implement a custom touch variant fitting your needs (tap, tap-hold etc.).
  2. Use some workaround like you propose and use the MidiTickLookup to lookup the correct range like described here: #1126

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Danielku15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants