Re: line-breaking issue

2020-08-09 Thread Kevin Barry
Hi Ahanu, It might help if you add this: \layout { \context { \Score \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/32) } } It might make LilyPond more willing to squash sixteenths closer together than it would normally like. Kevin On Sun, 2020-08-09 at 02:48 -0

Scheme: change duration of NoteEvent

2020-08-09 Thread Павел
I want to write simple function that will be change duration of note. But I stuck on the first step: I can't "extract" (or "see") the duration property: \version "2.20.0" mynote = c' \displayMusic \mynote #(display-scheme-music     (ly:music-property mynote 'duration))

Re: accidentals and broken bars

2020-08-09 Thread Kevin Barry
On Sun, 2020-08-09 at 06:48 +0200, Werner LEMBERG wrote: > Thanks for the explanation. What about the other way round, this is, > adding some information to the invisible bar line that defines a > broken bar, and which accidentals could use to print themselves in > such cases? You could try somet

Re: Scheme: change duration of NoteEvent

2020-08-09 Thread Lukas-Fabian Moser
Hi Pavel, Am 09.08.20 um 12:30 schrieb Павел: I want to write simple function that will be change duration of note. But I stuck on the first step: I can't "extract" (or "see") the duration property: \version "2.20.0" mynote = c' \displayMusic \mynote #(display-scheme-music     (ly:music-prope

Re: accidentals and broken bars

2020-08-09 Thread David Kastrup
Kevin Barry writes: > On Sun, 2020-08-09 at 06:48 +0200, Werner LEMBERG wrote: >> Thanks for the explanation. What about the other way round, this is, >> adding some information to the invisible bar line that defines a >> broken bar, and which accidentals could use to print themselves in >> such

Get grob value from another context

2020-08-09 Thread Павел
I want to write scheme function for this, but I don't know where to start: \new Staff <<     {         c     }     \new Voice { %        \stemUp, if note c (in another voice) has stem down %        \stemDown, if note c has stem up         g     } >>

Re: Iterators in Scheme?

2020-08-09 Thread Niols
Hello, On 07/08/2020 00:18, David Kastrup wrote: Niols writes: I have not managed to override the "\repeat" music function. It isn't a music function but a "reserved" word in LilyPond. I know. Yet there is a "repeat" scheme function defined in scm/ly-syntax-constructors.ly that I tried to

Re: Scheme: change duration of NoteEvent

2020-08-09 Thread David Kastrup
Lukas-Fabian Moser writes: > Hi Pavel, > > Am 09.08.20 um 12:30 schrieb Павел: >> I want to write simple function that will be change duration of >> note. But I stuck on the first step: I can't "extract" (or "see") >> the duration property: >> >> \version "2.20.0" >> mynote = c' >> \displayMusic

Re: Quick question re pmp.ily

2020-08-09 Thread Rutger Hofman
I think I once tried something along these lines: \quoteDuring instA { ... time 1 ... } \PMPChords #'( "instA" "instB" ) { ... time 2 ... } \partCombine \quoteDuring instA { ... time 3 ... } \quoteDuring instB { ... time 3 ... } \PMPApart #'( "instA" "instB" ) { ... time 4 ... } and I th

Re: line-breaking issue

2020-08-09 Thread Ahanu Banerjee
I tried playing around with base-shortest-duration earlier, and it didn't help. Pasted Kevin's text to make sure, and nothing changed. -Ahanu On Sun, Aug 9, 2020 at 3:48 AM Kevin Barry wrote: > Hi Ahanu, > > It might help if you add this: > \layout { > \context { > \Score > \override

Attempting to tie chords across a measure bar fails for me (six beats in 4/4)

2020-08-09 Thread Kenneth Wolcott
Hi; I'm still learning how to use Lilypond. I'm using version 2.20.0 I have an example of some piano music which I am trying to engrave with Lilypond that has chords in the left hand which are tied, but the tie fails. I have a 4/4 time signature. The pattern is a whole note tied to half not

RE: Attempting to tie chords across a measure bar fails for me (six beats in 4/4)

2020-08-09 Thread Mark Stephen Mrotek
Ken, Can you provide a small, working example of your code? Mark -Original Message- From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Kenneth Wolcott Sent: Sunday, August 9, 2020 2:55 PM To: lilypond-user@gnu.org Subject: Attempting to tie chor

Re: line-breaking issue

2020-08-09 Thread Hwaen Ch'uqi
Greetings Ahanu, Without seeing something concrete, I think any further advice is purely speculative at best. Not sure that _I_ will be able to shed further light on the matter or that someone else will be willing to wade through what is not an MWE, but it may be worth a shot to attach your workin

Re: line-breaking issue

2020-08-09 Thread Andrew Bernard
Hello Ahanu, Thanks for sending the file. I had a good look at it. What we confront all the time when engraving is that music often simply does not fit the page. I can't find any way to make this piece fit on two pages at that staff size. The fact is, it's simply too long. Personally I find it rea