Bar alignment

2010-10-11 Thread Agostino Dovier
Hi all,

does someone know how to force the alignment of bars in subsequent lines?
I mean. I would like to produce a regular score e.g. with 4 bars per line
and with a fixed length of each bar (eg, set to 1/4 of page width). I know
it is not always the best solution but sometimes it might be useful.

Any help is welcome.

Thanks

Agostino

Agostino Dovier
Dip. di Matematica e Informatica
Univ. of Udine
Via delle Scienze 206
33100 UDINE (Italy)
Tel. +39 0432 558494
Web. http://www.dimi.uniud.it/dovier
  


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


passing a duration expression the \tempo function

2010-10-11 Thread Steve Yegge
I'd like to do something like this:

#(define baseTempo 50)

...

\tempo 4 = #baseTempo

...

\tempo 4 = #(* 2 baseTempo)


Is there a succinct way to do it?

Thanks,

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


Re: Completion_heads_engraver and \noBreak

2010-10-11 Thread ornello

No answer til now. Could anybody reproduce the problem?

Hoping for reply...
-- 
View this message in context: 
http://old.nabble.com/Completion_heads_engraver-and-%5CnoBreak-tp29894579p29933011.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Hi,

From the answers I've had I infer that there is no standard way of doing
that.

The answer the closest from what I expected is to use a rehearsal mark
(thanks to Vicente). Unfortunately it doesn't work when the end-repeat
bar is the last bar of the score:

% This score doesn't have x4 printed out
\score {
  \relative c'' {
\repeat volta 4 { c1 }
\mark #x4
  }
}
% This score does have x4 printed out
\score {
  \relative c'' {
\repeat volta 4 { c1 }
\mark #x4
c
  }
}

Any workaround?

Thanks,

_g.

\relative c'' {
  \repeat volta 4 { c1 }
}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
James a écrit , Le 11/10/2010 14:42:
 If you say there is no 'alternate' then you simply make a text markup
 saying 'repeat 4 times' - this is typically right aligned below or above
 the stave where the repeat mark is.

Can I ask how do you achieve the right aligned 'repeat 4 times' in this
score?

\score {
  \relative c'' {
\repeat volta 4 { c1 }
  }
}

Thanks for your patience :)

_g.

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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread James

Hello,

On 11/10/2010 13:22, Gilles Filippini wrote:

Hi,

 From the answers I've had I infer that there is no standard way of doing
that.


http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Long-repeats#Manual-repeat-marks

AFAIK this is the standard if using Volte.

If you say there is no 'alternate' then you simply make a text markup 
saying 'repeat 4 times' - this is typically right aligned below or above 
the stave where the repeat mark is.


There is no need for any volta brackets at all - although the example 
above is what I often see, even with no alternate endings.


I have even seen 4 repeat bars one after another

\bar :\ \bar :\ \bar :\ \bar :\  kind of thing, although that 
isn't that clear to me either.


Having a 'x4' as a rehearsal mark is not particularly informative and I 
know it would cause much head scratching in the orchestra I play in.


It seems to me that you are over-complicating this.

James


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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Xavier Scheuer
On 11 October 2010 15:13, Gilles Filippini gilles.filipp...@free.fr wrote:

 Can I ask how do you achieve the right aligned 'repeat 4 times' in this
 score?

I would do something like that:

\relative c'' {
  \repeat volta 4 {
c1
% displayed at the end of a line and at the end of the score
\once \override Score.RehearsalMark #'break-visibility =
#end-of-line-visible
% \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
% right aligned (default value: #CENTER)
\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
% normal size (default value: #+1)
\once \override Score.RehearsalMark #'font-size = #0
% printed below the Staff (if wanted)
% \once \override Score.RehearsalMark #'direction = #-1
\mark \markup 4X
  }
}


Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread -Eluze

an approach is:

\relative c'' {
  \repeat volta 4 { c1 }
  \override Score.RehearsalMark #'self-alignment-X = #1
  \mark \markup repeat 4 times
  \bar :|
}

maybe you'll want to tweak it to fit the text over the measure!



Gilles Filippini wrote:
 
 James a écrit , Le 11/10/2010 14:42:
 If you say there is no 'alternate' then you simply make a text markup
 saying 'repeat 4 times' - this is typically right aligned below or above
 the stave where the repeat mark is.
 
 Can I ask how do you achieve the right aligned 'repeat 4 times' in this
 score?
 
 \score {
   \relative c'' {
 \repeat volta 4 { c1 }
   }
 }
 
 Thanks for your patience :)
 
 _g.
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

-- 
View this message in context: 
http://old.nabble.com/Howto-have-the-number-of-volte-printed-out-above-an-end-repeat-bar--tp29929915p29934795.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread James

Hello,

On 11/10/2010 14:13, Gilles Filippini wrote:

James a écrit , Le 11/10/2010 14:42:

If you say there is no 'alternate' then you simply make a text markup
saying 'repeat 4 times' - this is typically right aligned below or above
the stave where the repeat mark is.


Can I ask how do you achieve the right aligned 'repeat 4 times' in this
score?

\score {
   \relative c'' {
 \repeat volta 4 { c1 }
   }
}


Remove the repeat and volta.

\score {
  \relative c'' {
c1 | c1 | c1 | c1 \bar :|
\once \override Score.RehearsalMark #'break-visibility = 
#begin-of-line-invisible

\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
\once \override Score.RehearsalMark #'direction = #DOWN
\mark \markup { \small \bold \italic Repeat four times}
  }
}


I put in the extra bars just to show you a more realistic spacing.

If you want to put it above the staff then you just change

\once \override Score.RehearsalMark #'direction = #DOWN

to

\once \override Score.RehearsalMark #'direction = #UP

Hope this helps.

James







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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 14:22:36 +0200, Gilles Filippini  
gilles.filipp...@free.fr wrote:

From the answers I've had I infer that there is no standard way of doing
that.


well, with Rehearsal Marks you can print almost whatever you want over a  
bar line. how far is that from the standard way?



The answer the closest from what I expected is to use a rehearsal mark
(thanks to Vicente).


I forgot to fwd my first messsage to the list, sorry. I just reccomended  
to use a manual Rehearsal Mark.



Unfortunately it doesn't work when the end-repeat
bar is the last bar of the score:

% This score doesn't have x4 printed out
\score {
  \relative c'' {
\repeat volta 4 { c1 }
\mark #x4
  }
}


\version 2.12.3

\score {
  \relative c'' {
\override Score.RehearsalMark
   #'break-visibility = #begin-of-line-invisible

\override Score.RehearsalMark
   #'self-alignment-X = #RIGHT

\repeat volta 4 { c1 }
\mark #x4
  }
}

remember, the manuals and the lsr are your biggest friends most of the  
time. learn them by heart :)


greetings,

Vicente


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


empty Staff context and vertical spacing

2010-10-11 Thread Orm Finnendahl
Hi,

 when using \RemoveEmptyStaffContext, between-system-padding and
between-system-space seem to have no effect, the staff systems are
squeezed together with seemingly no vertical space between them.

Sorry if I'm missing the obvious. I tried to find information in the
doca about that but didn't see anything concerning this issue.

Here are the infos:

lilypond version: 2.13.23

the layout block on the top level:

\layout {
  indent = 4\cm
  \context { 
\RemoveEmptyStaffContext 
\override VerticalAxisGroup #'remove-first = ##t
  }
   between-system-padding = 2\cm
   between-system-space = 2\cm
}

I also tried to set between-system-padding and -space in a \paper
block but that didn't change anything.

Thanks for any advice,
Orm

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


Re: straneg position of note-column

2010-10-11 Thread Stefan Thomas
Dear community,
the tip I've got by madMuze was the right one for me.
Thaks!

 You might try
 \score {

\override Score.NonMusicalPaperColumn #'full-measure-extra-space =
 #0
\new Staff { ...
 to achieve pre-2.12 spacing.

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


markup placement

2010-10-11 Thread David Santamauro

Hello all,

I am finally trying to get past the basics with lilypond. In my
attempts, I have been copying a score that has divisi violas with a
downbow marker. My problem is that the text div. is rendered above
the downbow marker but I would like it to the left and lower.

Is it possible to move objects like that markup with the proper
directives? If it is and is documented, please point me to the relevant
snippets or section in the manual.

thanks...

David

My smallest possible example:

\version 2.12.3

\include english.ly

\header {
  title = test div/downbow
  tagline = ##f
}

\score {  
  
\new Staff \with { instrumentName = Viola }
{
  \clef alto
  
\new Voice = vlaI {
  \voiceOne
  % the div and downbow are stacked
  % but I'd like them side-by-side
  r2 \mark \markup { \teeny div. } cs'4\downbow e'4
}
\new Voice = vlaII {
  \voiceTwo
  r2  cs'2
}
  
  }
  
}


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


Re: markup placement

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 20:51:19 +0200, David Santamauro  
david.santama...@gmail.com wrote:

[...]

r2 \mark \markup { \teeny div. } cs'4\downbow e'4

[...]

why do you use a rehearsal mark? by attaching the div. to the rest, the  
result is closer to what you want, isn't?


r2-\markup { \teeny div. } cs'4\downbow e'4

you can then finetune the alignment for instance manually with  
#'extra-offset.


greetings,

Vicente


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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Xavier Scheuer a écrit , Le 11/10/2010 16:08:
 Can I ask how do you achieve the right aligned 'repeat 4 times' in this
 score?
 
 I would do something like that:
 
 \relative c'' {
   \repeat volta 4 {
 c1
 % displayed at the end of a line and at the end of the score
 \once \override Score.RehearsalMark #'break-visibility =
 #end-of-line-visible
 % \override Score.RehearsalMark #'break-visibility =
 #begin-of-line-invisible
 % right aligned (default value: #CENTER)
 \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
 % normal size (default value: #+1)
 \once \override Score.RehearsalMark #'font-size = #0
 % printed below the Staff (if wanted)
 % \once \override Score.RehearsalMark #'direction = #-1
 \mark \markup 4X
   }
 }

Xavier and James, you made my day \o/

After a few more tests I came up with this snippet which works in both
cases, end of line or not:

\relative c'' {
  \repeat volta N {
...
  }
  \once \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
  \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
  \once \override Score.RehearsalMark #'font-size = #0
  \mark \markup Repeat N times
}

Now all I need is to put this into a conditional statement so that the
markup doesn't appear when using \unfoldRepeats.

Thanks,

_g.

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


Re: markup placement

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 20:51:19 +0200, David Santamauro  
david.santama...@gmail.com wrote:

Is it possible to move objects like that markup with the proper
directives? If it is and is documented, please point me to the relevant
snippets or section in the manual.


forgot that.

you can read about that in the Learning Manual 4.5.1 Moving objects

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Moving-objects#Moving-objects

and more generally about text in the Notation Reference 1.8 Text

http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Text#Text

my personal experience is that the most productive thing I've done in  
Lilypond is learning to search in the documentation :)


greetings,

Vicente


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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Vicente Solsona a écrit , Le 11/10/2010 18:17:
 On Mon, 11 Oct 2010 14:22:36 +0200, Gilles Filippini
 gilles.filipp...@free.fr wrote:
 From the answers I've had I infer that there is no standard way of doing
 that.
 
 well, with Rehearsal Marks you can print almost whatever you want over a
 bar line. how far is that from the standard way?

To me the standard way would be to have the Volta_engraver doing this
for me, and taking care not to do it when inside \unfoldrepeats {}.

 remember, the manuals and the lsr are your biggest friends most of the
 time. learn them by heart :)

Sure, but RTFM and STFW wasn't successful in that case :/

Thanks,

_g.

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


Re: markup placement

2010-10-11 Thread David Santamauro

Hi Vicente,

On Mon, 11 Oct 2010 21:41:39 +0200
Vicente Solsona vice...@lavabit.com wrote:

 
 you can read about that in the Learning Manual 4.5.1 Moving objects
 
 http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Moving-objects#Moving-objects
 
 and more generally about text in the Notation Reference 1.8 Text
 
 http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Text#Text

Wonderful... I've been in the notation reference all day and from there
I got the snippet for rehearsal marks which I bastardized. That's what
this clueless soul did before finally asking for help.

 
 my personal experience is that the most productive thing I've done
 in Lilypond is learning to search in the documentation :)

Yes, searching is important and I have been doing that all day. This is
my first big scoring with lilypond and it is at times a bit
overwhelming.

thanks for the quick response.

David

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


Re: duplicate dynamics on same staff

2010-10-11 Thread James Wilkinson

On 9/23/10 6:00 PM, Vicente Solsona wrote:


When I put two voices on the same staff that have identical markings
for dynamics and tempo, Lilypond prints them both, one above the
other.

[...]

Back to my original question: if Lilypond can see that one of these
things needs to be moved, how hard would it be to have it determine
that they are identical and just not print one of them?


if the dynamics are the same, it's better to write them just once. thus
you:

1) save typing
2) help lilypond so it does't need to waste time guessing obvious things
and it can concentrate on the big stuff :)

you just need to create a third voice with spacers and all the common
marks, in parallel with the other two:

8---

\version 2.12.3 % should also work on 2.13


\relative c'' {
a b c d
} \\
\relative c' {
c d e f
} \\
{
s4\f s4\ s4-and markups too too s4\p
}


Took me a while to get around to it. Works like a champ. Thanks

Is there somewhere in the docs that I should have spotted this before 
doing it wrong the first time?


++

Jimmy Wilkinson| Professor Emeritus of Computer Science
ji...@cs.cofc.edu  | The College of Charleston
(843) 953-8160 | Charleston  SC29424
http://www.cs.cofc.edu/~jimmy

If there is one word to describe me, that word would have to be 
profectionist.

Any form of incompitence is an athema to me.
Metathesis??? Don't ax me.
Just between you and I, the grammar used by Americans are getting worse.
I can only help but wonder what the cause of this might be.
It just ceases to amaze me how it could be the case, but mostly I could 
care less.

.. boat storage under house with wench ..
I won't get into specifics because that was between he and I

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


Re: duplicate dynamics on same staff

2010-10-11 Thread Graham Percival
On Mon, Oct 11, 2010 at 04:32:48PM -0400, James Wilkinson wrote:
 On 9/23/10 6:00 PM, Vicente Solsona wrote:
 
 if the dynamics are the same, it's better to write them just once. thus
 you:
 
 1) save typing
 2) help lilypond so it does't need to waste time guessing obvious things
 and it can concentrate on the big stuff :)
 
 you just need to create a third voice with spacers and all the common
 marks, in parallel with the other two:

I'm not at all certain that's a good idea.  The dynamics won't be
present in MIDI (which is probably no great loss), but more
importantly, it messes up the semantics for no particularly good
reason.

 Is there somewhere in the docs that I should have spotted this
 before doing it wrong the first time?

If this was a good idea, it should be in (in the 2.13 docs)
  Usage 5 Suggestions for writing files

Cheers,
- Graham

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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 21:40:30 +0200, Gilles Filippini  
gilles.filipp...@free.fr wrote:

To me the standard way would be to have the Volta_engraver doing this
for me, and taking care not to do it when inside \unfoldrepeats {}.


afaik \unfoldRepeats is intended mainly for the output...

maybe you could just override the visibility of the mark when using  
\unfoldRepeats:


\version 2.12.3

music = \relative c'' {
  \repeat volta 4 { ais b c d a b c d}
  \once \override Score.RehearsalMark #'break-visibility =
 #begin-of-line-invisible
  \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
  \once \override Score.RehearsalMark #'font-size = #0
  \mark \markup 4x
}

\score
{
  \new Staff {
\music  % the mark woild be visible
\once \override Score.RehearsalMark #'transparent = ##t
\unfoldRepeats {\music} % the mark
   }
}

the problem is that surprisingly (at least for me) this prints the last  
mark and not the first :-S


this could be a bug. If nobody disagrees, I'll report that to the bug list.

greetings,

Vicente


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


Re: duplicate dynamics on same staff

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 22:32:48 +0200, James Wilkinson ji...@cs.cofc.edu  
wrote:


[...]

if the dynamics are the same, it's better to write them just once. thus
you:

[...]

you just need to create a third voice with spacers and all the common
marks, in parallel with the other two:

Took me a while to get around to it. Works like a champ. Thanks


glad it helped :)

Is there somewhere in the docs that I should have spotted this before  
doing it wrong the first time?


I think I took the idea from the piano centered dynamics template in the  
learning manual. I don't recall if this is spotted somewhere els.


greetings,

Vicente


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


Re: duplicate dynamics on same staff

2010-10-11 Thread James Wilkinson
So I finally separated the dynamics from the notes, and it works! 
But I had a couple of problems:


1)  Whenever both instruments have a rest, Lilypond stacks them 
vertically. James Bailey sent me a link to a snippet that fixes that. 
(How did he know that was going to be my next problem?) My question is, 
Why is that a snippet? Given that merging the rests is the standard way 
to engrave them under those circumstances, could Lilypond not just do it 
and make me have to find a different snippet if that's not what I want? 
Or at just provide the merge-rests-on-positioning function and mention 
it in the docs?


2)  In another measure the upper voice has a quarter rest followed by a 
half note on the bottom line of the staff. The lower voice has a dotted 
half rest. The problem here is that the half note in the upper voice is 
so low on the staff that it prints over the rest in the lower voice. 
These voices share a staff in the score, but not in the individual 
parts. I know I can fix this using tags, but that's labo(u)r intensive 
in the general case, and I wonder if there's a better way. I don't even 
know what the engraving convention is for this circumstance. I could 
suppress the lower voice entirely and let the stem direction identify 
the note as upper voice. Or should I move the rest down below the staff 
so it doesn't collide with the notehead? Either way, I want to do this 
only when trumpetII and trumpetIII share a staff, i.e. in a score.


thanks

++

Jimmy Wilkinson| Professor Emeritus of Computer Science
ji...@cs.cofc.edu  | The College of Charleston
(843) 953-8160 | Charleston  SC29424
http://www.cs.cofc.edu/~jimmy

If there is one word to describe me, that word would have to be 
profectionist.

Any form of incompitence is an athema to me.
Metathesis??? Don't ax me.
Just between you and I, the grammar used by Americans are getting worse.
I can only help but wonder what the cause of this might be.
It just ceases to amaze me how it could be the case, but mostly I could 
care less.

.. boat storage under house with wench ..
I won't get into specifics because that was between he and I

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


Re: duplicate dynamics on same staff

2010-10-11 Thread James Wilkinson

On 10/11/10 5:22 PM, Graham Percival wrote:

On Mon, Oct 11, 2010 at 04:32:48PM -0400, James Wilkinson wrote:

On 9/23/10 6:00 PM, Vicente Solsona wrote:


if the dynamics are the same, it's better to write them just once. thus
you:

1) save typing
2) help lilypond so it does't need to waste time guessing obvious things
and it can concentrate on the big stuff :)

you just need to create a third voice with spacers and all the common
marks, in parallel with the other two:


I'm not at all certain that's a good idea.  The dynamics won't be
present in MIDI (which is probably no great loss), but more
importantly, it messes up the semantics for no particularly good
reason.


8-(

When I first brought this up, that answer seemed to be the consensus, so 
I gave it a go. Now I don't know what to do. If there's a better way, 
I'd love to hear it.


Or am I back to my original idea of having Lilypond remove the duplicate 
dynamic marks on its own?


thanks

++

Jimmy Wilkinson| Professor Emeritus of Computer Science
ji...@cs.cofc.edu  | The College of Charleston
(843) 953-8160 | Charleston  SC29424
http://www.cs.cofc.edu/~jimmy

If there is one word to describe me, that word would have to be 
profectionist.

Any form of incompitence is an athema to me.
Metathesis??? Don't ax me.
Just between you and I, the grammar used by Americans are getting worse.
I can only help but wonder what the cause of this might be.
It just ceases to amaze me how it could be the case, but mostly I could 
care less.

.. boat storage under house with wench ..
I won't get into specifics because that was between he and I

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


Re: duplicate dynamics on same staff

2010-10-11 Thread Vicente Solsona
On Tue, 12 Oct 2010 00:06:26 +0200, James Wilkinson ji...@cs.cofc.edu  
wrote:

On 10/11/10 5:22 PM, Graham Percival wrote:

On Mon, Oct 11, 2010 at 04:32:48PM -0400, James Wilkinson wrote:

On 9/23/10 6:00 PM, Vicente Solsona wrote:

if the dynamics are the same, it's better to write them just once.  
thus

you:

1) save typing
2) help lilypond so it does't need to waste time guessing obvious  
things

and it can concentrate on the big stuff :)

you just need to create a third voice with spacers and all the common
marks, in parallel with the other two:


I'm not at all certain that's a good idea.  The dynamics won't be
present in MIDI (which is probably no great loss), but more
importantly, it messes up the semantics for no particularly good
reason.


8-(

When I first brought this up, that answer seemed to be the consensus, so  
I gave it a go. Now I don't know what to do. If there's a better way,  
I'd love to hear it.


Or am I back to my original idea of having Lilypond remove the duplicate  
dynamic marks on its own?


thanks


for me it's still a good idea. you have two voices sharing the same  
dynamics. probably there's other way, but it definitely works for me, and  
lilypond allows it. not such a big deal I think.



greetings,

Vicente


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


Re: duplicate dynamics on same staff

2010-10-11 Thread James Bailey

On Oct 11, 2010, at 11:58 PM, James Wilkinson wrote:

 So I finally separated the dynamics from the notes, and it works! But I 
 had a couple of problems:
 
 1)  Whenever both instruments have a rest, Lilypond stacks them vertically. 
 James Bailey sent me a link to a snippet that fixes that. (How did he know 
 that was going to be my next problem?)

I'm prescient!

 My question is, Why is that a snippet? Given that merging the rests is the 
 standard way to engrave them under those circumstances, could Lilypond not 
 just do it and make me have to find a different snippet if that's not what I 
 want?

Because depending on the kind of music, it's different. Vocal music usually has 
the rests merged; whereas instrumental music does not.

 Or at just provide the merge-rests-on-positioning function and mention it in 
 the docs?
 
 2)  In another measure the upper voice has a quarter rest followed by a half 
 note on the bottom line of the staff. The lower voice has a dotted half rest. 
 The problem here is that the half note in the upper voice is so low on the 
 staff that it prints over the rest in the lower voice. These voices share a 
 staff in the score, but not in the individual parts.

Can you actually provide an example of how you've done this? I can't for the 
life of me figure out how you get the collision.


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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 23:57:42 +0200, Vicente Solsona vice...@lavabit.com  
wrote:

afaik \unfoldRepeats is intended mainly for the output...


sorry I meant afaik \unfoldRepeats is intended mainly for the midi  
output...




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


Re: duplicate dynamics on same staff

2010-10-11 Thread James Bailey

On Oct 11, 2010, at 11:22 PM, Graham Percival wrote:

 On Mon, Oct 11, 2010 at 04:32:48PM -0400, James Wilkinson wrote:
 On 9/23/10 6:00 PM, Vicente Solsona wrote:
 
 if the dynamics are the same, it's better to write them just once. thus
 you:
 
 1) save typing
 2) help lilypond so it does't need to waste time guessing obvious things
 and it can concentrate on the big stuff :)
 
 you just need to create a third voice with spacers and all the common
 marks, in parallel with the other two:
 
 I'm not at all certain that's a good idea.  The dynamics won't be
 present in MIDI (which is probably no great loss), but more
 importantly, it messes up the semantics for no particularly good
 reason.

Maybe I misunderstand, but if I do:
{
 
  \relative c' { c4 d e f  { g a g f } \\ { e2 d }  e4 f e d c1 }
  {s1\mf s4\ s\! s\ s\! s1\p s }
 
}

The dynamics show up in the MIDI. And if they're separated into variables, I 
can change the dynamics and the music independantly and easily, without fuss or 
muss.

 
 Is there somewhere in the docs that I should have spotted this
 before doing it wrong the first time?
 
 If this was a good idea, it should be in (in the 2.13 docs)
  Usage 5 Suggestions for writing files

I extrapolated the idea from that, Using Variables to Save Typing. Or something 
like that.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Vicente Solsona a écrit , Le 11/10/2010 23:57:
 On Mon, 11 Oct 2010 21:40:30 +0200, Gilles Filippini
 gilles.filipp...@free.fr wrote:
 To me the standard way would be to have the Volta_engraver doing this
 for me, and taking care not to do it when inside \unfoldrepeats {}.
 
 afaik \unfoldRepeats is intended mainly for the output...
 
 maybe you could just override the visibility of the mark when using
 \unfoldRepeats:

That can't be used with a voice which includes several repeats and / or
rehearsal marks.

I thought I could trigger the mark using a function and a global
variable, but that doesn't work as expected. It seems the function is
evaluated only once while setting the toto part instead of being
evaluated in the context of each score:

%---
repeatMark =
#(define-music-function
 (parser location volte)
 (number?)
 (if repeat-mark-visible
   #{
 \once \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
 \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
 \once \override Score.RehearsalMark #'font-size = #0
 \mark \markup $(string-join (list repeat (number-string volte)
times))
   #}
   #{ #}
   ))

toto = \relative c'' {
  \mark \default
  d1
  \mark \default
  \repeat volta 3 {
c b
  }
  \repeatMark #3
  a
  \mark \default
  g
}

#(define repeat-mark-visible #t)
\score {
  \toto
}

#(define repeat-mark-visible #f)
\score {
  \unfoldRepeats {
\toto
  }
}
%---

Looking for another method :/

Thanks,

_g.

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


Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Tue, 12 Oct 2010 01:00:28 +0200, Gilles Filippini  
gilles.filipp...@free.fr wrote:

I thought I could trigger the mark using a function and a global
variable, but that doesn't work as expected. It seems the function is
evaluated only once while setting the toto part instead of being
evaluated in the context of each score:

%---
repeatMark =
#(define-music-function
 (parser location volte)
 (number?)
 (if repeat-mark-visible
   #{
 \once \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
 \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
 \once \override Score.RehearsalMark #'font-size = #0
 \mark \markup $(string-join (list repeat (number-string volte)
times))
   #}
   #{ #}
   ))

toto = \relative c'' {
  \mark \default
  d1
  \mark \default
  \repeat volta 3 {
c b
  }
  \repeatMark #3
  a
  \mark \default
  g
}

#(define repeat-mark-visible #t)
\score {
  \toto
}

#(define repeat-mark-visible #f)
\score {
  \unfoldRepeats {
\toto
  }
}
%---

Looking for another method :/



I think the following code does it, but putting the music inside a  
function is probably not a good idea. Maybe some scheme specialist can  
help you better, I'm surpassed beyond that...


%---

\version 2.12.3

repeatMark =
#(define-music-function
 (parser location volte visible)
 (number? boolean?)
 (if visible
   #{
 \once \override Score.RehearsalMark #'break-visibility =
 #begin-of-line-invisible
 \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
 \once \override Score.RehearsalMark #'font-size = #0
 \mark \markup $(string-join (list repeat (number-string volte)
 times))
   #}
   #{ #}
   ))


totito =
#(define-music-function
 (parser location visible)
 (boolean?)
#{
\relative c'' {
\mark \default
d1
\mark \default
\repeat volta 3 {
c b
}
\repeatMark #3 #$visible
a
\mark \default
g
}
#})


\score {
  \totito ##t
}


\score {
  \unfoldRepeats {
\totito ##f
  }
}

%---

greetings,

Vicente


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