On 20 Aug 2023, Ihor Radchenko wrote:

Jonathan Gregory <j...@autistici.org> writes:

ob-doc-lilypond.html looks good, but I changed lilypond.org in:

https://git.sr.ht/~bzg/worg/commit/6b9da77c8078be183971575fdc79d402bf6184c2

-  b c d e
+  b4 c d e

Is there any specific reason for this change?

This is to ensure that the notes use the correct duration in arrange-mode. 4 is the default duration and is carried over until a new value is added, in this case c1. 1 is then carried over making all subsequent "e"s have a value of 1, which is incorrect.

#+begin_src lilypond
{
 b c c c c1
}
#+end_src

#+begin_src lilypond
{
 e e e e f1
}
#+end_src

In basic-mode it makes no difference, but that's assuming the default value never changes. BTW I prefer inline-mode over basic-mode, but I'll leave that for a future time.

--
Jonathan

Reply via email to