conpianist icon indicating copy to clipboard operation
conpianist copied to clipboard

Show/hide chords and lyrics in score view

Open hugbug opened this issue 5 years ago • 9 comments

I'm not sure if this is settable in Lomse.

hugbug avatar Apr 22 '20 17:04 hugbug

  • For lirycs, currently no settings. But should not be complex to implement.
  • For chords, what do you mean? chord symbols such as Cº? Lomse does not yet implement chord symbols.

cecilios avatar Apr 22 '20 17:04 cecilios

Screenshot from Smart Pianist:

Bildschirmfoto 2020-04-22 um 19 57 36

Can chords be embedded into MusicXML-files? And also important is that most of the MusicXML-files we use are generated from MIDI-files using MuseScore. I don't think chords are present in MIDI-files directly. Therefore MuseScore would need to detect them just like it builds score from MIDI-events.

The question is if MuseScore can build chords when importing MIDI-files. Because if it doesn't then we probably don't need the feature in Lomse. I think it's unlikely that users will add chords manually to the score (seems to be a task requiring some music knowledge).

hugbug avatar Apr 22 '20 18:04 hugbug

It is necessary to open the MusicXML file in a text editor to see how the chord symbol is exported by MuseScore, that is, to see which xml tag has been used. If it uses the <harmony> symbol, then no problem. Lomse does not yet import them. But, most probably, it is exported as an attached text. In that case, to hide chord symbols it would be necessary to hide attached texts and that can affect also to ther notations.

cecilios avatar Apr 22 '20 18:04 cecilios

There are different ways to implement chords in a midifile:

  • you can insert a chordname. It is like a text. In Muse it is shown as a chord.
  • you can insert a chord as Metacoding.
  • you can insert a chord as Sysex, but I could not find that chordtype in Muse.
  • you can insert a chord by notes, with some helping tools. (Cubase) See pics.

Harald chord_in_MIDI_File_MixMaster chord_in_MIDI_File_MixMaster_insert chord_in_Musescore chord_META_in_MIDI_File_MixMaster chord_META_in_Musescore

djangobaer avatar Apr 23 '20 08:04 djangobaer

But here the important thing is to find how the chord symbol/name is encoded in the MusicXML file created by MuseScore when importing a MIDI file. MusicXML tag <chord/> is not for chord symbol, it just marks the note to be grouped with other notes to form a chord.

cecilios avatar Apr 23 '20 09:04 cecilios

You are right, there is no convertion of chordnames from midi to xml ba Musescore. You can set chordnames in Muse and they will be shown in muse(harmony), but in the exportfile to midi there is nothing to find. In ConPianist (Lomse-score) you can see nothing from a chord. In Smart Pianist there are the chords shown. So they take it out from midi. It will be helpful to see the chords made in muse(harmony) in Lomse, if possible.

djangobaer avatar Apr 23 '20 10:04 djangobaer

@djangobaer Sorry, I do not understand:

there is no convertion of chordnames from midi to xml ba Musescore

Does MuseScore export chord names to MusicXML or not?

Lomse only deals with MusicXML, but neither with MIDI nor with MuseScore.

cecilios avatar Apr 23 '20 10:04 cecilios

MuseScore exports to MusicXML all chords, you have done in MuseScore as "harmony".

MusicXML-File: (as txt please rename for use)

image

Test_chords_D.txt

djangobaer avatar Apr 23 '20 11:04 djangobaer

Ok, when editing scores with MuseScore and saving the result as MusicXML chord names are saved as harmony elements. Currently Lomse does not imports the harmony elements so they will not be displayed.

Anyway, it should be clarified if MuseScore export the chord names when importing MIDI-files. Otherwise it will be irrelevant if lomse imports or not chord names.

@hugbug When all the needs to solve this issue are confirmed, could you please file separated issues in the lomse repository (https://github.com/lenmus/lomse/issues) for each need? e.g. one for option to hide/show lyrics and chord names. And another for importing harmony tags. Or wathever is needed. Thank you!

cecilios avatar Apr 23 '20 14:04 cecilios