Part of the problem is related to issue https://github.com/rism-ch/verovio/issues/1032, but there is a separate issue which is specific to mixed beams: The spacing of mixed beams are controlled by stems rather than note heads. The goal for spacing would be to space the stems on the mixed beam evenly. In this case the middle note should have a stem touching the beam exactly at its middle (although other layout contexts could perturb that default spacing).
Here is a reduced example with mixed beams and cross-staff permutations:
In all cases the stems of the middle note should be exactly in the middle of the beam as illustrated for simple beaming in the third measure.
Mixed rhythms will need refinement from the basic equal-duration case, but probably should be spaced as if there were no mixed stemming as illustrated in measure 4. In other words, the spacing of the stems in measure 3 should match their positions in measure 4. The main different between spacing in measure 5 and measures 3 and 4 would be that accidentals in measure 5 would not change the stem spacings, while in measures 3 and 4 would have to shift the notes based on any accidentals that need to be allocated extra space.
The last two measure are examples of non-mixed non-cross-staff beams.
Click to view MEI data for above example.
```xml
Verovio
Transcoded from Humdrum
cross-staffand mixed beamsmixed beamson one staff
```
In SCORE there is a command called STUD (Stems Up/Down) for dealing with this situation. Here is a description for this starting on page 245 of the SCORE reference manual version 3.0:
Here is a funny mixed-beam example:
which should be renderd as:
Part of the problem is related to issue https://github.com/rism-ch/verovio/issues/1032, but there is a separate issue which is specific to mixed beams: The spacing of mixed beams are controlled by stems rather than note heads. The goal for spacing would be to space the stems on the mixed beam evenly. In this case the middle note should have a stem touching the beam exactly at its middle (although other layout contexts could perturb that default spacing).
Click to view MEI data for example.
```Transcoded from Humdrum
In situ example: https://verovio.humdrum.org/?file=beethoven/sonatas/sonata02-1.krn&k=ey#mh85
Here is a reduced example with mixed beams and cross-staff permutations:
In all cases the stems of the middle note should be exactly in the middle of the beam as illustrated for simple beaming in the third measure.
Mixed rhythms will need refinement from the basic equal-duration case, but probably should be spaced as if there were no mixed stemming as illustrated in measure 4. In other words, the spacing of the stems in measure 3 should match their positions in measure 4. The main different between spacing in measure 5 and measures 3 and 4 would be that accidentals in measure 5 would not change the stem spacings, while in measures 3 and 4 would have to shift the notes based on any accidentals that need to be allocated extra space.
The last two measure are examples of non-mixed non-cross-staff beams.
Click to view MEI data for above example.
```xmlTranscoded from Humdrum
and mixed beams
on one staff