-
Notifications
You must be signed in to change notification settings - Fork 17
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
Regression with addMetaNote that effects time signatures, fermatas and tempo #59
Comments
%%% WARNING: GENERATED FILE. DO NOT EDIT. %%%
\version "2.20.0"
\paper {
#(define fonts
(make-pango-font-tree "Times New Roman"
"Arial"
"Andale Mono"
(/ staff-height pt 20)))
% First page vs. subsequent pages
indent = 0.3\in
short-indent = 0\in
% horizontal-shift
% paper-width
% left-margin
% right-margin
% Horizontal space taken up by music
line-width = 210\mm - 2.0 * 0.4\in
page-breaking = #ly:one-page-breaking
}
\header {
title = "Test 123"
composer = "Some guy"
tagline = "" % removed
}
\layout {
}
#(set-global-staff-size 10)
<<
\new StaffGroup <<
>>
\new StaffGroup <<
>>
\new StaffGroup <<
>>
<<
\new Staff { \set Staff.instrumentName = "Piano I" \set Staff.shortInstrumentName = "Piano I" \clef treble { \time 4/4 c'1-\mf
} d'1 e'1 f'1 g'1
}
>>
\new StaffGroup <<
>>
\new StaffGroup <<
>>
>> |
So I'm happy to try and take a go at this - but I'm probably going to need some pointers as where to look. |
Tempo is also being ignored. This bug also seems to occur with musicxml export, though the musicxml file currently crashes musescore for unknown reasons :( |
This looks like a regression. I would go about it like this:
Let me know if you need any further pointers! |
Ah thanks! I've fixed the time signature bug (caused by a regression due to the Option datatype being deprecated - which is a little weird, but a trivial fix). But now I've discovered a wider issue with |
Reopening as fermatas and tempo needs to be resolved too. |
So I've looked into this some more and for the code where tempo would be generated you have "TODO add tempo". So I'm guessing this got removed in a refactoring. I couldn't see anything for fermata. Is there any reason for tempo to be tied to a barline like it used to be? Obviously it makes it easier to code, but it does feel a little limiting. Particularly as fermatas will be independent of the barline and I have to work out how to code that anyway. |
I looked through the code and it seems these features exist in the Lilypond AST ( It looks like the code to render these from I don't think there is any non-technical reason reason to connect tempo/fermata to barlines. |
I first noticed this with the bartok example where it's all in common time. Here's an example:
The text was updated successfully, but these errors were encountered: