musescore / musescore/MuseScore

Lilypond Lyrics: Dumping Lyrics should translate lyrics back into syntax

Open
#17,459 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Your idea

My idea:
There should be a way to translate lyrics from the score back into
the plugin-syntax while dumping.

This would allow to make corrections like punctuation, large and lower case, spelling and so on
and then re-paste the text.

It would also make it easy to understand the syntax:
Load a score with lyrics, dump the text into the plugin, see the syntax...

Problem to be solved

Dumping Lyrics doesn't translate them back into the plugin-syntax,
hence you can't re-past dumped lyrics and get the same result, see:

https://user-images.githubusercontent.com/78870770/236085236-1a0d8193-b21f-4f30-8fd8-5adae37b732b.mp4

This restricts the functionality of the plugin.

Prior art

No response

Additional context

There could be to ways to dump:

  • dump with syntax, weather it be lilypond's or musescore's own one
  • dump without

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the desktop plugin's lyric dumping entry point and how dumped lyrics are converted back into plugin syntax. Compare the requested syntax-preserving dump with the existing plain-text dump, then define expected round-trip behavior for punctuation, capitalization, spelling, and re-pasting before implementing and testing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.