PianoStaff and StaffGroup brackets are truncating single line DrumStaff at top left of staff system.

2018-03-22 Thread dfro

Hi,

I want to create a StaffGroup that includes a single line Staff or 
DrumStaff at the top. I am having the problem that the left most measure 
bar line and the brackets of each staff system are being truncated down 
to the staff line of the single staff.


I have tried a workaround by making a second staff line and then hiding 
it using some code from a snippet. This causes the bar line and the 
bracket to extend the same as the other measures, but then measure 
repeat dots are not being centered around the single visible line, but 
are rather being centered between the visible line and the hidden line.


Is there a way to override this behavior with a single line staff at the 
top of a PianoStaff or StaffGroup - to get the leftmost bar line to be 
the same as normal bar lines, and to get the brackets to extend to the 
end of the leftmost bar line?


Thank you for any thoughts or ideas, and thank you for this wonderful 
software!


Peace,

David


Here is an example:


%

\version "2.18.2"

\new StaffGroup        %leftmost measure bar and group (or piano) 
bracket are being truncated down to the drum staff's single line.


<<
  \new DrumStaff \with {
    \override StaffSymbol.line-count = #1
    \override BarLine.bar-extent = #' (0 . 2.5)} %would like 
leftmost measure bar line and bracket to extend the same as second bar.

  {
    | c c c c
  }
  \new Staff \relative c' {
    | c c c c
  }
  \new Staff \relative c' {
    | c c c c
  }
>>

%%




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PianoStaff and StaffGroup brackets are truncating single line DrumStaff at top left of staff system.

2018-03-22 Thread David Kastrup
dfro  writes:

> Hi,
>
> I want to create a StaffGroup that includes a single line Staff or
> DrumStaff at the top. I am having the problem that the left most
> measure bar line and the brackets of each staff system are being
> truncated down to the staff line of the single staff.
>
> I have tried a workaround by making a second staff line and then
> hiding it using some code from a snippet. This causes the bar line and
> the bracket to extend the same as the other measures, but then measure
> repeat dots are not being centered around the single visible line, but
> are rather being centered between the visible line and the hidden
> line.
>
> Is there a way to override this behavior with a single line staff at
> the top of a PianoStaff or StaffGroup - to get the leftmost bar line
> to be the same as normal bar lines, and to get the brackets to extend
> to the end of the leftmost bar line?
>
> Thank you for any thoughts or ideas, and thank you for this wonderful
> software!
>
> Peace,
>
> David
>
>
> Here is an example:
>
>
> %
>
> \version "2.18.2"
>
> \new StaffGroup        %leftmost measure bar and group (or piano)
> bracket are being truncated down to the drum staff's single line.
>
> <<
>   \new DrumStaff \with {
>     \override StaffSymbol.line-count = #1
>     \override BarLine.bar-extent = #' (0 . 2.5)} %would like
> leftmost measure bar line and bracket to extend the same as second
> bar.

I am not fixing the awful things your mail program did to your code
(consider using an attachment instead).  You probably want to add

\override StaffSymbol.Y-extent = #'(0 . 2.5)

here.

>   {
>     | c c c c
>   }
>   \new Staff \relative c' {
>     | c c c c
>   }
>   \new Staff \relative c' {
>     | c c c c
>   }
>>>
>
> %%
>
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PianoStaff and StaffGroup brackets are truncating single line DrumStaff at top left of staff system.

2018-03-22 Thread Malte Meyn



Am 22.03.2018 um 15:22 schrieb David Kastrup:

I am not fixing the awful things your mail program did to your code
(consider using an attachment instead).


Off-topic:
To me it seems as if it was your mail program that did awful things. 
Mine displays the code (including long lines) correctly.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PianoStaff and StaffGroup brackets are truncating single line DrumStaff at top left of staff system.

2018-03-22 Thread Kieren MacMillan
Hi Malte,

> Mine displays the code (including long lines) correctly.

Same here. And the archive 
(http://lists.gnu.org/archive/html/lilypond-user/2018-03/msg00571.html) looks 
okay as well.

Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Merging paper blocks

2018-03-22 Thread Urs Liska

Hi all,

some time ago I got assistance for merging layout blocks that were 
stored in a list. The code I used (and which works, although I don't 
fully understand it) is something like this:


((layout-diffs
  (append-map
   (lambda (output-def)
 (lset-difference
  equal?
  (ly:output-find-context-def output-def)
  (ly:output-find-context-def $defaultlayout)))
   (a-list-holding-multiple-layout-expressions)))

;; apply `diff' to the default layout
(for-each
 (lambda (x)
   (ly:output-def-set-variable! $defaultlayout (car x) (cdr x)))
 layout-diffs)

(I understand the concept of stripping the diffs from the layout 
expressions against the default layout and then applying each 
modification in turn. What I don't understand is that lupon inspection 
'layout-diffs' seems to hold one expression for each *context 
modification* that isn't present in the default layout. So in my case 
there is one item for FiguredBass (which I understand), but no one for 
e.g. Voice or Staff (which I don't understand because there *are* 
corresponding entries in the layout blocks.)


Is there a similar approach to merge \paper {} blocks? I need this to 
create hierarchical styles (no, not for GSoC, but the experience should 
be transferable).
When a \paper {} block is defined in a "common" file and then again in a 
"special" file (e.g. for "score" or "part") the later simply replaces 
the former.
What I need is a way to store a \paper block in a variable and then 
update it with individual settings from other paper blocks.


Any pointers would be appreciated!
Urs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Is lilypond suitable for big composition projects?

2018-03-22 Thread Jonas Daverio
That may seem like a stupid question, but I've been using LilyPond with
Frescobaldi for a year and a half, but I start to ask myself if it is as
efficient as if I had used another tool like Musescore.

I explain: I don't have at all a powerful computer, and I think that an
essential feature that I have to have to compose efficiently is to see what
I've written in real-time. There is such a feature in Frescobaldi name
"continuous engraving" (or something like that, my version is not in
English), but on my slow computer and with a big project such as a 20-pages
quartet or symphony, it takes at least 40 to 50 seconds to render.

In addition, it would be great to hear the music out of the midi file by
clicking on the preview (like on almost every WYSIWYG music software) but
Frescobaldi's midi player is pretty useless for that.

I'm not saying that LilyPond and Frescobaldi are bad, it's probably just me
who don't know the right tools or the right way to use them. I'm asking to
find a way to make my workflow more convenient to compose.

Do you have any suggestions?

Thanks!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Is lilypond really suitable for composing?

2018-03-22 Thread jtruc34
That may seem like a stupid question, but I've been using LilyPond with
Frescobaldi for a year and a half, but I start to ask myself if it is as
efficient as if I had used another tool like Musescore.

I explain: I don't have at all a powerful computer, and I think that an
essential feature that I have to have to compose efficiently is to see what
I've written in real-time. There is such a feature in Frescobaldi name
"continuous engraving" (or something like that, my version is not in
English), but on my slow computer and with a big project such as a 20-pages
quartet or symphony, it takes at least 40 to 50 seconds to render.

In addition, it would be great to hear the music out of the midi file by
clicking on the preview (like on almost every WYSIWYG music software) but
Frescobaldi's midi player is pretty useless for that.

I'm not saying that LilyPond and Frescobaldi are bad, it's probably just me
who don't know the right tools or the right way to use them. I'm asking to
find a way to make my workflow more convenient to compose.

Do you have any suggestions?

Thanks!



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Add interval to selection - Frescobaldi snippet

2018-03-22 Thread aeoleandust
Hi there!

I am looking for a Frescobaldi snippet/functionality (Pyhthon script I
assume) that would add an interval to a selected note (or selection of
notes/chords). Something similar to the transpose function that is
integrated, but adding the transposition to existing music to form a chord.

For example {c4 d e} with an added octave above would become {4 
}
or added major 3rd {4} become {4} etc.
Other intervals like thirds would be slightly more complex in terms of
enharmonic spelling, but that shouldn't be a problem, given that various
transpose functions already exist in Frescobaldi.

My Python skills are extremely limited unfortunately. Does anyone know how
to achieve this (or does a snippet already exist)? 

Cheers
Huddie



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PianoStaff and StaffGroup brackets are truncating single line DrumStaff at top left of staff system.

2018-03-22 Thread David Wright
On Thu 22 Mar 2018 at 10:53:49 (-0400), Kieren MacMillan wrote:
> Hi Malte,
> 
> > Mine displays the code (including long lines) correctly.
> 
> Same here. And the archive 
> (http://lists.gnu.org/archive/html/lilypond-user/2018-03/msg00571.html) looks 
> okay as well.

The message was sent with the headers
 Content-Transfer-Encoding: base64
 Content-Type: text/plain; charset="utf-8"; Format="flowed"

AFAIK the interpretation of the content as flowed depends on
preservation of the trailing spaces on lines which are to be continued
(ie the next line should be affixed to it). If they're lost or
ignored, the text doesn't flow.

I assume the loss occurred between decoding the base64 and displaying
the text.

I don't use format=flowed myself, so I have to make allowances for
those that do. I don't like posting long lines or html myself either.

Cheers,
David.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Shane Brandes
Composition tactics are a very individual to a persons habits and
skill sets. I use LilyPond for composing intermittently. If it is in
my head and needs to be set down it is useful. If I am actively trying
to work something out; I work with paper and pencil or pen, as nothing
beats that for efficiency. Sometimes If I have the ideal structure of
a piece worked out I will map that out in LilyPond and then fill in
the blanks as I have time. But I don't think that is a good tool for
composition unless you have a lot of skill with it. I am sure there
are others that might disagree, but as far as resulting output it is
tremendous and as yet there is nothing that looks as worthwhile to
use.

As far as the midi you ought to be able to go to whatever measure and
beat you want to examine and listen to it using the midi tool in
Frescobaldi.

regards,
Shane



On Thu, Mar 22, 2018 at 11:35 AM, Jonas Daverio  wrote:
> That may seem like a stupid question, but I've been using LilyPond with
> Frescobaldi for a year and a half, but I start to ask myself if it is as
> efficient as if I had used another tool like Musescore.
>
> I explain: I don't have at all a powerful computer, and I think that an
> essential feature that I have to have to compose efficiently is to see what
> I've written in real-time. There is such a feature in Frescobaldi name
> "continuous engraving" (or something like that, my version is not in
> English), but on my slow computer and with a big project such as a 20-pages
> quartet or symphony, it takes at least 40 to 50 seconds to render.
>
> In addition, it would be great to hear the music out of the midi file by
> clicking on the preview (like on almost every WYSIWYG music software) but
> Frescobaldi's midi player is pretty useless for that.
>
> I'm not saying that LilyPond and Frescobaldi are bad, it's probably just me
> who don't know the right tools or the right way to use them. I'm asking to
> find a way to make my workflow more convenient to compose.
>
> Do you have any suggestions?
>
> Thanks!
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Stefano Troncaro
Hi Jonas,

If every compilation is taking that long, maybe you are compiling several
movements each time? In case you are, you can comment out the parts of the
music that you are not working with to make the whole thing more agile, I
do this with multi-movement works.

Unfortunately I can't offer you more advice than that.

2018-03-22 13:12 GMT-03:00 Shane Brandes :

> Composition tactics are a very individual to a persons habits and
> skill sets. I use LilyPond for composing intermittently. If it is in
> my head and needs to be set down it is useful. If I am actively trying
> to work something out; I work with paper and pencil or pen, as nothing
> beats that for efficiency. Sometimes If I have the ideal structure of
> a piece worked out I will map that out in LilyPond and then fill in
> the blanks as I have time. But I don't think that is a good tool for
> composition unless you have a lot of skill with it. I am sure there
> are others that might disagree, but as far as resulting output it is
> tremendous and as yet there is nothing that looks as worthwhile to
> use.
>
> As far as the midi you ought to be able to go to whatever measure and
> beat you want to examine and listen to it using the midi tool in
> Frescobaldi.
>
> regards,
> Shane
>
>
>
> On Thu, Mar 22, 2018 at 11:35 AM, Jonas Daverio 
> wrote:
> > That may seem like a stupid question, but I've been using LilyPond with
> > Frescobaldi for a year and a half, but I start to ask myself if it is as
> > efficient as if I had used another tool like Musescore.
> >
> > I explain: I don't have at all a powerful computer, and I think that an
> > essential feature that I have to have to compose efficiently is to see
> what
> > I've written in real-time. There is such a feature in Frescobaldi name
> > "continuous engraving" (or something like that, my version is not in
> > English), but on my slow computer and with a big project such as a
> 20-pages
> > quartet or symphony, it takes at least 40 to 50 seconds to render.
> >
> > In addition, it would be great to hear the music out of the midi file by
> > clicking on the preview (like on almost every WYSIWYG music software) but
> > Frescobaldi's midi player is pretty useless for that.
> >
> > I'm not saying that LilyPond and Frescobaldi are bad, it's probably just
> me
> > who don't know the right tools or the right way to use them. I'm asking
> to
> > find a way to make my workflow more convenient to compose.
> >
> > Do you have any suggestions?
> >
> > Thanks!
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Caagr98
In my opinion, Lilypond is excellent for writing sheet music, but not very good 
for composing. I usually use MuseScore or Qtractor for composing, then 
(manually) convert it to Lilypond to make sheet music.

On 03/22/18 16:35, Jonas Daverio wrote:
> That may seem like a stupid question, but I've been using LilyPond with 
> Frescobaldi for a year and a half, but I start to ask myself if it is as 
> efficient as if I had used another tool like Musescore.
> 
> I explain: I don't have at all a powerful computer, and I think that an 
> essential feature that I have to have to compose efficiently is to see what 
> I've written in real-time. There is such a feature in Frescobaldi name 
> "continuous engraving" (or something like that, my version is not in 
> English), but on my slow computer and with a big project such as a 20-pages 
> quartet or symphony, it takes at least 40 to 50 seconds to render.
> 
> In addition, it would be great to hear the music out of the midi file by 
> clicking on the preview (like on almost every WYSIWYG music software) but 
> Frescobaldi's midi player is pretty useless for that.
> 
> I'm not saying that LilyPond and Frescobaldi are bad, it's probably just me 
> who don't know the right tools or the right way to use them. I'm asking to 
> find a way to make my workflow more convenient to compose.
> 
> Do you have any suggestions?
> 
> Thanks!
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread David Kastrup
Jonas Daverio  writes:

> That may seem like a stupid question, but I've been using LilyPond with
> Frescobaldi for a year and a half, but I start to ask myself if it is as
> efficient as if I had used another tool like Musescore.
>
> I explain: I don't have at all a powerful computer, and I think that an
> essential feature that I have to have to compose efficiently is to see what
> I've written in real-time. There is such a feature in Frescobaldi name
> "continuous engraving" (or something like that, my version is not in
> English), but on my slow computer and with a big project such as a 20-pages
> quartet or symphony, it takes at least 40 to 50 seconds to render.
>
> In addition, it would be great to hear the music out of the midi file by
> clicking on the preview (like on almost every WYSIWYG music software) but
> Frescobaldi's midi player is pretty useless for that.
>
> I'm not saying that LilyPond and Frescobaldi are bad, it's probably just me
> who don't know the right tools or the right way to use them. I'm asking to
> find a way to make my workflow more convenient to compose.
>
> Do you have any suggestions?

LilyPond is for typesetting rather than composing, and with current
tools I suspect you are better off using paper for composing, then
entering stuff in the first completed sketch.  I had a remotely
comparable problem at one time: "is LaTeX suitable for working on
mathematics?", namely for creating work in progress.

My answer to that was preview-latex
 which uses a
combination of various technics to deliver a WYSIWYG editing environment
for fragments of typical math size.  That approach would also work
nicely for music theoretical texts or the LilyPond documentation, where
passages of text are interspersed with limited musical fragments.

For continuous compositions, I have a hard time imagining something
equally useful and intuitive.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread jtruc34
Stefano Troncaro wrote
> Hi Jonas,
> 
> If every compilation is taking that long, maybe you are compiling several
> movements each time? In case you are, you can comment out the parts of the
> music that you are not working with to make the whole thing more agile, I
> do this with multi-movement works.
> 
> Unfortunately I can't offer you more advice than that.
> 
> 2018-03-22 13:12 GMT-03:00 Shane Brandes <

> shane@

> >:
> 
>> Composition tactics are a very individual to a persons habits and
>> skill sets. I use LilyPond for composing intermittently. If it is in
>> my head and needs to be set down it is useful. If I am actively trying
>> to work something out; I work with paper and pencil or pen, as nothing
>> beats that for efficiency. Sometimes If I have the ideal structure of
>> a piece worked out I will map that out in LilyPond and then fill in
>> the blanks as I have time. But I don't think that is a good tool for
>> composition unless you have a lot of skill with it. I am sure there
>> are others that might disagree, but as far as resulting output it is
>> tremendous and as yet there is nothing that looks as worthwhile to
>> use.
>>
>> As far as the midi you ought to be able to go to whatever measure and
>> beat you want to examine and listen to it using the midi tool in
>> Frescobaldi.
>>
>> regards,
>> Shane
>>
>>
>>
>> On Thu, Mar 22, 2018 at 11:35 AM, Jonas Daverio <

> daverio.jonas@

> >
>> wrote:
>> > That may seem like a stupid question, but I've been using LilyPond with
>> > Frescobaldi for a year and a half, but I start to ask myself if it is
>> as
>> > efficient as if I had used another tool like Musescore.
>> >
>> > I explain: I don't have at all a powerful computer, and I think that an
>> > essential feature that I have to have to compose efficiently is to see
>> what
>> > I've written in real-time. There is such a feature in Frescobaldi name
>> > "continuous engraving" (or something like that, my version is not in
>> > English), but on my slow computer and with a big project such as a
>> 20-pages
>> > quartet or symphony, it takes at least 40 to 50 seconds to render.
>> >
>> > In addition, it would be great to hear the music out of the midi file
>> by
>> > clicking on the preview (like on almost every WYSIWYG music software)
>> but
>> > Frescobaldi's midi player is pretty useless for that.
>> >
>> > I'm not saying that LilyPond and Frescobaldi are bad, it's probably
>> just
>> me
>> > who don't know the right tools or the right way to use them. I'm asking
>> to
>> > find a way to make my workflow more convenient to compose.
>> >
>> > Do you have any suggestions?
>> >
>> > Thanks!
>> >
>> > ___
>> > lilypond-user mailing list
>> > 

> lilypond-user@

>> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>> >
>>
>> ___
>> lilypond-user mailing list
>> 

> lilypond-user@

>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

Yes, I'm already using the trick \set Score.skipTypesetting = ##f, but it is
not so convenient.



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tie/Accidental Collision

2018-03-22 Thread Stefano Troncaro
@Kieren

> But I would suggest not having the Stem whiteout affect the StaffSymbol…
> It's probably enough just to write
>

I'm sorry, I do not understand this, it seems that I'm missing some
important information. Could you elaborate a bit?

Maybe use the \shape function?
>

I thought that \shape didn't work inside chords? Unless I'm doing something
wrong:

> \version "2.19.80"
>
> \relative c'' {
>   \override Tie.minimum-length = 6
>  c, ~>
>   
> }
>
> \relative c'' {
>   \override Tie.minimum-length = 6
>  c,>
>   
> }
>

@Sam
Great that you found a solution!

2018-03-21 22:39 GMT-03:00 Sam Bivens :

> Hi Kieren and Stéfano,
>
> Thanks so much for both of your help; your ideas were both different (but
> much simpler) approaches than I was considering, and I was able to combine
> them into the best solution for my full example.
>
> Take care,
>
> Sam
>
>
>
> On 03/21/2018 04:15 PM, Kieren MacMillan wrote:
>
>> Hi Stéfano,
>>
>> How about using TieColum.tie-configuration? Together with
>>> Tie.details.height-limit you can avoid the collision.
>>>
>> This is nice!
>>
>> But I would suggest not having the Stem whiteout affect the StaffSymbol…
>> It's probably enough just to write
>>
>>\override Tie.layer = -2
>>
>> and
>>
>>\once \override Stem.layer = -1
>>
>> I don't know how to shorten the Ties
>>>
>> Maybe use the \shape function?
>>
>> Cheers,
>> Kieren.
>> 
>>
>> Kieren MacMillan, composer
>> ‣ website: www.kierenmacmillan.info
>> ‣ email: i...@kierenmacmillan.info
>>
>>
> --
> Sam Bivens
> Music Theory Faculty | Cleveland Institute of Music
> Ph.D. Candidate | Eastman School of Music
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond really suitable for composing?

2018-03-22 Thread Richard Shann
On Thu, 2018-03-22 at 08:08 -0700, jtruc34 wrote:
> That may seem like a stupid question, but I've been using LilyPond
> with
> Frescobaldi for a year and a half, but I start to ask myself if it is
> as
> efficient as if I had used another tool like Musescore.
> 
> I explain: I don't have at all a powerful computer, and I think that
> an
> essential feature that I have to have to compose efficiently is to
> see what
> I've written in real-time. There is such a feature in Frescobaldi
> name
> "continuous engraving" (or something like that, my version is not in
> English), but on my slow computer and with a big project such as a
> 20-pages
> quartet or symphony, it takes at least 40 to 50 seconds to render.

Denemo allows you to set a range of bars/staffs around the current
cursor which it will typeset continuously for you, though as Denemo
provides you with an instant (simple) typeset to see you wouldn't need
it for just understanding what you have entered. The advantage over
drafting with Musescore et al is that you can export the LilyPond
instantly.

Richard


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Urs Liska



Am 22.03.2018 um 17:31 schrieb jtruc34:

Yes, I'm already using the trick \set Score.skipTypesetting = ##f, but it is
not so convenient.


You could look into these two packages:
https://github.com/openlilylib/partial-compilation
(which is unfortunately totally undocumented, but you can have a look at 
https://git.openlilylib.org/bfsc/das-trunkne-lied/blob/master/score/fullscore.ly 
for an example with the different options commented)

This basically is a wrapper around the \skipTypesetting approach.

The problem with this is that with skipTypesetting the whole score still 
has to be *parsed*, which already take significant time with long scores.


One way around this is to store music in shorter parts and only parse 
those that you want to compile. Something along the lines of


% file 1
music = {}
% file 2
music = {}

Then load the files you want and concatenate the music variables. This 
way you can really shorten the compilation time. Obviously this is a 
complex approach.

https://github.com/openlilylib/gridly goes in that direction.

On the very far horizon there is an idea to parse the music once, keep 
LilyPond running with the parsed music stored as music expressions and 
retrieve only those that you need to recompile. Kind of science fiction, 
but not really, it's mainly a matter of resources ...
"Implement a System to Handle Scores System by System" on 
http://lilypond.org/google-summer-of-code.html would be a first step in 
that direction.


This is mainly to give some context and show you that you're not alone 
with that wish ;-)

Unfortunately it's not very concrete and helpful

Best
Urs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond really suitable for composing?

2018-03-22 Thread Flaming Hakama by Elaine
 -- Forwarded message --

> From: Jonas Daverio 
> To: lilypond-user@gnu.org
> Subject: Is lilypond suitable for big composition projects?
> That may seem like a stupid question, but I've been using LilyPond with
> Frescobaldi for a year and a half, but I start to ask myself if it is as
> efficient as if I had used another tool like Musescore.
>
> I explain: I don't have at all a powerful computer, and I think that an
> essential feature that I have to have to compose efficiently is to see what
> I've written in real-time. There is such a feature in Frescobaldi name
> "continuous engraving" (or something like that, my version is not in
> English), but on my slow computer and with a big project such as a 20-pages
> quartet or symphony, it takes at least 40 to 50 seconds to render.
>
> In addition, it would be great to hear the music out of the midi file by
> clicking on the preview (like on almost every WYSIWYG music software) but
> Frescobaldi's midi player is pretty useless for that.
>
> I'm not saying that LilyPond and Frescobaldi are bad, it's probably just
> me who don't know the right tools or the right way to use them. I'm asking
> to find a way to make my workflow more convenient to compose.
>
> Do you have any suggestions?
>
> Thanks!
>


I find that, for my scores that consist of about a dozen staves, that 32
bars or so is the largest chunk that I like to work on (for PDF, since MIDI
compilation is much faster).

I use a tag structure to switch on which segments of the piece I want to
see.  It requires a bit of setup, so it is not fun to impose on something
already in existence.

For previewing MIDI, I import the MIDI file into Logic.  Not an automatic
process, but  not too bad.


\version "2.19.15"

melodyChorusOne = \relative { \mark "Chorus 1" c''1 1 1 1 \bar "||" }
melodyChorusTwo = \relative { \mark "Chorus 2" d''1 1 1 1 \bar "|." }

melody = {
\tag #'ChorusOne { \melodyChorusOne }
\tag #'ChorusTwo { \melodyChorusTwo }
}

harmonyChorusOne = \relative { e'1 1 1 1 }
harmonyChorusTwo = \relative { b'1 1 1 1 }

harmony = {
\tag #'ChorusOne { \harmonyChorusOne }
\tag #'ChorusTwo { \harmonyChorusTwo }
}


%  Full Score
\score {

\keepWithTag #'(

%  Formatting one tag per line allows you to easily comment-in/out
a segment
ChorusOne
ChorusTwo
%ChorusThree

%  In case you do have differing content between PDF and MIDI,
%  like fermatas, tempo changes and repeats
%  you can add a tag pair PDF/MIDI to distinguish between them
PDF

) <<
\melody
\harmony
>>
\layout {}


%  The MIDI version can contain a different set of segments than the PDF
\keepWithTag #'(
MIDI
ChorusOne
ChorusTwo
ChorusThree
) <<
\melody
\harmony
>>
   \midi {}
}


%  Just 2nd Chorus
\score {
\keepWithTag #'(
PDF
%ChorusOne
ChorusTwo
%ChorusThree
) <<
 \melody
 \harmony
>>
\layout {}
}




HTH,


David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Lukas-Fabian Moser


Am 22.03.2018 um 16:35 schrieb Jonas Daverio:
That may seem like a stupid question, but I've been using LilyPond 
with Frescobaldi for a year and a half, but I start to ask myself if 
it is as efficient as if I had used another tool like Musescore.


My answer tends to be "no". While I usually enter very simple examples 
(for theory classes etc.) directly into a lilypond source (but even on 
these occasions, I most often have some kind of source in front of me, 
for instance a piece from which I extract a bass part), serious 
"compositional" work is, for me, entirely a pencil-and-paper business. 
On the rare occasions where I want to "compose digitally", I prefer 
musescore (but this is mostly casual work where I don't care that much 
about the high level of typesetting Lilypond offers).


In particular, anybody who has seen the tremendous progress that 
playback in commercial engraving tools (i.e. Sibelius) has seen over the 
last 10 years or so will probably agree that, by comparison, Lilypond's 
MIDI output is only really suited for "proofreading by ear".


In short: For me, Lilypond is a wonderful tool to engrave music *that 
already exists in some written form*.


Best
Lukas

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Karlin High

On 3/22/2018 10:35 AM, Jonas Daverio wrote:
I've been using LilyPond with Frescobaldi for a year and a half, but I 
start to ask myself if it is as efficient as if I had used another tool 
like Musescore.


The Musescore features that show and play notes as they are entered are 
very nice. I can see those would grow on me. But I've used Musescore for 
maybe 2 projects ever, although I've set it up for several other people. 
I mostly do transcription work, and I am more productive if I don't have 
to think about page layout questions until I'm done. Then LilyPond does 
its thing, and I only have to look for anything that wants adjusting.


When someone asks me for help choosing notation software, I reply with 
some form of "They all have some strong points, and they all have some 
frustrations."

--
Karlin High
Missouri, USA

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tie/Accidental Collision

2018-03-22 Thread Thomas Morley
2018-03-22 17:33 GMT+01:00 Stefano Troncaro :
> @Kieren
>>
>> Maybe use the \shape function?
>
>
> I thought that \shape didn't work inside chords?

Hi,
you may be interested in this thread:
http://lilypond.1069038.n5.nabble.com/Lilypond-ignores-some-shape-commands-in-chords-td210858.html

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Add interval to selection - Frescobaldi snippet

2018-03-22 Thread Thomas Morley
2018-03-22 16:22 GMT+01:00 aeoleandust :
> Hi there!
>
> I am looking for a Frescobaldi snippet/functionality (Pyhthon script I
> assume) that would add an interval to a selected note (or selection of
> notes/chords). Something similar to the transpose function that is
> integrated, but adding the transposition to existing music to form a chord.
>
> For example {c4 d e} with an added octave above would become {4 
> }
> or added major 3rd {4} become {4} etc.
> Other intervals like thirds would be slightly more complex in terms of
> enharmonic spelling, but that shouldn't be a problem, given that various
> transpose functions already exist in Frescobaldi.
>
> My Python skills are extremely limited unfortunately. Does anyone know how
> to achieve this (or does a snippet already exist)?
>
> Cheers
> Huddie



How about these lsr-snippets?

http://lsr.di.unimi.it/LSR/Item?id=445
http://lsr.di.unimi.it/LSR/Item?id=761

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond really suitable for composing?

2018-03-22 Thread Nathan Sprangers
I've been using lilypond for a much shorter time, but my impression is that
lilypond excels when you know exactly what you want to input. It's also
difficult to work on different parts of the score unless you set up some
sort of system to break the piece into smaller chunks.

So I've been doing more work at the piano than I used to, then creating my
score in lilypond based on my hand written sketch. Honestly, working at the
piano has been more efficient than doing similar work in musescore.


On Mar 22, 2018 11:41 AM, "jtruc34"  wrote:

> That may seem like a stupid question, but I've been using LilyPond with
> Frescobaldi for a year and a half, but I start to ask myself if it is as
> efficient as if I had used another tool like Musescore.
>
> I explain: I don't have at all a powerful computer, and I think that an
> essential feature that I have to have to compose efficiently is to see what
> I've written in real-time. There is such a feature in Frescobaldi name
> "continuous engraving" (or something like that, my version is not in
> English), but on my slow computer and with a big project such as a 20-pages
> quartet or symphony, it takes at least 40 to 50 seconds to render.
>
> In addition, it would be great to hear the music out of the midi file by
> clicking on the preview (like on almost every WYSIWYG music software) but
> Frescobaldi's midi player is pretty useless for that.
>
> I'm not saying that LilyPond and Frescobaldi are bad, it's probably just me
> who don't know the right tools or the right way to use them. I'm asking to
> find a way to make my workflow more convenient to compose.
>
> Do you have any suggestions?
>
> Thanks!
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Vaughan McAlley
On 23 March 2018 at 03:24, Stefano Troncaro 
wrote:

> Hi Jonas,
>
> If every compilation is taking that long, maybe you are compiling several
> movements each time? In case you are, you can comment out the parts of the
> music that you are not working with to make the whole thing more agile, I
> do this with multi-movement works.
>
> Unfortunately I can't offer you more advice than that.
>
> 2018-03-22 13:12 GMT-03:00 Shane Brandes :
>
>> Composition tactics are a very individual to a persons habits and
>> skill sets. I use LilyPond for composing intermittently. If it is in
>> my head and needs to be set down it is useful. If I am actively trying
>> to work something out; I work with paper and pencil or pen, as nothing
>> beats that for efficiency. Sometimes If I have the ideal structure of
>> a piece worked out I will map that out in LilyPond and then fill in
>> the blanks as I have time. But I don't think that is a good tool for
>> composition unless you have a lot of skill with it. I am sure there
>> are others that might disagree, but as far as resulting output it is
>> tremendous and as yet there is nothing that looks as worthwhile to
>> use.
>>
>> As far as the midi you ought to be able to go to whatever measure and
>> beat you want to examine and listen to it using the midi tool in
>> Frescobaldi.
>>
>> regards,
>> Shane
>>
>>
>>
>> On Thu, Mar 22, 2018 at 11:35 AM, Jonas Daverio 
>> wrote:
>> > That may seem like a stupid question, but I've been using LilyPond with
>> > Frescobaldi for a year and a half, but I start to ask myself if it is as
>> > efficient as if I had used another tool like Musescore.
>> >
>> > I explain: I don't have at all a powerful computer, and I think that an
>> > essential feature that I have to have to compose efficiently is to see
>> what
>> > I've written in real-time. There is such a feature in Frescobaldi name
>> > "continuous engraving" (or something like that, my version is not in
>> > English), but on my slow computer and with a big project such as a
>> 20-pages
>> > quartet or symphony, it takes at least 40 to 50 seconds to render.
>> >
>> > In addition, it would be great to hear the music out of the midi file by
>> > clicking on the preview (like on almost every WYSIWYG music software)
>> but
>> > Frescobaldi's midi player is pretty useless for that.
>> >
>> > I'm not saying that LilyPond and Frescobaldi are bad, it's probably
>> just me
>> > who don't know the right tools or the right way to use them. I'm asking
>> to
>> > find a way to make my workflow more convenient to compose.
>> >
>> > Do you have any suggestions?
>> >
>> > Thanks!
>> >
>> > ___
>> > lilypond-user mailing list
>> > lilypond-user@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>> >
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
This is what I use to work with multi-movement pieces:

Vaughan
\version "2.18.2"

compileTheseMovements = "12" % try "1" or "2" instead

FirstMovementScore = \score {
  { c' d' e' f' }
}

SecondMovementScore = \score {
  { \clef bass f e d c }
}

CompleteFirstMovement = \bookpart {
  \tocItem "First Movement"
  \header {
title = "Multi-Movement Piece"
subtitle = "First Movement"
  }

  \score {
\FirstMovementScore
\layout {}
\midi {}
  }
}


CompleteSecondMovement = \bookpart {
  \tocItem "Second Movement"
  \header {
title = ##f
subtitle = "Second Movement"
  }

  \score {
\SecondMovementScore
\layout {}
\midi {}
  }

}

\book {
  %%{
  \markuplist \table-of-contents
  \pageBreak
  %}
  \bookpart {
$(if
  (string-contains compileTheseMovements "1")
  CompleteFirstMovement
  EmptyBookpart)
  }

  \bookpart {
$(if
  (string-contains compileTheseMovements "2")
  CompleteSecondMovement
  EmptyBookpart)
  }
} % \book___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tie/Accidental Collision

2018-03-22 Thread Kieren MacMillan
Hi Stefano,

>> But I would suggest not having the Stem whiteout affect the StaffSymbol… 
>> It's probably enough just to write
> I'm sorry, I do not understand this, it seems that I'm missing some important 
> information. Could you elaborate a bit?

Hmmm… When I first compiled your code, the Stem was whiteout-ing the Staff, and 
it looked weird. But compiling it again, I don’t see the problem any more. I'm 
going to chalk it up to a glitch in Frescobaldi’s PDF viewer.

Sorry for the noise!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond really suitable for composing?

2018-03-22 Thread Vaughan McAlley
On Fri, 23 Mar 2018, 08:08 Nathan Sprangers, 
wrote:

> I've been using lilypond for a much shorter time, but my impression is
> that lilypond excels when you know exactly what you want to input. It's
> also difficult to work on different parts of the score unless you set up
> some sort of system to break the piece into smaller chunks.
>
> So I've been doing more work at the piano than I used to, then creating my
> score in lilypond based on my hand written sketch. Honestly, working at the
> piano has been more efficient than doing similar work in musescore.
>
>
> On Mar 22, 2018 11:41 AM, "jtruc34"  wrote:
>
>> That may seem like a stupid question, but I've been using LilyPond with
>> Frescobaldi for a year and a half, but I start to ask myself if it is as
>> efficient as if I had used another tool like Musescore.
>>
>> I explain: I don't have at all a powerful computer, and I think that an
>> essential feature that I have to have to compose efficiently is to see
>> what
>> I've written in real-time. There is such a feature in Frescobaldi name
>> "continuous engraving" (or something like that, my version is not in
>> English), but on my slow computer and with a big project such as a
>> 20-pages
>> quartet or symphony, it takes at least 40 to 50 seconds to render.
>>
>> In addition, it would be great to hear the music out of the midi file by
>> clicking on the preview (like on almost every WYSIWYG music software) but
>> Frescobaldi's midi player is pretty useless for that.
>>
>> I'm not saying that LilyPond and Frescobaldi are bad, it's probably just
>> me
>> who don't know the right tools or the right way to use them. I'm asking to
>> find a way to make my workflow more convenient to compose.
>>
>> Do you have any suggestions?
>>
>> Thanks!
>>
>>
>>
>> --
>> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


It sounds like Denemo might suit you. But like Nathan, I try to be dealing
with as little technology as possible when I'm actually composing.
Unfortunately, even pencils need sharpening and erasers need to be
remembered :-)

Vaughan

>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


get current bar number

2018-03-22 Thread Kevin Barry
Hi All,

I would like to be able to get the current bar number context property so
that I can do something with it (like printing it in markup for example).

I have tried the following scheme function:
(ly:context-property 'Score 'currentBarNumber)
but it errors out, telling me that Score is not a context. Do I need to get
the context object somehow?

Any help appreciated.

Kevin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tie/Accidental Collision

2018-03-22 Thread Stefano Troncaro
Hi Harm, that's *so *useful to me, thank you so much for stepping in and
sharing that conversation!!!

I really think that information should be available in the tie-column-interface
section

of the Internals Reference.
The explanation could make explicit that setting positioning-done to #t
gives full control of the properties of the Ties to the user.

@Kieren
No problem!


2018-03-22 21:51 GMT-03:00 Kieren MacMillan :

> Hi Stefano,
>
> >> But I would suggest not having the Stem whiteout affect the
> StaffSymbol… It's probably enough just to write
> > I'm sorry, I do not understand this, it seems that I'm missing some
> important information. Could you elaborate a bit?
>
> Hmmm… When I first compiled your code, the Stem was whiteout-ing the
> Staff, and it looked weird. But compiling it again, I don’t see the problem
> any more. I'm going to chalk it up to a glitch in Frescobaldi’s PDF viewer.
>
> Sorry for the noise!
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Is lilypond really suitable for composing?

2018-03-22 Thread Tom Cloyd
I have always found that nothing beats plain pencil and sheets of staff
paper, until I have the basic piece fairly complete. For me, it's clearly
faster to make even a second draft on paper than to move at that point to
LP and continue from there. I consider fast "hand writing" on staff paper
to be a basic composing skill, long used by those who come before us.

Working this way, alterations are so much easier, in the initial stages.
Later, I find the reverse to be true. I do love getting to the point where
it's time to produce an actual engraved score, but revisions certainly do
continue after that.

Tom

~

“Fairy tales are more than true: not because they tell us that dragons
exist, but because they tell us that dragons can be beaten.” ~ Neil Gaiman

~
Tom Cloyd, MS MA LMHC (WA) | t...@tomcloyd.com
Psychotherapist (psychological trauma, dissociative disorders)
Spokane, Washington, U.S.A: (435) 272-3332
TomCloyd.com  | Google+
 | Facebook

~

On Thu, Mar 22, 2018 at 5:20 PM, Vaughan McAlley 
wrote:

> On Fri, 23 Mar 2018, 08:08 Nathan Sprangers, 
> wrote:
>
>> I've been using lilypond for a much shorter time, but my impression is
>> that lilypond excels when you know exactly what you want to input. It's
>> also difficult to work on different parts of the score unless you set up
>> some sort of system to break the piece into smaller chunks.
>>
>> So I've been doing more work at the piano than I used to, then creating
>> my score in lilypond based on my hand written sketch. Honestly, working at
>> the piano has been more efficient than doing similar work in musescore.
>>
>>
>> On Mar 22, 2018 11:41 AM, "jtruc34"  wrote:
>>
>>> That may seem like a stupid question, but I've been using LilyPond with
>>> Frescobaldi for a year and a half, but I start to ask myself if it is as
>>> efficient as if I had used another tool like Musescore.
>>>
>>> I explain: I don't have at all a powerful computer, and I think that an
>>> essential feature that I have to have to compose efficiently is to see
>>> what
>>> I've written in real-time. There is such a feature in Frescobaldi name
>>> "continuous engraving" (or something like that, my version is not in
>>> English), but on my slow computer and with a big project such as a
>>> 20-pages
>>> quartet or symphony, it takes at least 40 to 50 seconds to render.
>>>
>>> In addition, it would be great to hear the music out of the midi file by
>>> clicking on the preview (like on almost every WYSIWYG music software) but
>>> Frescobaldi's midi player is pretty useless for that.
>>>
>>> I'm not saying that LilyPond and Frescobaldi are bad, it's probably just
>>> me
>>> who don't know the right tools or the right way to use them. I'm asking
>>> to
>>> find a way to make my workflow more convenient to compose.
>>>
>>> Do you have any suggestions?
>>>
>>> Thanks!
>>>
>>>
>>>
>>> --
>>> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>>>
>>> ___
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> It sounds like Denemo might suit you. But like Nathan, I try to be dealing
> with as little technology as possible when I'm actually composing.
> Unfortunately, even pencils need sharpening and erasers need to be
> remembered :-)
>
> Vaughan
>
>>
>>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: get current bar number

2018-03-22 Thread Jan-Peter Voigt

Hi Kevin,

yes, you need to get a context object. If you want to use it inside some 
music expression \applyContext is the key:



doSomething =
\applyContext #(lambda (context)
 (display
  (ly:context-property context 'currentBarNumber)
  ))

{ c''4 \doSomething d'' }


If you are going to write an engraver you can find some informations in 
the archive.


HTH
Jan-Peter


Am 23.03.2018 um 01:55 schrieb Kevin Barry:

Hi All,

I would like to be able to get the current bar number context property 
so that I can do something with it (like printing it in markup for example).


I have tried the following scheme function:
(ly:context-property 'Score 'currentBarNumber)
but it errors out, telling me that Score is not a context. Do I need to 
get the context object somehow?


Any help appreciated.

Kevin



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user