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
Frescobaldi Feature Request: p&c position in midi player #258
Comments
This involves quite a lot of heuristic, unless LilyPond would insert special events in the MIDI stream (point&click events). But as Frescobaldi's music reading capabilities improve, we could try to understand in which measure the text cursor is, and make some prediction as where to move the MIDI player. |
we now have infrastructure to determine the position of the text cursor, so this may come closer... |
I can't find the issue about highlighting notes during playback, a feature very similar to this one. |
This can be done by putting \include "event-listener.ly" at the top of your ly file and setting -dbackend=svg when you call the lilypond command on it. Then you can scan the output .svg & .notes files for identical point-and-click entries. The svg gives you an area of the page you can light up, and the notes entry gives you a timestamp. One clue: if you have /unfoldRepeats in your midi you should be sure to replace /repeat volta with /repeat unfold in your .ly files. |
I have a demo Javascript/HTML program working that links the MIDI notes to event-listener.ly text notes and SVG objects in the way described above. |
The lack of this feature makes Frescobaldi quite hard to use. |
Would it be possible for frescobaldi to have point&click adjust the midi player to the correct position (or measure)?
The text was updated successfully, but these errors were encountered: