[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Midi block gives errors with bar number checks
From: |
Peter Toye |
Subject: |
Re: Midi block gives errors with bar number checks |
Date: |
Wed, 27 Nov 2019 09:36:28 +0000 |
Carl,
I've been thinking about this, and my guess is that LP uses the bar number to
calculate the beat clock. And when there are repeats, MIDI bar number !=
engraving bar number, so it goes wrong. This is presumably why the MIDI
generator in LP doesn't handle repeats, and to make it do so would, I imagine,
be a major programming task and probably not worth the effort.
I'm not sure how many LP user use the MIDI output anyway, given its
restrictions. Personally, I use it for proof-reading only, so lack of repeats
isn't an issue.
I think it needs a mention in the documentation as you suggest. I'll try to
work something up - I already have one documentation issue that I promised to
help with.
Best regards,
Peter
mailto:address@hidden
www.ptoye.com
-------------------------
Tuesday, November 26, 2019, 7:12:47 PM, Carl Sorensen wrote:
From: Peter Toye <address@hidden>
Reply-To: Peter Toye <address@hidden>
Date: Tuesday, November 26, 2019 at 11:43 AM
To: Carl Sorensen <address@hidden>, "address@hidden" <address@hidden>
Subject: Re: Midi block gives errors with bar number checks
Carl,
I've just found the MIDI "beat clock" - 24 per crotchet. Still no bar numbers
though!
Hmm, I’ve been using MIDI on a MacBook using GarageBand. Apparently Apple has
added a framework called Core MIDI that adds the concepts of Bars, Beats, and
SubBeats to the MIDI time stream. So I always have Bars in mm work.
I suppose that one could make the midi performer ignore \barNumberCheck. The
only time I can imagine that would be problematic is if one were only using
LilyPond to create a midi file. And I suppose that as long as it were
properly documented, users would not expect it to work.
Thanks,
Carl