Music function that attaches text to a music argument

2010-05-04 Thread Nathan Reed
Hello all, I would like to write a music function that takes a single-note music expression and attaches some markup text to it. I tried to write: \version 2.12.3 myfunc = #(define-music-function (parser location mymusic) (ly:music?) #{ $mymusic ^Hello, world! #} ) \relative c' {

Re: Music function that attaches text to a music argument

2010-05-04 Thread Marc Hohl
Nathan Reed schrieb: Hello all, I would like to write a music function that takes a single-note music expression and attaches some markup text to it. I tried to write: \version 2.12.3 myfunc = #(define-music-function (parser location mymusic) (ly:music?) #{ $mymusic ^Hello, world! #}

Re: space between pianostaves

2010-05-04 Thread Martin Tarenskeen
On Mon, 3 May 2010, Xavier Scheuer wrote: Sorry if it does not work, I'm truly not an expert in this new vertical spacing engine (I still need to improve my understanding of this)... BTW here are the related links in the doc:

Re: space between pianostaves

2010-05-04 Thread Martin Tarenskeen
On Tue, 4 May 2010, Martin Tarenskeen wrote: An easy but ugly workaround was to add for example B \pageBreak \s at the end of the piece. To answer my own question: I finally found the easiest solution to my question. To fit my score nicely on two pages, with plenty of space

Re: Circular Staff in Inkscape

2010-05-04 Thread Bertalan Fodor (LilyPondTool)
Francisco Vila wrote: 2010/5/3 Patrick Schmidt p.l.schm...@gmx.de: The (missing) circular staff has to be drawn using LilyPondTool's ruler feature even though I haven't found out how to do it, yet. I think it is rather the reverse. The staff is drawn before, then the position and

Re: space between pianostaves

2010-05-04 Thread Francisco Vila
2010/5/4 Martin Tarenskeen m.tarensk...@zonnet.nl: On Tue, 4 May 2010, Martin Tarenskeen wrote: An easy but ugly workaround was to add for example B        \pageBreak \s at the end of the piece. To answer my own question: I finally found the easiest solution to my question. To fit my

One score per track of a midi file?

2010-05-04 Thread Bill Moorier
Hello, I need to generate one pdf file for each track of an input midi file. Is this already possible using midi2ly and lilypond? I couldn't find an option to do it. Or do I need to start by writing a preprocessor that splits the input midi file into multiple midi files, each containing a

Accidental not properly notated in score

2010-05-04 Thread Patrick Karl
Can anyone explain why the 2nd d-sharp is not notated in the music in the following snippet: \version 2.12.2 \relative g'' { \partial 4 r4 r2. dis4 e2. \repeat volta 2 { \partial 4 c8 dis e2. } } I understand that I

Re: One score per track of a midi file?

2010-05-04 Thread Martin Tarenskeen
On Tue, 4 May 2010, Bill Moorier wrote: Hello, I need to generate one pdf file for each track of an input midi file. Is this already possible using midi2ly and lilypond? I couldn't find an option to do it. Or do I need to start by writing a preprocessor that splits the input midi file into