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

Unwanted default clef inserted on new MEI file #1242

Open
21CSM opened this issue Sep 17, 2024 · 0 comments
Open

Unwanted default clef inserted on new MEI file #1242

21CSM opened this issue Sep 17, 2024 · 0 comments

Comments

@21CSM
Copy link

21CSM commented Sep 17, 2024

Version number

v6.0.0
Or, latest web editor version: https://ddmal.music.mcgill.ca/Neon/

What you were doing

When I use Neon and create a brand new MEI file, it seems that an "invisible" default clef gets added on line 3. When I export this, I can see it in the output MEI, and also when I upload it in a different viewer i.e. Verovio

<body>
            <mdiv xml:id="m-7f25ddaa-6d6a-4a42-894c-c625aa1ce96d">
                <score xml:id="m-86bd2393-99c2-4890-b3d5-0450e97c6445">
                    <scoreDef xml:id="m-e65e912e-e024-43d3-bd21-38ab5306a29a">
+                       <staffGrp xml:id="m-355f35d4-1e1c-4346-a4a1-223b85e30a6f">
+                           <staffDef xml:id="m-3b30d996-49b4-4c74-aba1-dceb586c90e8" n="1" notationtype="neume" lines="4" clef.shape="C" clef.line="3"/>
+                        </staffGrp>
                    </scoreDef>
                    <section xml:id="m-482e5228-3bce-4fcd-b440-af2fc43bb7ad">
                        <staff n="1">
                            <layer n="1">
                                <pb xml:id="m-26d2b7bc-10e0-4173-87c7-d5fa5f3f85b4" facs="#m-b88c18d3-5c40-473a-b887-cab3ab1cbbd3"/>
                                <sb n="1" facs="#z1xx5klb" xml:id="s14hk27o"/>
                                <clef xml:id="c10s9elm" facs="#zqw8nb9" shape="C" line="2"/>
                            </layer>
                        </staff>
                    </section>
                </score>
            </mdiv>
        </body>

Example:
Screenshot 2024-09-16 at 10 26 49 PM

Unsure if this is a user issue from me or a bug. My expectation is this should not happen.

A workaround is to just edit the MEI file directly and remove the clef, which is not too much of a big deal.

What you were using

Attached output MEI file and source image. Unfortunately GitHub does not allow MEI or XML, so uploaded as TXT.
0286_Plut._29.01_Carta 139v.txt
0286_Plut _29 01_Carta 139v

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

No branches or pull requests

1 participant