Re: Turning off or stripping out bar checks

2019-07-06 Thread Timothy Lanfear

On 06/07/2019 15:02, Leah Velleman wrote:
Is there a way to turn off bar checks? Or to write a music function 
that strips out bar checks?


Or does anyone have suggestions on where to start looking for such 
things?



You can redefine the | symbol to do nothing like this.

\version "2.19.83"

"|" = {}

{
  \time 4/4
  c''2 | c''2 |
  \bar "|."
}

--
Timothy Lanfear, Bristol, UK.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Turning off or stripping out bar checks

2019-07-06 Thread Ralph Palmer
On Sat, Jul 6, 2019 at 10:05 AM Leah Velleman 
wrote:

> Is there a way to turn off bar checks? Or to write a music function that
> strips out bar checks?
>
> Or does anyone have suggestions on where to start looking for such things?
>
> Here's the situation. Most of what I write (largely Sacred Harp fuguing
> tunes) triggers a known limitation around bar checks. Most pieces in this
> style include repeats with alternative endings. Because of partial
> measures, the alternative endings include changes to the bar length. And I
> generate MIDI output using a second score with \unfoldRepeats. This
> combination triggers spurious bar check failures for the second score. (The
> limitation is described at
> http://lilypond.org/doc/v2.19/Documentation/notation/long-repeats#normal-repeats;
> scroll down to "Known issues and warnings.")
>
> I'd like to find a way prevent bar checks on the score that includes
> \unfoldRepeats, but perform them as normal on the score where repeats are
> not unfolded. And since this is a situation that comes up very often for
> me, it's worth my while to spend some time on making this work.
>
> Any thoughts on where I might start?
>
> Thanks,
> LV
>

I haven't had much experience with tags, but that seems like a good place
to start. Try taking a look at :
http://lilypond.org/doc/v2.19/Documentation/notation/different-editions-from-one-source#using-tags

HTH,

Ralph



-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user