Hi all, I need to notate a graphic score which uses some unusual notation for dynamics: they have their own staff and they consist of polygons (similar to dealing with volume of a track in Pro Tools, REAPER or other DAW). I realised that to avoid creating all these graphics using paths or even in Inkscape later on, I could use the \makeCluster function. This is what the score asks for:
<http://lilypond.1069038.n5.nabble.com/file/n177973/23.png> And this is what I get with \makeClusters after some tweaking: <http://lilypond.1069038.n5.nabble.com/file/n177973/37.png> The code for this image is: %%%%%%%%%%%%%%%%%%% CODE %%%%%%%%%%%%%%%%%%%%%% \version "2.19.15" music = \makeClusters { \override ClusterSpanner.padding = #'-0.25 \override Staff.TimeSignature.stencil = ##f \override Staff.Clef.stencil = ##f \override Staff.StaffSymbol.line-count = 1 s s s s | b' s s s | b' <b' g''> s s | s s s q | b' s s s | b' s s s | } bars = { \repeat unfold 6 { s4 \bar "!" s4 \bar "!" s4 \bar "!" s4 \bar "|" } } \score { \new Staff << \music \bars >> \layout { \context { \Score \override SpacingSpanner.strict-note-spacing = ##t \override SpacingSpanner.uniform-stretching = ##t proportionalNotationDuration = #(ly:make-moment 1/8) } } } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% But you can notice that \makeCluster changes the slopes at the positions where the noteheads should have been rather than where the barlines are, so the whole figure is slightly shifted to the right. I tried overriding the noteheads positions but to no avail. Would any of you have some suggestions on how to tackle this problem, that is, how to move the whole cluster slightly to the left? Thanks a lot in advance and take care, Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/offseting-makeCluster-tp177973.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
