Re: Spannerize glyphs, markups etc. ?

2021-02-04 Thread Dimitris Marinakis
Hi David, Thank you very much! The problem you described is innate with spanners such as trills etc. All software I've encountered including Lilypond work exactly as you described. Perhaps the calculation could extend the overall Spanner length to allow for the last appearance of the glyph if the

Re: Spannerize glyphs, markups etc. ?

2021-02-04 Thread David Nalesnik
Hi Dimitris, On Thu, Feb 4, 2021 at 10:36 AM Dimitris Marinakis wrote: > > Thank you. This certainly works for simple scenarios. > > Here is my incomplete take. I just need to find out how to automatically > change the number that repeats the stencil based on the spanner length. > Sorry if this

Re: Spannerize glyphs, markups etc. ?

2021-02-04 Thread Dimitris Marinakis
Thank you. This certainly works for simple scenarios. Here is my incomplete take. I just need to find out how to automatically change the number that repeats the stencil based on the spanner length. Sorry if this doesn't make sense. I just started learning bit by bit how to make things work in Sch

Re: Spannerize glyphs, markups etc. ?

2021-02-03 Thread Pierre Perol-Schneider
Hi Dimitris, Here's a trial (every adjsutment are manual): %% \version "2.22.0" curl = \markup \stencil #(make-path-stencil '(M 0 0 C 4 0 4 5 2.5 5 C 1 5 1 0 5 0) .15 .6 .6 #f) mors = \markup \stencil #(make-path-stencil '(M 0 0 L .5 0 M 1.5 0 L 3 0) .15 .6 .6

Spannerize glyphs, markups etc. ?

2021-02-03 Thread Dimitris Marinakis
Does anyone have any code that allows us to "spannerize" repeated or alternating paths and musicglyphs ? e.g. - • - • - • - or even asymmetric patterns like - - • - > - • I think an effort for such a code would also be really useful for evolving spanners. (trills with various speeds etc.) If I'm