Re: Graphic lines create

2019-11-05 Thread Andrew Bernard
Hi All, As I mentioned above, if you use PostScript it wont output to SVG. The OP says his requirement is SVG output, so it is no use giving him PostScript pointers. Reggie, if you can accept normal PDF output then it's OK. Andrew

Re: Graphic lines create

2019-11-05 Thread karl
Karl: > Reggie: > > Karl Hammar wrote ... > > > zz = \markup\postscript "0 1 360 5 mul { cos 0.01 mul 0.002 add .01 exch > > > rlineto } for stroke" > > > > > > \relative c'' { > > > c4^\zz c c c | > > > c c c c | > > > } ... > > Karl this looks outstanding but I don't understand how the code

Re: Graphic lines create

2019-11-05 Thread Pierre Perol-Schneider
There's a markup function that could help: \draw-squiggle-line (see: http://lilypond.org/doc/v2.19/Documentation/notation/graphic) E.g. a little heavy but works: \version "2.19.83" %#(set-global-staff-size 40) vib = \markup\concat \override #'(thickness . 2) \override #'(angularity . 0.9)

Re: Graphic lines create

2019-11-05 Thread karl
Ben: > On 11/5/2019 11:35 AM, k...@aspodata.se wrote: ... > > zz = \markup\postscript "0 1 360 5 mul { cos 0.01 mul 0.002 add .01 exch > > rlineto } for stroke" > > > > \relative c'' { > >c4^\zz c c c | > >c c c c | > > } > > > > there is also a \markup\path command that possible could be

Re: Graphic lines create

2019-11-05 Thread Ben
On 11/5/2019 11:35 AM, k...@aspodata.se wrote: Reggie: ... Andrew thank you for the vibrato but you say it's able to create close to my image? How would I learn which code to change for that to happen? I probably need to draw curves free as I move forward but I need SVG output so I guess I'm

Re: Graphic lines create

2019-11-05 Thread karl
Reggie: > Karl Hammar wrote ... > > To just do something curvy, do something like: > > > > zz = \markup\postscript "0 1 360 5 mul { cos 0.01 mul 0.002 add .01 exch > > rlineto } for stroke" > > > > \relative c'' { > > c4^\zz c c c | > > c c c c | > > } > > > > there is also a \markup\path

Re: Graphic lines create

2019-11-05 Thread Ben
On 11/5/2019 1:42 AM, Pierre Perol-Schneider wrote: Hi Reggie, As Andrew pointed, see: http://lilypond.1069038.n5.nabble.com/Off-topics-vibrato-td145006.html#a145087 Cheers, Pierre Le mar. 5 nov. 2019 à 03:14, Reggie > a écrit : Hi. I cannot find how to

Re: Graphic lines create

2019-11-05 Thread Ben
On 11/5/2019 12:08 PM, Reggie wrote: Karl Hammar wrote Reggie: ... Andrew thank you for the vibrato but you say it's able to create close to my image? How would I learn which code to change for that to happen? I probably need to draw curves free as I move forward but I need SVG output so I

Re: Graphic lines create

2019-11-05 Thread Reggie
Karl Hammar wrote > Reggie: > ... >> Andrew thank you for the vibrato but you say it's able to create close to >> my >> image? How would I learn which code to change for that to happen? I >> probably >> need to draw curves free as I move forward but I need SVG output so I >> guess >> I'm out off

Re: Graphic lines create

2019-11-05 Thread karl
Reggie: ... > Andrew thank you for the vibrato but you say it's able to create close to my > image? How would I learn which code to change for that to happen? I probably > need to draw curves free as I move forward but I need SVG output so I guess > I'm out off luck. In Sibelius it's quite easy to

Re: Graphic lines create

2019-11-05 Thread Reggie
Andrew Bernard wrote > HI Reggie, > > If you want to draw all sorts of freeform curves, then that's a whole > topic > of it's own. compared to the algorithmic code for the vibrato. > > Let us know. > > Andrew Andrew thank you for the vibrato but you say it's able to create close to my image?

Re: Graphic lines create

2019-11-04 Thread Pierre Perol-Schneider
Hi Reggie, As Andrew pointed, see: http://lilypond.1069038.n5.nabble.com/Off-topics-vibrato-td145006.html#a145087 Cheers, Pierre Le mar. 5 nov. 2019 à 03:14, Reggie a écrit : > Hi. I cannot find how to create graphic lines anywhere in LilyPond like > this. > I find basic shapes but nothing like

Re: Graphic lines create

2019-11-04 Thread Andrew Bernard
HI Reggie, If you want to draw all sorts of freeform curves, then that's a whole topic of it's own. compared to the algorithmic code for the vibrato. Let us know. Andrew

Re: Graphic lines create

2019-11-04 Thread Andrew Bernard
The code for which came from Mark Witmer, many thanks to him. Andrew

Re: Graphic lines create

2019-11-04 Thread Andrew Bernard
Hi Reggie, I have a vibrato function that is highly parameterized. If the picture here gives you some idea, I can post the code. Using the right arguments you can achieve pretty close to what you have. And you can rotate objects easily, as per your picture. An alternative is to code the

Graphic lines create

2019-11-04 Thread Reggie
Hi. I cannot find how to create graphic lines anywhere in LilyPond like this. I find basic shapes but nothing like this modern style. How do you provide the angle and length to adjust for score? Please suggest code for this. Thanks! 752ddda41273_10157508106580761_7457284070309888000_o.jpg