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

do not duplicate fermatas on rests #136

Closed

Conversation

rettinghaus
Copy link
Member

closes #89

@rettinghaus rettinghaus requested review from th-we and annplaksin and removed request for th-we April 8, 2020 16:02
@annplaksin
Copy link
Member

Does someone have a test file for that?

@rettinghaus
Copy link
Member Author

See here.
Only the rest at the end has an extra @fermata.

@th-we
Copy link
Member

th-we commented Apr 15, 2020

@rettinghaus In that case, the two fermatas are deliberately input in Sibelius:

grafik

But the Sibelius file crashes the current Sibmei for reason other than two fermatas on the same rest, so we should use that as the basis for a new test case.

@th-we
Copy link
Member

th-we commented Apr 15, 2020

OK, created a test file.

fermatas.sib.zip

[Edit: see next post for update]

Three systems with all the same fermatas so we can re-use the same test for all of them.

Anyone feeling like writing tests?

@th-we
Copy link
Member

th-we commented Apr 16, 2020

Update: More comprehensive test set:

grafik

fermatas.sib.zip

@annplaksin
Copy link
Member

I am currently looking into the crash... and I just found that little comment: ;-)

function GenerateFermata (bobj) {
    //$module(ExportGenerators.mss)
    /* Note rests can have multiple fermatas in Sibelius,
        but this is currently not supported.
        Also, fermatas added as symbols are not yet handled.
    */

When I got rid of the crash, we will see how much of the work is done. But it might be wise to rework the fermata stuff in the future.
But I would like to wait with handling the symbol fermatas until after my planned reworking of ProcessSymbol()

@th-we
Copy link
Member

th-we commented Apr 21, 2020

@annplaksin I fully agree. That might lead to doing the work twice.

@annplaksin
Copy link
Member

I solved the crash and added a test to make sure, rests have no @fermata attributes.
@rettinghaus Please see my pull request to this branch.

Everything else, like fermata symbols, should be added after reworking the symbols.

@th-we th-we added the Symbol and text rewrite Revisit after symbol and text handling was rewritten label Apr 26, 2020
@annplaksin
Copy link
Member

Just to mention, #162 contains the changes made here and adds fermatas as sysmbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Symbol and text rewrite Revisit after symbol and text handling was rewritten
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fermatas over rests get exported twice
3 participants