Menu

#5624 ignore \barNumberCheck when processing MIDI

Fixed
Dan Eble
Enhancement
2019-12-02
2019-11-28
Dan Eble
No

Make bar number checks contingent on the new context property
ignoreBarNumberChecks not being true. Set it by default in the MIDI
Score context.

Reword the warning message to avoid confusion with bar checks.

Eliminate input/regression/bar-number-check.ly because it seemed to
duplicate coverage.

https://codereview.appspot.com/579140043

Discussion

  • David Kastrup

    David Kastrup - 2019-11-28

    Is a separate property from ignoreBarChecks needed? I am not decided about it.

     
    • Dan Eble

      Dan Eble - 2019-11-28

      Here are some reasons for my choosing to add a property for bar number checks and to leave bar checks enabled.

      • the bug report was about bar number checks rather than bar checks
      • in my own work, I haven't found bar checks in MIDI to be any kind of nuisance
      • I can imagine errors I might make involving repeats and alternatives which could be caught by leaving bar checks enabled when rendering unfolded music to MIDI

      This position is not strongly held; if someone wanted to take a stand for KISS, I'd be willing to change the patch.

       
  • Anonymous

    Anonymous - 2019-11-28
    • Description has changed:

    Diff:

    
    
    • Needs: -->
    • Patch: new --> review
     
  • Anonymous

    Anonymous - 2019-11-28

    Passes make, make check and a full make doc.

     
  • Anonymous

    Anonymous - 2019-11-30
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2019-11-30

    Patch on countdown for Dec 2nd.

     
  • Anonymous

    Anonymous - 2019-12-02
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2019-12-02

    Patch counted down - please push.

     
  • Dan Eble

    Dan Eble - 2019-12-02
    • labels: --> Fixed_2_21_0
    • status: Started --> Fixed
    • Patch: push -->
     
  • Dan Eble

    Dan Eble - 2019-12-02
    commit ab4f3cd2ad792b848c1045fd572b5f119a180d23 (HEAD -> staging, origin/staging)
    Author: Dan Eble <nine.fierce.ballads@gmail.com>
    Date:   Wed Nov 27 15:05:47 2019 -0500
    
        Issue 5624: ignore \barNumberCheck when processing MIDI
    
        Make bar number checks contingent on the new context property
        ignoreBarNumberChecks not being true.  Set it by default in the MIDI
        Score context.
    
        Reword the warning message to avoid confusion with bar checks.
    
        Eliminate input/regression/bar-number-check.ly because it seemed to
        duplicate coverage.
    
     
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.