Interesting! I have been spending some time working in Python, and would not have expected that to be valid syntax prior to the new function, but I also didn't expect e.g. c2c4 to be valid either. Thanks for the quick response!
- Nikolai On Wed, Mar 23, 2022 at 6:02 PM Jean Abou Samra <j...@abou-samra.fr> wrote: > Le 23/03/2022 à 22:59, Nikolai Hedler a écrit : > > Hello! > > > > First of all, thanks to all the developers for their continued efforts! > > > > I am coming back to LIlypond after a couple years away, and found the > > addition of unpitched durations an interesting shorthand feature, but > > encountered a behavior I didn't expect. It seems that a pitch without > > explicit duration followed by an isolated duration (e.g. c8 c 4) will be > > treated as a single note (i.e. interpreted as c8 c4 instead of c8 c8 c4). > > Is this a specific choice or a bug? > > > > - Nikolai > > > > A choice. LilyPond is whitespace-insensitive. Stuff like c8 c 4 > was already valid before unpitched durations were implemented, > so changing the meaning would not have been easy for existing > scores, nor would it have fitted well with the rest of the LilyPond > syntax. > > Best, > Jean > > _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond