Jacques Menu | 25 Nov 23:21 2014
Picon

Problem to write a function for markup

Hello folks,

I tried the following to obtain a centered, colored fingering indication:

%%%%%%%%%%%%%%%%
\version "2.18.2"

doigte =
#(define-music-function
(parser location music doigte)
(ly:music? markup?)
#{
\once\override TextScript.self-alignment-X = #CENTER
#music ^\markup{\large\bold #doigte}
#})

{
\clef "bass" \key as \major \time 4/4 | % 1
\tempo "March Tempo" 4 = 104-108

\once\override TextScript.self-alignment-X = #CENTER
\once\override TextScript.color = #blue
f8 \mf ^\markup{\large\bold "3D"}
% \doigte f8 "3D" \mf
}
%%%%%%%%%%%%%%%%

but calling the function with:

\doigte f8 "3D"

leads to error:

#music
^\markup{\large\bold #doigte}

Thanks for your help!

JM

--

Jacques Menu
Ch. de la Pierre 12
1023 Crissier

mailto:imj-219 <at> bluewin.ch




_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Jon Ciesla | 24 Nov 16:47 2014
Picon

Build issue in Fedora due to font changes

With the latest release of the UFW fonts, they've dropped the Cyrillic glyphs due to poor quality. I see that both 2.18.x and 2.19.x still need ufw's ru fonts, and so lilypond fails to build in rawhide.  Is there another font set, preferably one in Fedora already, that you'd recommend or are planning to migrate to?

The Fedora BZ for reference: https://bugzilla.redhat.com/show_bug.cgi?id=1160132

Thanks,
Jon Ciesla, Fedora lilypond maintainer.

--
http://cecinestpasunefromage.wordpress.com/
------------------------------------------------
in your fear, seek only peace
in your fear, seek only love

-d. bowie
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Mike Solomon | 24 Nov 15:55 2014

hairpin aesthetics

Hey all,

When typesetting:

<snip>
\version "2.19.15"

\relative c'' {
  \time 2/4
  cis8\> ( bisis ) fis'\< ( e ) |
  d2\! |
}
</snip>

the second hairpin seems really short compared to the first. My guessing is that whatever gap is put between
the hairpins is tacked onto the start of the second instead of evenly distributed between the two.

Does anyone have examples from the literature with cases like this?  Is the second hairpin really shifted
that far over?

Cheers,
MS
Markus Baertschi | 24 Nov 15:33 2014

Problems / questions around a choir partition

I've re-set a choir partition for our men's choir in lilypond. Some
RTFM did help to solve most problems, but there are some things I
don't know how to resolve.

My problems are in no particular sequence:

- How can I set the headers ('piece') so they are close to the score
and not close to the top of the page ?
  Is there a better method to have a header at the top of a score then
'header' ?

- How can I center the second line of lyrics like the 1st line inside a repeat ?
  See bar #19 and #20 for the misaligned text. I've already tried the
'\once \override LyricText.self-alignment-X = #CENTER'
  and it changes absolutely nothing

- My partition has two parts. The first part has two lines of lyrics
and second part start out with a single lyrics line per voice.
  After trying and not finding a way to 'reset' the lyrics to a single
line, I've split it into two scores. This has worked so far, but
  now I get two distinct midi files. Are better ways to do that ?

For reference:
- The .ly file: http://pastebin.com/ppL8g160
- The pdf file: www.markus.org/download/Nous_allons_chercher_le_vent.pdf

Thanks  Markus

--

-- 
Markus Baertschi, Bas du Rossé 16, CH-1163, Etoy, Switzerland
markus <at> markus.org, ++41 (79) 403 1186 (mobile)

_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Mike Solomon | 24 Nov 13:32 2014

null post event

Hey all,

Is there a sort of null post event?  The following doesn’t work

foo = #(define-event-function (parser location) ())

{
  c\<-.\foo d
}

I’d like for foo to do nothing but still function as a post event.

Cheers,
MS
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Mike Solomon | 24 Nov 11:13 2014

tremolo as post event

Hey all,

Is there any way to create a tremolo as a post event?
I’m doing an arrangement for string quartet of a vocal piece and, at certain moments, I’d like to use
tremolos.  So, for example,

{
c2
}

would become

{
  c2:32
}

Rather than doing:

{
  \tag #’vocal { c2 } \tag #’strings { c2:32 }
}

I’d like to do:

{
  c2\trem #32
}

and then define the function \trem differently in different files so that it appears in one and not the other.

As a stop gap solution I’m overriding the tremolo stencil to be ##f, but something about that seems unsatisfactory…

Cheers,
MS
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Ted Lemon | 24 Nov 02:50 2014

\parallelMusic incompatible with slur marker at beginning of measure?

I've been learning lilypond this weekend, so forgive me if this is a question with an obvious answer, but I am
having trouble getting slurs to work with \parallelMusic.  If the slur marker is on the note at the
beginning of the line, I get a fun error.   This:

\parallelMusic #'(va dynD vb) {
  % ...

  % 7
  c2 (f,4-.) d'-4-. |
  s2. s4\f |
  f4-. f'-1-. ees-. d-. |

  (ees2-- c-- |
  s1 |
  (c2-- ees-- |

  % 9
  d2.--) s4 |
  s1 |
  d2.--) s4 |
}

produces this:

aylesford.ly:47:3: error: syntax error, unexpected EVENT_IDENTIFIER

  (ees2-- c-- |
aylesford.ly:49:3: error: syntax error, unexpected EVENT_IDENTIFIER

  (c2-- ees-- |
aylesford.ly:67:3: error: errors found, ignoring music expression

The whole file is here:

https://github.com/Abhayakara/music/blob/7f9f30aa69ce08bdcf55ced7695e3621d7f9a066/aylesford.ly

If I use a phrasing slur, it works fine:

  % 7
  c2 (f,4-.) d'-4-.\( |
  s2. s4\f |
  f4-. f'-1-. ees-. d-.\( |

  ees2-- c-- |
  s1 |
  c2-- ees-- |

  % 9
  d2.--\) s4 |
  s1 |
  d2.--\) s4 |

Complete file with phrasing slurs here:

https://github.com/Abhayakara/music/blob/master/aylesford.ly

Did I do something wrong here?
Jay Vara | 23 Nov 21:21 2014

Programming question

Given that NoteNames are really a type of lyrics, is it possible to have a function that just takes music and returns a text string that is a lyric.

For example:

music  = \relative c' { c4 d e f g a b c }

notenameLyric = \NoteNameToLyric \music

would make

notenameLyric = "c d e f g a b c"

so that we can write

\newLyric \lyricmode \notenameLyric

I understand that such a function would probably map the music and extract the 'text from it and concatenate it to get the result. Not yet successful in getting it to work.


_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
"Thomas U. Grüttmüller" | 23 Nov 19:28 2014
Picon
Picon

Little notes and dotted voltas

Hi list,

I would like to transcribe the notes from Ludwig Erk’s Liederhort. 
Unfortunately, I don’t know how to handle these two things:

* In some songs, there are dotted voltas, which – I guess – are there to 
indicate an optional repeatition.

* Some songs also feature tiny notes, which are there to indicate a 
diverging rhythm in different stanzas.

What would be the best way to transcribe them?

Please have a look at 
<https://commons.wikimedia.org/wiki/File:Deutscher_Liederhort_%28Erk%29_044a.jpg> 
for an example featuring both issues.

Kind regards,
   Thomas
Peter Teeson | 21 Nov 22:42 2014

Finale Notepad xml file vs musicxml2ly

Hi all:

I am testing Finale NotePad (2012) and did the tutorial2.mus.
Then Exported to xml. Then did a CLI using musicxml2ly.

Only the first bar appears with notes, and they are not correct, The remaining bars are all rests.
In fact there are 7 bars with notes in the Voice part. The Piano part is all rests as this is just a test.
I have the files available if it's useful.

Is this a known issue? I am not sure yet how to validate that the Finale output is valid musicxml.

respect…

Peter
Marcos Press | 21 Nov 17:02 2014
Picon

\alternative error...

Hi List!
Can someone tell why the small fragment in the attached .ly file, gives these error?

####
$ lilypond rep.ly
GNU LilyPond 2.18.2
...
rep.ly:8:1: error: syntax error, unexpected \alternative

\alternative {
rep.ly:3:1: error: se han encontrado errores, se ignora la expresión musical

\relative c'{
error fatal: archivos que han fallado: "rep.ly"
####

Another curiosity is, if in the .ly file I write in diferent lines the { } an the music expresions of the \repeat, like these:

\repeat unfold 2 {
 c c
}

the file compiles with these warning and the pdf voltas results in one less as the warning said:

####
$ lilypond rep.ly
GNU LilyPond 2.18.2
...
advertencia: Hay más alternativas que repeticiones.  Se recortan las alternativas excedentes
warning: There are more alternatives than repetitions. The exceded alternatives are cut.
[...]
Enhorabuena. La compilación se ha completado satisfactoriamente.
####

Thanks for the help

Marcos
Attachment (rep.ly): text/x-lilypond, 287 bytes
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Gmane