Menu

#3945 warning about starting volume in MIDI and possible workarounds

Verified
Dan Eble
Defect
2016-06-27
2014-06-07
Anonymous
No

Originally created by: *anonymous

Originally created by: fedel...@gmail.com

Reported by Harm:
http://lists.gnu.org/archive/html/bug-lilypond/2014-05/msg00034.html

Refering to a discussion on the user list, especially:
http://lists.gnu.org/archive/html/lilypond-user/2014-05/msg00425.html
I'd like to report some bugs/enhancements.

First:
the following gives a warning with midi:

\score {
  { c'1\> c' c'\! }
  \midi {}
}

--> (De)crescendo with unspecified starting volume in MIDI.

Though

\score {
  { c'1 c'\> c' c'\! }
  \midi {}
}

does not warn. From a _musical_ point of view I can see no difference
in the starting volume.

Second:
In order to avoid the midi-warning a workaround would be to specify
the starting volume explicitly and hide or omit the
DynamicText.stencil.

{ c'1-\hide\mf\> c' c'\! }
{ c'1-\omit\mf\> c' c'\! }

Though, the Hairpin will start at the right of the now
invisible/non-existent DynamicText [#4837].
I'd think "... the code for typesetting the hairpin should
explicitly check for an _omitted_ stencil (one being #f) and in that
case revert to the anchorless behavior", as David K pointed out.

Third:
According to \omit a shortcut for setting the stencil to point-stencil
may be quite handy.

Related

Issues: #4048
Issues: #4837

Discussion

  • Google Importer

    Google Importer - 2015-07-20

    Originally posted by: simon.al...@mail.de

    Issue 4104 has been merged into this issue.

     

    Related

    Issues: #4104

  • Dan Eble

    Dan Eble - 2016-06-04
    • Description has changed:

    Diff:

    
    
    • assigned_to: Dan Eble
    • Needs: -->
    • Patch: -->
     
  • Dan Eble

    Dan Eble - 2016-06-04

    (2nd try after reconfiguring git-cl)

    http://codereview.appspot.com/294700043

     
  • Dan Eble

    Dan Eble - 2016-06-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -41,7 +41,7 @@
        \{ c'1-\omit\mf\> c' c'\\\! \}
    
     Though, the Hairpin will start at the right of the now
    -invisible/non-existent DynamicText.
    +invisible/non-existent DynamicText (issue 4837).
     I'd think "... the code for typesetting the hairpin should
     explicitly check for an \_omitted\_ stencil \(one being \#f\) and in that
     case revert to the anchorless behavior", as David K pointed out.
    
    • Needs: -->
    • Type: -->
     
  • Dan Eble

    Dan Eble - 2016-06-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -41,7 +41,7 @@
        \{ c'1-\omit\mf\> c' c'\\\! \}
    
     Though, the Hairpin will start at the right of the now
    -invisible/non-existent DynamicText (issue 4837).
    +invisible/non-existent DynamicText [#4837].
     I'd think "... the code for typesetting the hairpin should
     explicitly check for an \_omitted\_ stencil \(one being \#f\) and in that
     case revert to the anchorless behavior", as David K pointed out.
    
     

    Related

    Issues: #4837

  • David Kastrup

    David Kastrup - 2016-06-06
    • status: Accepted --> Started
     
  • Anonymous

    Anonymous - 2016-06-07
    • Patch: new --> review
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2016-06-07

    Passes make, make check and a full make doc.

     
  • Anonymous

    Anonymous - 2016-06-09
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2016-06-09

    Patch on countdown for June 12th.

     
  • Anonymous

    Anonymous - 2016-06-12
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2016-06-12

    Patch counted down - please push.

     
  • Dan Eble

    Dan Eble - 2016-06-14
    • labels: --> Fixed_2_19_44
    • status: Started --> Fixed
    • Patch: push -->
    • Type: Enhancement --> Defect
     
  • Federico Bruni

    Federico Bruni - 2016-06-27
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -13,19 +13,23 @@
     First:
     the following gives a warning with midi:
    
    -  \score \{
    -      \{ c'1\> c' c'\\\! \}
    -      \midi \{ \}
    -  \}
    +~~~~
    +\score {
    +  { c'1\> c' c'\! }
    +  \midi {}
    +}
    
    -\--> \(De\)crescendo with unspecified starting volume in MIDI.
    +--> (De)crescendo with unspecified starting volume in MIDI.
    +~~~~
    
     Though
    
    -  \score \{
    -      \{ c'1 c'\> c' c'\\\! \}
    -      \midi \{ \}
    -  \}
    +~~~~
    +\score {
    +  { c'1 c'\> c' c'\! }
    +  \midi {}
    +}
    +~~~~
    
     does not warn. From a \_musical\_ point of view I can see no difference
     in the starting volume.
    @@ -37,8 +41,10 @@
     the starting volume explicitly and hide or omit the
     DynamicText.stencil.
    
    -   \{ c'1-\hide\mf\> c' c'\\\! \}
    -   \{ c'1-\omit\mf\> c' c'\\\! \}
    +~~~~
    +{ c'1-\hide\mf\> c' c'\! }
    +{ c'1-\omit\mf\> c' c'\! }
    +~~~~
    
     Though, the Hairpin will start at the right of the now
     invisible/non-existent DynamicText [#4837].
    
    • status: Fixed --> Verified
     

    Related

    Issues: #4837

  • Federico Bruni

    Federico Bruni - 2016-06-27

    0743ea2984c2b705a5e0748721f9ac2e30c575f5

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.