Re: search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
perfect thanks! Mar 6, 2024, 14:35 by lilyp...@hillvisions.com: > On 2024-03-06 10:56 am, Michael Winter via LilyPond user discussion wrote: > >> I have a programmatically generated score and am now realizing that I want >> to make a small tweak to text markups that are throu

Re: search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
double thanks Mar 6, 2024, 14:36 by j...@abou-samra.fr: > > Try > > \version "2.24.2"\paper { #(add-text-replacements!'(("1↑" . "1")))}{ > c'^\markup "1↑" } > > Best, > > > Jean > >

Re: search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
haracters, or are you > trying to replace larger chunks of LilyPond code? > > It would also help to know what operating system environment you are > using. The answer may be to make a copy of the whole tree and run a > search/replace utility recursively on all the files. > > Regards

search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
I have a programmatically generated score and am now realizing that I want to make a small tweak to text markups that are throughout the score in multiple files that are included at multiple levels.  " 1↑"  replace with " 1" (e.g. remove the up arrow when it is preceded by a 1) Is it possible t

Re: function to force accidentals on a subset of notes

2023-10-31 Thread Michael Winter via LilyPond user discussion
This is what happens for me too. I think it has something to do with all the other functions I am using.  Oct 30, 2023, 21:25 by l...@gmx.de: > > Hi Michael, > > Am 30.10.23 um 10:42 schrieb Michael Winter: > >> But I am confused about what you said. For

Re: function to force accidentals on a subset of notes

2023-10-30 Thread Michael Winter via LilyPond user discussion
Thanks! This seems to work quite well : ) But I am confused about what you said. For me, it is posting the accidental on tied notes after line breaks. Best, Michael Oct 28, 2023, 22:40 by l...@gmx.de: > Hi Michael, > >> Thanks Lukas! >> >> This works but also forces the accidental on tied no

Re: function to force accidentals on a subset of notes

2023-10-22 Thread Michael Winter via LilyPond user discussion
erty! event 'force-accidental #t)) > > \layout { >   \context { >     \Voice >     \consists #Force_accidentals_engraver >   } > } > > \transpose a c' \relative > { >   a8 gis g fis g gis a4 > } > > > > Lukas > > Am 21.10.23 um 11:3

Re: function to force accidentals on a subset of notes

2023-10-21 Thread Michael Winter via LilyPond user discussion
Thanks Jean, I am not sure I completely follow. Lets say I have a music sequence: a b c d e f g a bes c d e f g ... How do I apply what you have written as a function to only show the flats and naturals for b and bes. Again. I do not want to apply this to individual notes. Sorry if I am missi

function to force accidentals on a subset of notes

2023-10-20 Thread Michael Winter via LilyPond user discussion
I have a piece that is in the following scale: c d e fis g aes bes b Is it possible to force the accidentals just for the bes and the b? But here is the catch... I am both transposing the part and respelling pitch-classes as show below. The scale above is actually the resulting printed set of n

Re: custom replace/map of one set of pitches to another

2023-08-31 Thread Michael Winter via LilyPond user discussion
-ref scaleA pos)) > (oct2 (ly:pitch-octave p2)) > (p3 (list-ref scaleB pos)) > (new-pitch (ly:pitch-transpose p3 (ly:make-pitch (- > oct oct2) 0 > (ly:music-set-property! m 'pitch new-pitch))) > m) > #f))) > music) > music)) > > \transposePitchClas

Re: custom replace/map of one set of pitches to another

2023-08-31 Thread Michael Winter via LilyPond user discussion
single Staff or Voice. At the moment, the replacement > dictionary is global, but this could be changed if needed. > > At the moment the mechanism I chose is too crude to do replacements that > involve changing the pitch-octave (eg from c to b,). Do you need this? > > Lu

Re: custom replace/map of one set of pitches to another

2023-08-31 Thread Michael Winter via LilyPond user discussion
I am now realizing that it would be useful to have this both at the level of the entire score and individually for each part. Aug 31, 2023, 12:53 by mwin...@unboundedpress.org: > I would like to do something (hopefully simple), which is basically a custom > find and replace for a set of notes i

custom replace/map of one set of pitches to another

2023-08-31 Thread Michael Winter via LilyPond user discussion
I would like to do something (hopefully simple), which is basically a custom find and replace for a set of notes in an entire score. For example {c cis d dis fih g aih} -> {c cis dih dis f gis a} So basically on arbitrary list of pitches / scale  to another. Is this possible without writing a c

Re: two lv ties on merged notehead

2020-06-04 Thread Michael Winter via LilyPond user discussion
Thanks all,  Seems like there are many solutions. Also know I understand the problem so will be able to look for such things in the future. Best, Michael Jun 4, 2020, 04:20 by r...@dabble.ch: > Michael Winter wrote: > > It seems that when a notehead is merged in two voices no matter

two lv ties on merged notehead

2020-06-03 Thread Michael Winter via LilyPond user discussion
It seems that when a notehead is merged in two voices no matter what you do you, lilypond only adds on lv tie. Is there a way to force 2 lv ties? <<{ d,4\laissezVibrer ^ \markup{ 0.0 }  } \new Voice { \voiceTwo d,4\laissezVibrer  }>> Thanks in advance. -Michael

Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Michael Winter via LilyPond user discussion
On cursory glance this looks like a viable solution. Perhaps I can tweak it to people to use it at the end of a system as opposed to the beginning of a system. That would make my life a bit easier but not completely necessary. Jun 2, 2020, 09:31 by r...@dabble.ch: > Michael Winter wr

Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Michael Winter via LilyPond user discussion
>   \repeat unfold 20 s1 > } > > \layout { >   system-count = 8 > } > > Otherwise you can do two single scores. > HTH, cheers, > Pierre > > PS. > http://lilypond.org/tiny-examples.html > > Le mar. 2 juin 2020 à 13:23, Michael Winter <> mwin...@unbo

Re: forced \break or \pageBreak with ragged-right

2020-06-02 Thread Michael Winter via LilyPond user discussion
, Michael Jun 2, 2020, 24:48 by pierre.schneider.pa...@gmail.com: > Hi Michael, > try: > > ragged-last = ##t > > Cheers > Pierre > > Le mar. 2 juin 2020 à 06:13, Michael Winter via LilyPond user discussion <> > lilypond-user@gnu.org> > a écrit : > >&g

forced \break or \pageBreak with ragged-right

2020-06-01 Thread Michael Winter via LilyPond user discussion
Hello, Is it possible to have ragged-right = ##f but then allow a single system to be ragged-right after a forced \break or \pageBreak? Any help on how to do this will be much appreciated. Thanks in advance. Michael

Re: start engraving at specified measure

2018-08-23 Thread Michael Winter
Thanks, I did try that directive, but it seems to not keep my proportional notation. Is that by design? -Michael On 8/23/18 6:22 PM, David Kastrup wrote: Michael Winter writes: Hello, Is it possible to start engraving at a specified measure or to omit the first x measure. Note that I am

start engraving at specified measure

2018-08-23 Thread Michael Winter
Hello, Is it possible to start engraving at a specified measure or to omit the first x measure. Note that I am not trying to create a fragment here. I just want to drop x given empty measures at the beginning of a particular staff (without removing empty staves past a certain point). I tri

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-31 Thread Michael Winter
. Now I will try to alter the gradients. On 01/31/2018 06:35 PM, Thomas Morley wrote: 2018-02-01 1:28 GMT+01:00 Thomas Morley : 2018-01-31 19:02 GMT+01:00 Michael Winter : I am now curious what you are thinking about the line breaking. Maybe I am out to lunch here and you have a much better idea

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-31 Thread Michael Winter
Thanks. You have gone far and above the call of duty. I will post questions if I have any, but wont shed tears if you cannot get around to it. Best, Michael On 01/31/2018 06:28 PM, Thomas Morley wrote: 2018-01-31 19:02 GMT+01:00 Michael Winter : I am now curious what you are thinking

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-31 Thread Michael Winter
just want everything to align / be accurate to start. Best, Michael On 01/31/2018 06:15 PM, Thomas Morley wrote: 2018-01-31 18:37 GMT+01:00 Michael Winter : As for linebreaking. That is indeed a showstopper at the moment. Is that because you are using filled box stencil? No, I was not cl

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-31 Thread Michael Winter
almost. something seems to be not quite right about the alignment... On 01/31/2018 03:30 PM, Michael Winter wrote: ok. I have learned a tremendous amount with your help. I went ahead and hacked away replacing your function with line markups and now it seems to work with line breaks. let me

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-31 Thread Michael Winter
o     b'8   } \new Score << \new Staff \mus \new Staff {   %% negative value reverses colors   \override Glissando.details.color-steps = -100   %% thicker   \override Glissando.thickness = 2   \mus } \new Staff {   %% less steps, default (and max) is 100   \override Glissando.details.col

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-31 Thread Michael Winter
nter wrote: Hmmm... I made the change to use the stencil extent and that seems to be fine. I am not sure what you are saying about the visibility of the final stencil. As for linebreaking. That is indeed a showstopper at the moment. Is that because you are using filled box stencil? When I was usin

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-31 Thread Michael Winter
path directive with a line, the breaking seemed to work / break fine. I will see if I can make the switch unless you have another idea. Best, Michael On 01/31/2018 03:41 AM, Thomas Morley wrote: 2018-01-31 3:46 GMT+01:00 Michael Winter : On first glance. This looks ideal. THANK YOU I am a bit

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-30 Thread Michael Winter
On first glance. This looks ideal. THANK YOU I am a bit brain dead at the moment, so will dig in tomorrow and let you know if I have any further questions / thoughts / ideas. Very kind indeed. Best, Michael On 01/30/2018 07:35 PM, Thomas Morley wrote: 2018-01-31 0:00 GMT+01:00 Michael

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-30 Thread Michael Winter
s '(0 0)) b'16 b'16 b'8 b'4 \override Staff.Beam.color = #(x11-color 'grey60) b'8 b'16 b'16 ~ \once \override NoteColumn.glissando-skip = ##t b'16 b'16 b'8     }}   >>   >> On 01/30/2018 03:32 PM, Thomas Morley wrote: 201

test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-30 Thread Michael Winter
Hello... I have tried quite a few hacks, but nothing really suitable. What I really want is to simple draw a line beneath the staff that has a grey scale gradient such that for each note, I give a target value. Most of what I have tried involves doing this in increments with overlapping span

Re: test spanner with controlled gradient / dynamic volume curve indicated by grey level

2018-01-30 Thread Michael Winter
\path #2     #'((moveto 0.6 0) (lineto 0.9 0) (closepath))   } } On 01/29/2018 06:27 PM, Michael Winter wrote: Hello... I have tried quite a few hacks, but nothing really suitable. What I really want is to simple draw a line beneath the staff that has a grey scale gradient such that for

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
04:28 PM, Thomas Morley wrote: > 2016-09-08 18:13 GMT+02:00 Michael Winter : >> Respectfully, >> >> This is like someone asking for directions but instead of getting an >> answer on how to get to their preferred destination, getting asked why >> they would want to go

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
I think I found a good solution. This needs some more testing, but here goes (see below). This with the overridden auto-knee-gap and damping settings allows some dampening but will always clear one of the beam sides out of the staff. So looks like all is accomplished: generally getting the beams ou

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
Thank you David! This is so, so helpful. You have no idea how grateful I am. I want to play around a bit and will let you know if I have any further questions. Best, Michael On 09/08/2016 11:13 AM, David Nalesnik wrote: > On Thu, Sep 8, 2016 at 1:08 PM, David Nalesnik > wrote: > >> So, to ge

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
Thank you David! This is a great start. And at the very least gets me to the point where manual overrides will not be as numerous. I also think I can play with this to get a bit more natural dampening. Plus this is a good opportunity to get my feet wet with scheme. Quick thought (to maybe deal w

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
, Michael On 09/08/2016 02:10 AM, Thomas Morley wrote: > 2016-09-08 8:52 GMT+02:00 Michael Winter : >> Is it possible to force a beam to always start (vertically) a minimum >> distance from the staff regardless of the stem direction? >> >> Thanks, >> >> Michael

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
ques Menu Muzhic wrote: > Hello Michael, > > Can you show an example of what you’d like to get? > > JM > >> Le 8 sept. 2016 à 08:52, Michael Winter a écrit >> : >> >> Is it possible to force a beam to always start (vertical

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
, but I would need to know which direction the stems are going. Is it possible to get that value so I can set the beam position negative or positive based on the direction of the stem? On 09/07/2016 11:52 PM, Michael Winter wrote: > Is it possible to force a beam to always start (vertically) a mini

always set beam outside of staff

2016-09-08 Thread Michael Winter
Is it possible to force a beam to always start (vertically) a minimum distance from the staff regardless of the stem direction? Thanks, Michael ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: vertical position of beamed rests

2014-03-18 Thread Michael Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I am bumping this issue as I am working with Casey and we really need a solution for this problem. Any help will be much appreciated. Again, it seems like there is no way to: force center (vertically) the rests in the staff such that the bea

Re: allowing any horizontal collision in proportional notation

2013-02-07 Thread Michael Winter
notation that gives you exact horizontal spacing by > eliminating all traditionally placed accidentals and places them over the > notes instead. > > or something, > Jeff > > On Wed, Feb 6, 2013 at 12:57 PM, Michael Winter > wrote: > >> Dear All, >> >&

Re: force flat beam in piano staff that uses \autochange

2013-02-07 Thread Michael Winter
#x27;16 ais'16 e''16 g16 ais''16 a''16 ais16 e16 d''16 a''16 c16 ais'16 e''16 a''16 ais'16 e''16 g'16 c''16 d''16 a''16 a'16 } } On Feb 7, 2013, at 4:23 AM, li

Re: force flat beam in piano staff that uses \autochange

2013-02-06 Thread Michael Winter
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 07/02/13 07:57, Michael Winter wrote: >> Dear All, >> >> I have a piano staff that is using \autochange. The notes are just running >> 16ths throughout. In a beamed group, sometimes the notes a

allowing any horizontal collision in proportional notation

2013-02-06 Thread Michael Winter
Dear All, It seems that with proportional notation even strict spanning does not allow collisions of notehead and accidentals. Is it possible to allow any collision such that the resolution and accuracy are exact no matter what? Or maybe I am missing something Many thanks in advance, Mike

force flat beam in piano staff that uses \autochange

2013-02-06 Thread Michael Winter
Dear All, I have a piano staff that is using \autochange. The notes are just running 16ths throughout. In a beamed group, sometimes the notes are all in the upper staff, sometimes they are all in the lower staff, and sometimes they are in both. What I really want to do is force the beam to be f

allowing any horizontal collision in proportional notation

2013-01-31 Thread Michael Winter
Dear All, It seems that with proportional notation even strict spanning does not allow collisions of notehead and accidentals. Is it possible to allow any collision such that the resolution and accuracy are exact no matter what? Or maybe I am missing something Many thanks in advance, Mike

force flat beam in piano staff that uses \autochange

2013-01-31 Thread Michael Winter
Dear All, I have a piano staff that is using \autochange. The notes are just running 16ths throughout. In a beamed group, sometimes the notes are all in the upper staff, sometimes they are all in the lower staff, and sometimes they are in both. What I really want to do is force the beam to be f