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

Frescobaldi Feature Request: p&c position in midi player #258

Open
sciurius opened this issue Oct 28, 2013 · 6 comments
Open

Frescobaldi Feature Request: p&c position in midi player #258

sciurius opened this issue Oct 28, 2013 · 6 comments
Labels

Comments

@sciurius
Copy link

Would it be possible for frescobaldi to have point&click adjust the midi player to the correct position (or measure)?

@wbsoft
Copy link
Collaborator

wbsoft commented Oct 28, 2013

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.

@wbsoft
Copy link
Collaborator

wbsoft commented Mar 3, 2014

we now have infrastructure to determine the position of the text cursor, so this may come closer...

@fedelibre
Copy link
Member

fedelibre commented Dec 22, 2014

I can't find the issue about highlighting notes during playback, a feature very similar to this one.
I thought there was already an issue but I can't find it.
edit: found, it's #585

@andruo11
Copy link

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.

@andruo11
Copy link

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.
http://www.picatino.com/piano_typewriter/

@gasparka
Copy link

gasparka commented Feb 3, 2018

The lack of this feature makes Frescobaldi quite hard to use.
It does not need to be fancy, text field specifying where the MIDI playback should start would go a long way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants