Hi Robert,
Le 11/03/2022 à 18:05, Robert Mengual a écrit :
Hello everyone,
I am developing a custom music notation in which distance between
notes is different from the standard one. Instead of the tipical
distance from C to D of 1, in mine for example this distance is 2/3.
This of course causes notes in the same chord that are 1 tone away to
overlap. I wanted to fix this by overriding
Stem.note-collision-threshold to 1.5 (which would solve it). However,
it won't allow to pass float numbers. My question is, shouldn't it
allow them? Why not?
Comparing floats is hazardous due to decimal precision issues. On the
other hand, it might be possible to make it accept rational numbers like
#3/2.
In any case, does anyone know how might I approach this challenge in a
different way? I tried setting a different StaffSpacing but I was
unsuccessful as well.
Could you give a code example? It's not clear to me what different
coordinate systems are being used.
Thanks,
Jean