humdrum-tools / verovio-humdrum-viewer

Verovio Humdrum Viewer
http://verovio.humdrum.org
37 stars 9 forks source link

Allow parentheses around time signatures #710

Closed craigsapp closed 2 years ago

craigsapp commented 2 years ago

Added with commit https://github.com/rism-digital/verovio/commit/c42ba0ab27b02417d39c71bcea8d34d9ebd0267e

Example:

Screen Shot 2022-05-02 at 9 40 17 PM
**kern  **kern
*clefF4 *clefG2
!LO:TS:paren    !LO:TS:brack
*M2/4   *M2/4
=1  =1
2c  2d
=2||    =2||
!LO:TS:paren    !LO:TS:brack
*M3/4   *M3/4
2.d 2.e
=3  =3
2.c 2.e
=4  =4
2.G 2.g
==  ==
*-  *-
Click to view MEI conversion ```xml </titleStmt> <pubStmt /> </fileDesc> <encodingDesc> <appInfo> <application isodate="2022-05-02T21:43:03" version="3.10.0-dev-6cc0d89"> <name>Verovio</name> <p>Transcoded from Humdrum</p> </application> </appInfo> </encodingDesc> <workList> <work> <title /> </work> </workList> </meiHead> <music> <body> <mdiv xml:id="mdobxj5"> <score xml:id="stwe832"> <scoreDef xml:id="sivkn47" midi.bpm="400.000000"> <staffGrp xml:id="sqcnsjc" bar.thru="true" symbol="brace"> <staffDef xml:id="sbwua3l" n="1" lines="5"> <clef xml:id="clef-L2F2" shape="G" line="2" /> <meterSig xml:id="metersig-L4F2" enclose="brack" count="2" unit="4" /> </staffDef> <staffDef xml:id="s9lid92" n="2" lines="5"> <clef xml:id="clef-L2F1" shape="F" line="4" /> <meterSig xml:id="metersig-L4F1" enclose="paren" count="2" unit="4" /> </staffDef> </staffGrp> </scoreDef> <section xml:id="section-L1F1"> <measure xml:id="measure-L1" right="dbl" n="1"> <staff xml:id="skpu04o" n="1"> <layer xml:id="layer-L1F2N1" n="1"> <note xml:id="note-L6F2" dur="2" oct="4" pname="d" accid.ges="n" /> </layer> </staff> <staff xml:id="s74drac" n="2"> <layer xml:id="layer-L1F1N1" n="1"> <note xml:id="note-L6F1" dur="2" oct="4" pname="c" accid.ges="n" /> </layer> </staff> </measure> <scoreDef xml:id="sfa8unt"> <staffGrp xml:id="s54o9rk"> <staffDef xml:id="sl74kgb" n="1"> <meterSig xml:id="m99bdjc" enclose="brack" count="3" unit="4" /> </staffDef> <staffDef xml:id="s3nz0fx" n="2"> <meterSig xml:id="mj2stg5" enclose="paren" count="3" unit="4" /> </staffDef> </staffGrp> </scoreDef> <measure xml:id="measure-L7" n="2"> <staff xml:id="staff-L7F2N1" n="1"> <layer xml:id="layer-L7F2N1" n="1"> <note xml:id="note-L10F2" dots="1" dur="2" oct="4" pname="e" accid.ges="n" /> </layer> </staff> <staff xml:id="staff-L7F1N1" n="2"> <layer xml:id="layer-L7F1N1" n="1"> <note xml:id="note-L10F1" dots="1" dur="2" oct="4" pname="d" accid.ges="n" /> </layer> </staff> </measure> <measure xml:id="measure-L11" n="3"> <staff xml:id="staff-L11F2N1" n="1"> <layer xml:id="layer-L11F2N1" n="1"> <note xml:id="note-L12F2" dots="1" dur="2" oct="4" pname="e" accid.ges="n" /> </layer> </staff> <staff xml:id="staff-L11F1N1" n="2"> <layer xml:id="layer-L11F1N1" n="1"> <note xml:id="note-L12F1" dots="1" dur="2" oct="4" pname="c" accid.ges="n" /> </layer> </staff> </measure> <measure xml:id="measure-L13" right="end" n="4"> <staff xml:id="staff-L13F2N1" n="1"> <layer xml:id="layer-L13F2N1" n="1"> <note xml:id="note-L14F2" dots="1" dur="2" oct="4" pname="g" accid.ges="n" /> </layer> </staff> <staff xml:id="staff-L13F1N1" n="2"> <layer xml:id="layer-L13F1N1" n="1"> <note xml:id="note-L14F1" dots="1" dur="2" oct="3" pname="g" accid.ges="n" /> </layer> </staff> </measure> </section> </score> </mdiv> </body> </music> </mei> ``` </details> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/craigsapp"><img src="https://avatars.githubusercontent.com/u/3487289?v=4" />craigsapp</a> commented <strong> 2 years ago</strong> </div> <div class="markdown-body"> <p>Maybe also add:</p> <pre><code class="language-tsv">**kern **kern *clefF4 *clefG2 !LO:TS:ed=paren !LO:TS:ed=brack *M2/4 *M2/4 =1 =1 2c 2d =2|| =2|| !LO:TS:ed=paren !LO:TS:ed=brack *M3/4 *M3/4 2.d 2.e =3 =3 2.c 2.e =4 =4 2.G 2.g == == *- *-</code></pre> <p>For specifically editorial time signatures</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>