tremolo as post event

2014-11-24 Thread Mike Solomon
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@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \parallelMusic incompatible with slur marker at beginning of measure?

2014-11-24 Thread Thomas Morley
2014-11-24 7:27 GMT+01:00 Ted Lemon :
> On Nov 24, 2014, at 1:03 AM, Pierre Perol-Schneider 
>  wrote:
>> Here both are ok; you simply omit to put any bar check: So a | (b c d) is 
>> wrong, and a( | b c d) is right.
>
> So to be clear, I am asking whether the behavior we are seeing is intended 
> for some reason that I haven't understood yet.   It is obviously the case 
> that the behavior is as it is.
>
> From the perspective of a user who just wants to write music, there is no 
> reason at all for me to think that a | (b c d) is wrong and a (b c d) is 
> okay.   For instance, a | b (c d) works, and a (b | c d) works.   So it 
> doesn't make any sense that a | (b c d) doesn't work.
>
> It may be that making it work is really hard because of the way bar checks 
> are implemented.   If so, it may be that there is no way to make things 
> consistent in the way I am suggesting they should be.   I can even see how, 
> from a data structure perspective, making a | (b c d) work consistently is 
> difficult.
>
> But if consistency is desired, then the fact that a | (b c d) doesn't work is 
> a bug that is hard to fix, not a feature that doesn't need to be fixed.   The 
> question I was asking is whether this is a feature that I just don't 
> understand, but your response isn't really answering that question.
>
> If in fact a (b c d) is wrong, but just happens to work, and a( b c d) is 
> right, then it would be helpful for users if a (b c d) threw an error, 
> instead of working, and if a | (b c d) threw the _same_ error.

Hi Ted,

I think you should come to different point of view:
a( b c d) is as correct as a (b c d) because the starting slur is
added to the articulations of the _previous_ _note_, saying "play
legato from me".
Even:
a
(
b
c
d
)
will work.
Inputting a( b c d) is more a convention to remind oneself to this fact .

A BarCheck will only make sense after a note has been _completely_
written, i.e. including its articulation, markups, dynamics etc.
Therefore the BarCheck must be put after the starting slur.
I don't think you would expect a | -. b to work!?

An input like  a | ( b) would mean "play legato from the BarCheck"
Ofcourse nonsense and LilyPond complains.
Even the error-message:
   syntax error, unexpected EVENT_IDENTIFIER
is correct, because a BarCheck will not take any musical event.

So no issue here.

HTH,
  Harm

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


null post event

2014-11-24 Thread Mike Solomon
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@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Problems / questions around a choir partition

2014-11-24 Thread Markus Baertschi
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
mar...@markus.org, ++41 (79) 403 1186 (mobile)

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


hairpin aesthetics

2014-11-24 Thread Mike Solomon
Hey all,

When typesetting:


\version "2.19.15"


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


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
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hairpin aesthetics

2014-11-24 Thread Knute Snortum
Does this look better?

%%

\version "2.19.15"

\relative c'' {

\time 2/4

cis8\> ( bisis ) *\!* fis'\< ( e ) |

d2\! |

}

%%-


Knute Snortum
(via Gmail)

On Mon, Nov 24, 2014 at 6:55 AM, Mike Solomon  wrote:

> Hey all,
>
> When typesetting:
>
> 
> \version "2.19.15"
>
>
> \relative c'' {
>   \time 2/4
>   cis8\> ( bisis ) fis'\< ( e ) |
>   d2\! |
> }
> 
>
> 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
> ___
> 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: \parallelMusic incompatible with slur marker at beginning of measure?

2014-11-24 Thread Ted Lemon
On Nov 24, 2014, at 7:21 AM, Thomas Morley  wrote:
> An input like  a | ( b) would mean "play legato from the BarCheck"
> Ofcourse nonsense and LilyPond complains.
> Even the error-message:
>   syntax error, unexpected EVENT_IDENTIFIER
> is correct, because a BarCheck will not take any musical event.

Yes, now this makes sense.   I got some private email as well explaining what's 
going on here.   The problem is that the open paren looks lisp-ish, and so I 
want it to be a grouping syntax, but it's really just a marker that happens to 
pair with another marker that happens to be a closing paren.   I am not in love 
with this, but I see how it happened, at least.   It would be better if the 
error message were something like "barcheck doesn't take an event," but at 
least now I understand how we got here.   Thanks to you and Pierre (and the 
private person whom I shall not name here) for walking me through this.


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


Build issue in Fedora due to font changes

2014-11-24 Thread Jon Ciesla
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@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problems / questions around a choir partition

2014-11-24 Thread tyronicus
For your first question, I would try top-markup-spacing and
markup-system-spacing. Check out this beautiful guide by Abraham Lee (?): 
verticalspacing.pdf
  
They are flexible variables, so try #'padding.





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Problems-questions-around-a-choir-partition-tp168930p168940.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Problems / questions around a choir partition

2014-11-24 Thread Markus Baertschi
On Mon, Nov 24, 2014 at 6:11 PM, tyronicus  wrote:
> For your first question, I would try top-markup-spacing and 
> markup-system-spacing.
> Check out this beautiful guide by Abraham Lee (?): verticalspacing.pdf
> 

This is a nice PDF, thanks !

I found a solution, adding \vspace #5 pushes the header down to the score,
problem solved !

\header { piece = \markup { \vspace #5 \bold "Couplets" \italic "
tempo de marche" } }

Markus

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

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


Re: Problems / questions around a choir partition

2014-11-24 Thread Trevor Daniels

Markus Baertschi wrote Monday, November 24, 2014 2:33 PM

> - 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

The unchanged .ly file works correctly in 2.19.15, so maybe consider
installing this version.  It's really quite reliable.

Alternatively, if you want to stay with 2.18.3, try running the two
contexts in parallel for the whole piece, using \skips to pass over the
notes which don't have alternative lyrics, like this (for the Bariton line):

\new Lyrics = "refrain2"  \lyricsto "Bariton" {
  \set stanza = "2)"
  Sur nor | monts, sur nos monts puis -- | sants, tout puis -- sants,
  l'on | n'en -- tends le vent n'en -- | tend que le vent
  l'on ne |
  voit l'on ne voit le | ciel que le ciel l'on ne |
  sent que le so -- leil Au re --
  lons cher -- cher le vent
  vent. Ouh - - -
}
\new Lyrics \lyricsto "Bariton" {
   \repeat unfold 23 \skip 1
   voir au re -- voir re -- voir au re -- voir nous all~- |
}
 
The value 23 is the number of "missing "syllables.

> - 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 ?

A similar approach may help with this too.

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


Re: Problems / questions around a choir partition

2014-11-24 Thread Markus Baertschi
Thanks Trevor !

On Tue, Nov 25, 2014 at 12:52 AM, Trevor Daniels  wrote:
>> - 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
>
> The unchanged .ly file works correctly in 2.19.15, so maybe consider
> installing this version.  It's really quite reliable.

Yes, looks like a bug in 2.18. I've installed 2.19 and there is works.

> Alternatively, if you want to stay with 2.18.3, try running the two
> contexts in parallel for the whole piece, using \skips to pass over the
> notes which don't have alternative lyrics, like this (for the Bariton line):

I see, I was unaware of the \skips statement. Will try next time !

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

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