Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add APIs to translate midi ticks to milliseconds #1580

Open
Danielku15 opened this issue Jul 13, 2024 · 0 comments
Open

Add APIs to translate midi ticks to milliseconds #1580

Danielku15 opened this issue Jul 13, 2024 · 0 comments
Assignees
Labels
area-player Related to the audio playback engine. platform-all Affects all platforms state-accepted This is a valid topic to work on. type-improvement 🚀

Comments

@Danielku15
Copy link
Member

See #1569

The midi tick lookup only allows lookup of playback positions in midi ticks, but not in milliseconds. The translation of midi ticks to milliseconds can be complicated because of tempo changes and the midi formulas.

It would be good if the MidiTickLookup stores also millisecond information and allows lookup of:

  • Beat/Bar playback times in milliseconds ( getMasterBarStart, getBeatStart)
  • Allow translation of milliseconds and ticks (back and forth)
  • Lookup of items via milliseconds (findBeat)
@Danielku15 Danielku15 added type-improvement 🚀 state-accepted This is a valid topic to work on. area-player Related to the audio playback engine. platform-all Affects all platforms labels Jul 13, 2024
@Danielku15 Danielku15 self-assigned this Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-player Related to the audio playback engine. platform-all Affects all platforms state-accepted This is a valid topic to work on. type-improvement 🚀
Projects
Status: Candidate
Development

No branches or pull requests

1 participant