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 th

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

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.

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

Re: function to force accidentals on a subset of notes

2023-10-22 Thread Michael Winter via LilyPond user discussion
t '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:37 schrieb Michael

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

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

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

2023-08-31 Thread Michael Winter via LilyPond user discussion
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)) > > \transposePitchClasses {d fih g aih} {dih f gis a

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

2023-08-31 Thread Michael Winter via LilyPond user discussion
t 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? > > Lukas > > Am 31.08.23

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

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

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.

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

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 <thomasmorle...@gmail.com>: 2018-01-31 19:02 GMT+01:00 Michael Winter <mwin...@unboundedpress.org>: I am now curious what you are thinking about the line break

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 <mwin...@unboundedpress.org>: I

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 <mwin...@unboundedpress.org>: As for linebreaking. That is indeed a showstopper at the moment. Is that because you are using filled box

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
tails.color-steps = -100   %% thicker   \override Glissando.thickness = 2   \mus } \new Staff {   %% less steps, default (and max) is 100   \override Glissando.details.color-steps = 5   %% thinner   \override Glissando.thickness = 0.2   \mus } >> On 01/31/2018 12:02 PM, Michael Winter

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

2018-01-31 Thread Michael Winter
se you are using filled box stencil? When I was using a 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 <

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

2018-01-31 Thread Michael Winter
a 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 <mwin...@unboundedpress.org>: On first glance. This

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
ey60) 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: 2018-01-30 6:19 GMT+01:00 Michael Winter <mwin...@unboundedpress.org>: A bit more here. I think I can fake this in a markup... See example p

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

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

2018-01-30 Thread Michael Winter
) (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 each note, I give a target value. Most of what I have

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 <mwin...@unboundedpress.org>: >> Respectfully, >> >> This is like someone asking for directions but instead of getting an >> answer on how to get to their preferred destination, getting a

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

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

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

Re: always set beam outside of staff

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

Re: always set beam outside of staff

2016-09-08 Thread Michael Winter
you show an example of what you’d like to get? > > JM > >> Le 8 sept. 2016 à 08:52, Michael Winter <mwin...@unboundedpress.org> a écrit >> : >> >> Is it possible to force a beam to always start (vertically) a minimum >> distance from the staff regardl

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

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

2013-02-07 Thread Michael Winter
beam in piano staff that uses \autochange Message-ID: 51131322.7060...@internode.on.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 07/02/13 12:39, Michael Winter wrote: This does not work when there are groups of notes beamed together that are either all in the upper

Re: allowing any horizontal collision in proportional notation

2013-02-07 Thread Michael Winter
? In that case, you might just invent an alternate 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 mwin...@unboundedpress.orgwrote: Dear

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

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,

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

2013-02-06 Thread Michael Winter
-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 are all in the upper staff, sometimes they are all

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

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,