URL:
  <https://savannah.gnu.org/bugs/?68639>

                 Summary: Playback View broken when using LilyPond 2.26
                   Group: Denemo
               Submitter: rshann
               Submitted: Sun 23 Aug 2026 11:59:33 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name:
             Open/Closed: Open
         Discussion Lock: Unlocked


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 23 Aug 2026 11:59:33 AM UTC By: Richard Shann <rshann>
Playback View depends on using SVG output with the position of each note
recorded in a tag called "id" in the SVG xml file.
This tag is created using Denemo's customised version of live-score.ily
 
\override Score.NoteHead.output-attributes.id = #note-id
etc where note-id is a procedure defined in that file.

The result in the .svg file is tags such as

<g id="Note-21-14">
which identifies the row and column of the note in the LilyPond output.

With LilyPond 2.26 this results in
<g id="">

and playback view fails.

live-score.ily is adapted from event-listener.ly in the LilyPond distribution
and is updated for 2.26 by convert-ly the same update being used for this
testing. 
In trying to narrow this down I tested this
%%%%%%%%%%%%%%%%%%%%
\version "2.26.0"
\include
"/home/rshann/git-denemo/denemo/actions/lilypond/2.26/live-score.ily"
{
  \once \override NoteHead.output-attributes.id = #note-id
  c
}
%%%%%%%%%%%%%%%%%%
which gives this perplexing error message:
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
lilypond-2.26.0/bin/lilypond -dbackend=svg junk.ly
GNU LilyPond 2.26.0 (running Guile 3.0)
Processing `junk.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
warning: ignoring unsupported formats (pdf)

Unsupported SCM value for format: #<procedure note-id (a)>
Success: compilation successfully completed
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
an svg file is generated with the expected image.








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68639>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to