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

The sound effect is displayed but there is no sound produced #3771

Closed
dajun-TT opened this issue Sep 9, 2024 · 2 comments
Closed

The sound effect is displayed but there is no sound produced #3771

dajun-TT opened this issue Sep 9, 2024 · 2 comments

Comments

@dajun-TT
Copy link

dajun-TT commented Sep 9, 2024

Describe the problem
My XML or MEI files already display some sound effects (such as vibrato, glissando, boomerang, etc.), but the corresponding sound effects were not played during playback. Is there any way I could solve this problem? We obtain MIDI through the base64ToArrayBuffer (tk. renderToMIDI)
image

Input data
MEI Code would be like:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="5.0">
   <meiHead xml:id="mhztqnn">
      <fileDesc xml:id="fyt7dqk">
         <titleStmt xml:id="t1deo29o">
            <title>test</title>
            <respStmt>
               <persName role="composer">test / test</persName>
            </respStmt>
         </titleStmt>
         <pubStmt xml:id="p1w50wkx">
            <date isodate="2024-09-09" type="encoding-date">2024-09-09</date>
         </pubStmt>
      </fileDesc>
      <encodingDesc xml:id="e5fnrqr">
         <appInfo xml:id="a1jaapqb">
            <application xml:id="axbn2lf" isodate="2024-09-09T15:47:16" version="4.3.0-dev-f8c0c41">
               <name xml:id="n1lc7edm">Verovio</name>
               <p xml:id="pysp02u">Transcoded from MusicXML</p>
            </application>
         </appInfo>
      </encodingDesc>
   </meiHead>
   <music>
      <body>
         <mdiv xml:id="mdw5gc9">
            <score xml:id="s3sz7j3">
               <scoreDef xml:id="s7waiq0">
                  <staffGrp xml:id="s14tzqjx">
                     <staffGrp xml:id="P1" bar.thru="true">
                        <grpSym xml:id="gatsuq8" symbol="brace" />
                        <label xml:id="lxu5kgm">Piano</label>
                        <labelAbbr xml:id="l51qpt7">Pno.</labelAbbr>
                        <instrDef xml:id="i1w2twzj" midi.channel="0" midi.instrnum="0" midi.volume="78.00%" />
                        <staffDef xml:id="s894ck" n="1" lines="5" ppq="1">
                           <clef xml:id="c11d9duj" shape="G" line="2" />
                           <keySig xml:id="kx1mhvc" sig="0" />
                           <meterSig xml:id="mhnttlh" count="4" unit="4" />
                        </staffDef>
                        <staffDef xml:id="s5loo2d" n="2" lines="5" ppq="1">
                           <clef xml:id="cph1xni" shape="F" line="4" />
                           <keySig xml:id="kxelugk" sig="0" />
                           <meterSig xml:id="m1ydo3dl" count="4" unit="4" />
                        </staffDef>
                     </staffGrp>
                  </staffGrp>
               </scoreDef>
               <section xml:id="szfc9it">
                  <measure xml:id="myk2kvx" right="dbl" n="1">
                     <staff xml:id="s1rmbb04" n="1">
                        <layer xml:id="lj5mzml" n="1">
                           <fTrem xml:id="f16e7jmw" beams="3" beams.float="3">
                              <note xml:id="n1uxh15n" dur.ppq="2" dur="1" oct="5" pname="c" />
                              <note xml:id="n1j9zs6t" dur.ppq="2" dur="1" oct="4" pname="a" />
                           </fTrem>
                        </layer>
                     </staff>
                     <staff xml:id="s1rqyigg" n="2">
                        <layer xml:id="l1vstdnj" n="5">
                           <mRest xml:id="mokv945" />
                        </layer>
                     </staff>
                  </measure>
                  <measure xml:id="m6l3pqx" n="2">
                     <staff xml:id="szkwv1n" n="1">
                        <layer xml:id="lum9bck" n="1">
                           <bTrem xml:id="b1mvgn0i" form="meas">
                              <note xml:id="n1c3jzvn" dur.ppq="2" dur="2" oct="4" pname="b" stem.dir="down" stem.mod="3slash" />
                           </bTrem>
                           <bTrem xml:id="b1aupa7i" form="meas">
                              <note xml:id="n1fsk98v" dur.ppq="2" dur="2" oct="4" pname="g" stem.dir="up" stem.mod="3slash" />
                           </bTrem>
                        </layer>
                     </staff>
                     <staff xml:id="sdezn9b" n="2">
                        <layer xml:id="l1nvxy5t" n="5">
                           <mRest xml:id="mlg8uuv" />
                        </layer>
                     </staff>
                  </measure>
                  <measure xml:id="mayewzg" n="3">
                     <staff xml:id="s1tyup5r" n="1">
                        <layer xml:id="l11oq4aj" n="1">
                           <note xml:id="n1yja4d2" dur.ppq="1" dur="4" oct="5" pname="b" stem.dir="down" />
                           <note xml:id="n19tpk1t" dur.ppq="1" dur="4" oct="3" pname="f" stem.dir="up" />
                           <note xml:id="n8rs55v" dur.ppq="1" dur="4" oct="5" pname="b" stem.dir="down" />
                           <rest xml:id="r1v8pny8" dur.ppq="1" dur="4" />
                        </layer>
                     </staff>
                     <staff xml:id="sgajluv" n="2">
                        <layer xml:id="l4vacyx" n="5">
                           <mRest xml:id="mb215tg" />
                        </layer>
                     </staff>
                     <gliss xml:id="g1annn28" type="glissando" staff="1" startid="#n1yja4d2" endid="#n19tpk1t" lform="wavy" n="1" />
                     <gliss xml:id="g10q0vho" type="glissando" staff="1" startid="#n19tpk1t" endid="#n8rs55v" lform="wavy" n="2" />
                  </measure>
                  <measure xml:id="m130eznm" n="4">
                     <staff xml:id="st019rg" n="1">
                        <layer xml:id="l7sc1ho" n="1">
                           <note xml:id="nqygzf0" dur.ppq="2" dur="2" oct="5" pname="e" stem.dir="down" />
                           <note xml:id="n7f7a5j" dur.ppq="2" dur="2" oct="5" pname="e" stem.dir="down" />
                        </layer>
                     </staff>
                     <staff xml:id="s1lk43eh" n="2">
                        <layer xml:id="l1yqwgjn" n="5">
                           <mRest xml:id="mkym4et" />
                        </layer>
                     </staff>
                     <mordent xml:id="mfzepmx" staff="1" startid="#nqygzf0" form="upper" />
                     <mordent xml:id="m33wb1k" staff="1" startid="#n7f7a5j" form="lower" />
                  </measure>
                  <measure xml:id="ms4w7tt" n="5">
                     <staff xml:id="slfejkw" n="1">
                        <layer xml:id="l1745knk" n="1">
                           <note xml:id="nlr5x9i" dur.ppq="2" dur="2" oct="5" pname="e" stem.dir="down" />
                           <note xml:id="n16rovxv" dur.ppq="2" dur="2" oct="5" pname="d" stem.dir="down" />
                        </layer>
                     </staff>
                     <staff xml:id="s1bund07" n="2">
                        <layer xml:id="lnxyccy" n="5">
                           <mRest xml:id="m1tblfz7" />
                        </layer>
                     </staff>
                     <mordent xml:id="m15b3jtl" staff="1" startid="#nlr5x9i" form="lower" long="true" />
                     <mordent xml:id="mv6osxh" staff="1" startid="#n16rovxv" glyph.auth="smufl" glyph.num="U+E5B5" form="upper" long="true" />
                  </measure>
                  <measure xml:id="m1i3w2jj" n="6">
                     <staff xml:id="s1e5ysjm" n="1">
                        <layer xml:id="leign15" n="1">
                           <note xml:id="ntzvea6" dur.ppq="2" dur="2" oct="4" pname="b" stem.dir="down" />
                           <note xml:id="n1vzr21z" dur.ppq="2" dur="2" oct="4" pname="b" stem.dir="down" />
                        </layer>
                     </staff>
                     <staff xml:id="s1nvp8fn" n="2">
                        <layer xml:id="l9acvt6" n="5">
                           <mRest xml:id="m4iw9r" />
                        </layer>
                     </staff>
                     <mordent xml:id="m1kkb9j2" staff="1" startid="#ntzvea6" glyph.auth="smufl" glyph.num="U+E5C6" form="upper" long="true" />
                     <mordent xml:id="m4tlqws" staff="1" startid="#n1vzr21z" glyph.auth="smufl" glyph.num="U+E5B8" form="lower" long="true" />
                  </measure>
                  <measure xml:id="m1azqse7" n="7">
                     <staff xml:id="s1uojfra" n="1">
                        <layer xml:id="lxp6yyo" n="1">
                           <note xml:id="n9m9zp2" dur.ppq="1" dur="4" oct="5" pname="e" stem.dir="down" />
                           <note xml:id="n1dzl9hk" dur.ppq="1" dur="4" oct="5" pname="e" stem.dir="down" />
                           <rest xml:id="ru0imrc" dur.ppq="1" dur="4" />
                           <note xml:id="n1e3fow2" dur.ppq="1" dur="4" oct="4" pname="a" stem.dir="up" />
                        </layer>
                     </staff>
                     <staff xml:id="s1rlg0r4" n="2">
                        <layer xml:id="leql8go" n="5">
                           <mRest xml:id="m14uwnvk" />
                        </layer>
                     </staff>
                     <turn xml:id="t5sx4d5" staff="1" startid="#n9m9zp2" form="lower" />
                     <turn xml:id="t1sdj72d" staff="1" startid="#n1dzl9hk" form="upper" />
                  </measure>
                  <measure xml:id="m4izln6" right="end" n="8">
                     <staff xml:id="s1ju1rfe" n="1">
                        <layer xml:id="l14fmhdu" n="1">
                           <note xml:id="n1cecjgg" dur.ppq="1" dur="4" oct="5" pname="c" stem.dir="down" />
                           <note xml:id="nwkivot" dur.ppq="1" dur="4" oct="4" pname="b" stem.dir="down" />
                           <note xml:id="n99r2f0" dur.ppq="1" dur="4" oct="4" pname="b" stem.dir="down" />
                           <note xml:id="nk34clq" dur.ppq="1" dur="4" oct="4" pname="a" stem.dir="up" />
                        </layer>
                     </staff>
                     <staff xml:id="s1d9mjcn" n="2">
                        <layer xml:id="lomcaau" n="5">
                           <mRest xml:id="m12wswp0" />
                        </layer>
                     </staff>
                     <trill xml:id="tfpol5p" staff="1" startid="#n1cecjgg" />
                     <mordent xml:id="m1oq6272" staff="1" startid="#nwkivot" form="upper" />
                     <fermata xml:id="fuk5zt2" staff="1" startid="#n99r2f0" form="norm" place="above" />
                  </measure>
               </section>
            </score>
         </mdiv>
      </body>
   </music>
</mei>

@ahankinson
Copy link
Contributor

As mentioned by @craigsapp , this is already a feature request here: #1928

Pull Requests are a welcome contribution if you wish to make this feature available quicker. If not, you will probably have to wait until we have time and resources to commit to it.

Closing as a duplicate of #1928.

@craigsapp
Copy link
Contributor

You also recently created the same issue a few days ago, and you should not have created a new one that is essentially identical (see my example in the reply to your original post which covers #3754)

@rism-digital rism-digital locked as resolved and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants