Skip to content

Commit 093183c

Browse files
committed
docs: comment in build_mei_file.py line 251 about resolving issue #1276
1 parent 57bf729 commit 093183c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rodan-main/code/rodan/jobs/MEI_encoding/build_mei_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def create_primitive_element(xml: Element, glyph: dict, idx: int, surface: Eleme
248248

249249
# ncs, custos do not have a @line attribute. this is a bit of a hack...
250250
if xml.tag == "clef":
251-
#Adds an offset to the clef's position based on the number of lines
251+
#To resolve Rodan issue #1276 (https://github.com/DDMAL/Rodan/issues/1276), moves clef position to fix wrong note offsets due to different numbers of lines than 4
252252
attribs["line"] = str(int(float(glyph["strt_pos"])) + (staffDef_lines - 4))
253253

254254
attribs["oct"] = str(glyph["octave"])

0 commit comments

Comments
 (0)