Re: Barline at the beginning of a "piece"

2011-02-17 Thread Phil Holmes
This is covered in the Notation Reference, Section 1.4: Repeats; the section on 
Manual Repeat Marks.

--
Phil Holmes


  - Original Message - 
  From: Michael Dykes 
  To: lilypond-user@gnu.org 
  Sent: Thursday, February 17, 2011 5:55 AM
  Subject: Barline at the beginning of a "piece"


  Hullo all. I am creating chant templates for the 8 tones, and need repeat 
barlines at the beginning of each section. I know how to acheive that in the 
gregorian.ly style, but how do I do this if I do not have that feature on? i.e. 
no gregorian.sty and cadenzaOn? Before, I would type: 

  \repeat volta 2 
{
music stuff
}


  with the following underneath global:

  global = {
\key f \major
\override Staff.TimeSignature #'stencil = ##f
%\override Staff.BarLine #'stencil = ##f
\set Score.defaultBarType = "empty"
\bar "|:"
  }

  But, do I still do this now? Thanks.

  -- 
  In Christ,
  Michael D



--


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


upgrade to 2.13.50 and LilyPondTool

2011-02-17 Thread Gerard McConnell
Hello,
sorry to bring this up, I know it's been asked before but I couldn't find
the info in the docs.
I want to try out the new version; my present setup is jEdit/LilyPond 2.12.
What do I need to
reset when I install 2.13.50?  Sorry about asking this, but I use LilyPond
every day and spending
several hours to figure out how to reset everything would be more stress
than is good for me right now :-|
Now that I've gotten used to the great printout being without it would be a
real pain!
Gerard
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: upgrade to 2.13.50 and LilyPondTool

2011-02-17 Thread James Lowe
Gerard,


From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On Behalf Of 
Gerard McConnell
Sent: 17 February 2011 11:14
To: lilypond-user@gnu.org
Subject: upgrade to 2.13.50 and LilyPondTool

Hello,
sorry to bring this up, I know it's been asked before but I couldn't find the 
info in the docs.
I want to try out the new version; my present setup is jEdit/LilyPond 2.12.  
What do I need to
reset when I install 2.13.50?  Sorry about asking this, but I use LilyPond 
every day and spending
several hours to figure out how to reset everything would be more stress than 
is good for me right now :-|
Now that I've gotten used to the great printout being without it would be a 
real pain!
Gerard

You don't state what operating system you use but for Windows and Mac you can 
simply download the 2.13 release, rename your 2.12 dir to something different 
and then install 2.13.x as normal.

That will work for LilyPond generally. I do that all the time, but I don't use 
Jedit or LilyPondTool (just notepad or LilyPad - the default editor with Mac 
OS).

That way I can have multiple versions of LilyPond installed to test. I can only 
assume that the other tools will be ok because they will be looking for the 
default location which by renaming your 2.12 directory and installing 2.13 will 
place the 2.13 in the 'standard place' and so that might be all you need to do.

James

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


upgrade to 2.13.50 and LilyPondTool

2011-02-17 Thread James Lowe


From: Gerard McConnell [mailto:gerine...@gmail.com]
Sent: 17 February 2011 11:27
To: James Lowe
Subject: Re: upgrade to 2.13.50 and LilyPondTool

Excellent, Many thanks James.
Gerard
On Thu, Feb 17, 2011 at 11:23 AM, James Lowe 
mailto:james.l...@datacore.com>> wrote:
Gerard,


From: 
lilypond-user-bounces+james.lowe=datacore.com@gnu.org
 
[mailto:lilypond-user-bounces+james.lowe=datacore.com@gnu.org]
 On Behalf Of Gerard McConnell
Sent: 17 February 2011 11:14
To: lilypond-user@gnu.org
Subject: upgrade to 2.13.50 and LilyPondTool

Hello,
sorry to bring this up, I know it's been asked before but I couldn't find the 
info in the docs.
I want to try out the new version; my present setup is jEdit/LilyPond 2.12.  
What do I need to
reset when I install 2.13.50?  Sorry about asking this, but I use LilyPond 
every day and spending
several hours to figure out how to reset everything would be more stress than 
is good for me right now :-|
Now that I've gotten used to the great printout being without it would be a 
real pain!
Gerard

You don't state what operating system you use but for Windows and Mac you can 
simply download the 2.13 release, rename your 2.12 dir to something different 
and then install 2.13.x as normal.

That will work for LilyPond generally. I do that all the time, but I don't use 
Jedit or LilyPondTool (just notepad or LilyPad - the default editor with Mac 
OS).

That way I can have multiple versions of LilyPond installed to test. I can only 
assume that the other tools will be ok because they will be looking for the 
default location which by renaming your 2.12 directory and installing 2.13 will 
place the 2.13 in the 'standard place' and so that might be all you need to do.

James


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


Re: alpha test, horizontal spacing

2011-02-17 Thread Trevor Daniels

Hi Ralph

you wrote Wednesday, February 16, 2011 2:34 PM


On Sat, Feb 12, 2011 at 6:04 AM, Jan Warchoł 
 wrote:



I think i have an idea how to explain this bug.
I suppose it happens because LilyPond is not aware that the dot 
is in

voiceTwo context (and therefore lower than usual).
compile this:

{ g'4.*1/32 d''!32 g'4.*1/32 e''!32 }
{ \voiceTwo g'4.*1/32 \voiceOne d''!32 \voiceTwo g'4.*1/32 
\voiceOne e''!32

}

In the upper line, the first accidental (on d'') is too low to 
move
left (it would collide with the dot). The second accidental (on 
e'')

is high enough to be moved over dot. Everything fine here.
Now in the second line the music is the same except that dotted 
notes
are in lower voice. This makes the dots move down, they are a 
whole
staffspace lower. However, Lily fails to notice that, and 
engraves the

naturals exactly like in the upper line.


What's the status of this? I cannot find an issue on the tracker. 
Did I miss

something?


A tracker entry should be made using the example and description
that Jan provided above.  I'd rate it low.

Trevor





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


Re: Overriding bar-line behaviour

2011-02-17 Thread Matthias Hüsken
> > What I'd like to achieve:
> > When ending a bar with the repetition sign ":|",
> > I need double lines ("||") at the beginning of the next bar.
>
> It looks as though you actually mean ending/beginning lines, not bars.

Basically, yes.

> > [...]
> > (":||" . (":|" . "||"))
> > [...]
> > Unfortunately, this does not work:
> > LilyPond leaves the  end of the line [...] empty,
> > as well as the beginning of the next line.
>
> Lilypond's barline.cc doesn't recognise your bartype string ":||"
> and quietly sets the bartype to empty before continuing.
> So unless you extend the C++ hardcoding you are limited
> to the bartypes listed in the bar-line-interface documentation.

Well, I do not think the problem actually lies in the C++ code but in the way 
I tried to override bar-glyph-alist - when I change the code in 
scm/output-lib.scm, it does work... even with \bar ":||".

> If you will be using explicit line breaks like in your snippet I would
> suggest a \once-like approach as in the attached barRightrepeatDouble.ly.

This solution works perfectly, thanks a lot! What I actually use is this code:

barCustom =
#(define-music-function (parser location one two) (string? string?)
#{
\once \override Score.BarLine #'break-visibility = #all-visible
\once \override Score.BarLine #'glyph-name = #(lambda(grob)
(if (not (= (ly:item-break-dir grob) RIGHT)) $one $two))
#})

and then e.g. \barCustom ":|" "||"

There is only one detail that need additional attention: It is not possbile to 
change the bar lines at the beginning of the first line with this method. I 
found the following workaround:

% start first line with repeat
\bar "|:"
% start first line with "thick" double lines
\bar ".|"
% start first line with "thin" double lines
\once \override Score.BarLine #'glyph-name = "||" \bar "|:"


Thanks again for finding a solution!

Matthias


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


Variables syntax problem

2011-02-17 Thread Matthias Hüsken
Dear all,

I got another problem I am not able to solve. I change the title of the header 
so that the tempo is included, see attached file. This works nicely, but I 
have not been able to substitute the duration in the \note declaration by 
some variable, i.e. I'd like to be able to do something like

\myTempoNote = "4."

\note #\myTempoNote #UP

What is the correct syntax to pass \myTempoNote to \note?

Thanks

Matthias
\version "2.12.2"

myTitle = "Song Title"
myTempo = "120"
myTempoNote = "4"

\header
{
title = \markup
{
\override #'(style . cross) { \note #"4" #UP " = " \myTempo }
\hspace #7 \myTitle \hspace #7
\small { "written by some guy..." }
}
}

\new Staff { g'1 }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Variables syntax problem

2011-02-17 Thread Nick Payne

On 18/02/11 01:43, Matthias Hüsken wrote:

Dear all,

I got another problem I am not able to solve. I change the title of the header
so that the tempo is included, see attached file. This works nicely, but I
have not been able to substitute the duration in the \note declaration by
some variable, i.e. I'd like to be able to do something like

\myTempoNote = "4."

\note #\myTempoNote #UP

What is the correct syntax to pass \myTempoNote to \note?


Isn't it \note #myTempoNote #UP

That works for me with 2.13.50. I don't have 2.12 installed.

Nick

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


Re: Variables syntax problem

2011-02-17 Thread Matthias Hüsken
> > I got another problem I am not able to solve. I change the title of the
> > header so that the tempo is included, see attached file. This works
> > nicely, but I have not been able to substitute the duration in the \note
> > declaration by some variable, i.e. I'd like to be able to do something
> > like
> >
> > \myTempoNote = "4."
> >
> > \note #\myTempoNote #UP
> >
> > What is the correct syntax to pass \myTempoNote to \note?
>
> Isn't it \note #myTempoNote #UP
>
> That works for me with 2.13.50. I don't have 2.12 installed.

Yes, it works like that. Somehow I knew it would be too easy for me... Thanks 
a lot!

Matthias


-- 

Matthias Hüsken  Phone: +49 202 439-3362
Fachbereich Mathematik   Fax:   +49 202 439-2912
Bergische Universität
Gaußstraße 20
D - 42097 Wuppertal

e-mail: matthias.hues...@math.uni-wuppertal.de


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


Spacing in my chant template

2011-02-17 Thread Michael Dykes
Hullo all. I have resolved my earlier problem in my chant template that I am
working on; however, unlike Tone 1 (whose spacing looks full and even, Tone
2, in particular, looks "bunched-up"). What can I do to fix this? Attached
is my working example. Thanks.

-- 
In Christ,
Michael D
\version "2.12.2"
\include "english.ly"

#(set-default-paper-size "letter")
#(set-global-staff-size 23)
#(ly:set-option (quote no-point-and-click))

% XS: necessary, see below
\paper{
  print-all-headers = ##t
}

global = {
  \key g \major
  \time 10/4
  \override Staff.TimeSignature #'stencil = ##f
  \set Score.defaultBarType = "empty"
  \bar "|:"
  \cadenzaOn
}

%% XS: variables ending by "One" are related to SCORE NUMBER 1:
%% "Sticheron Template ~ Tone 1"
%% Variables ending by "Two" are related to SCORE NUMBER 2:
%% "Sticheron Template ~ Tone 2"
%% Variables ending by "Three" are related to SCORE NUMBER 3:
%% "Sticheron Template ~ Tone 3
%% Variables ending by "Four" are related to SCORE NUMBER 4:
%% "Sticheron Template ~ Tone 4"
%% Variables ending by "Five" are related to SCORE NUMBER 5:
%% "Sticheron Template ~ Tone 5"
%% Variables ending by "Six" are related to SCORE NUMBER 6:
%% "Sticheron Template ~ Tone 6"
%% Variables ending by "Seven" are related to SCORE NUMBER 7:
%% "Sticheron Template ~ Tone 7"
%% Variables ending by "Eight" are related to SCORE NUMBER 8:
%% "Sticheron Template ~ Tone 8"

sopranoOne = \relative c'' {
  \global
  % Music follows here.
  \repeat volta 2
  {a2 b2 a\breve fs4 g fs e2 \bar "|"
  e4 g\breve fs4 g2 a fs \bar "|"
  a\breve g2 fs \bar "|"
  g\breve fs2 g a g fs1 \bar":|"}
  a\breve g4 fs g a2 g4 fs2 e4 d e1 \bar"||"
}

sopranoTwo = \relative c'' {
  \global
  \repeat volta 2
  {a2 b a\breve c4 b4 b b b a2 \bar "|"
  a\breve g2 a4 b4 a2 \bar "|"
  a4 b c2 b4 a\breve g4 a b2 b4 b g2 \bar "|"
  g4 b2 a4 g\breve fs4 g a1 \bar ":|"}
  g2 a4 b a g b4 b a4 g a2. g4 fs1 \bar "||"
}

sopranoThree = \relative c'' {
  \global
  \repeat volta 2
  {a2 b\breve b4 c b2 a4 b a2 \bar "|"
a2 b\breve b2 g a4 b a g fs1 \bar ":|"}
  b\breve a4 b fs g a b g2 fs1 \bar "||"
}

sopranoFour = \relative c'' {
  \global
  
}

sopranoFive = \relative c'' {
  \global
  
}

sopranoSix = \relative c'' {
  \global
  
}

sopranoSeven = \relative c'' {
  \global
  
}

sopranoEight = \relative c'' {
  \global
  
}

altoOne = \relative c' {
  \global
  % Music follows here.
  \repeat volta 2
  {fs2 g fs\breve d4 d d b2 \bar "|"
  b4 d\breve e4 e2 fs d \bar "|"
  fs\breve d2 d \bar "|"
  d\breve d2 d d d d1 \bar":|"}
  e\breve c4 c d4 d2 d4 d2 cs4 b b1 \bar"||"
}

altoTwo = \relative c' {
  \global
  \repeat volta 2 
  {fs2 g fs\breve a4 g4 g g g fs2 \bar "|"
  fs\breve e2 fs4 g fs2 \bar "|"
  fs4 g a2 g4 fs\breve e4 fs g2 fs4 e d2 \bar "|"
  d4 g2 g4 d\breve d4 d fs1 \bar ":|"}
  d2 fs4 g fs e g4 g fs4 e fs2. e4 d1 \bar "||"
}

altoThree = \relative c' {
  \global
  \repeat volta 2
  {fs2 g\breve g4 a g2 fs4 g fs2 \bar "|"
   fs2 g\breve g2 e fs4 g fs e d1 \bar ":|"}
  g\breve fs4 g d d d d cs2 d1 \bar "||"
}


altoFour = \relative c' {
  \global
  
}

altoFive = \relative c' {
  \global
  
}

altoSix = \relative c' {
  \global
  
}

altoSeven = \relative c' {
  \global
  
}

altoEight = \relative c' {
  \global
  
}

tenorOne = \relative c' {
  \global
  % Music follows here.
  \repeat volta 2
  {d2 d d\breve a4 b a g2 \bar "|"
  g4 b\breve a4 b2 d a \bar "|"
  d\breve b2 a \bar "|"
  b\breve a2 b c b a1 \bar ":|"}
  c\breve b4 b  b4 c2 b4 a2 a4 a g1 \bar"||"
}

tenorTwo = \relative c' {
  \global
  \repeat volta 2 
  {d2 d d\breve d4 d d b4 cs d2 \bar "|"
  d\breve d2 d4 d d2 \bar "|"
  d4 d d2 d4 d\breve d4 d d2 d4 c b2 \bar "|"
  b4 d2 c4 b\breve a4 b d1 \bar ":|"}
  b2 d4 d d d d d d d d2. cs4 a1 \bar "||"
}

tenorThree = \relative c' {
  \global
  \repeat volta 2
  {d2 d\breve d4 d d2 d4 d d2 \bar "|"
   d2 d\breve d2 b d4 d cs cs a1 \bar ":|"}
 b\breve d4 b a g fs g a2 a1 \bar "||"
}

tenorFour = \relative c' {
  \global
  
}

tenorFive = \relative c' {
  \global
  
}

tenorSix = \relative c' {
  \global
  
}

tenorSeven = \relative c' {
  \global
  
}

tenorEight = \relative c' {
  \global
  
}

bassOne = \relative c {
  \global
  % Music follows here.
  \repeat volta 2
  {d2 g d\breve d4 b d e2 \bar "|"
  e4 g\breve e4 e2 d d  \bar "|"
  d\breve d2 d \bar "|"
  g\breve d2 g fs g d1 \bar":|"}
  e\breve e4 fs g fs2 g4 d2 a4 a e'1 \bar"||"
}

bassTwo = \relative c {
  \global
  \repeat volta 2 
  {d2 g d\breve fs4 g a g4 g d2 \bar "|"
  d\breve d2 d4 d d2 \bar "|"
  d4 g fs2 g4 d\breve d4 d g2 g4 g g2 \bar "|"
  g4 g2 g4 g\breve a4 g d1 \bar ":|"}
  g2 d4 d d d g, a b cs d2. a4 d1 \bar "||"
}

bassThree = \relative c {
  \global
  \repeat volta 2
  {d2 g\breve g4 fs g2 d4 d d2 \bar "|"
   d2 g\breve g2 g d4 d a a d1 \bar ":|"}
  g\breve d4 d c b a g a2 d1 \bar "||"
}

bassFour = \relative c {
  \global
  
}

bassFive = \relative c{
  \global
  
}

bassSix = \relative c{
  \global
  
}

bassSeven = \relative c{
 

Interaction with the score

2011-02-17 Thread Jose H.
HI all,

I am planning to develop an application to help musicians practice scales on
MIDI keyboards, but I can't find the proper documentation for drawing and
changing the score interactively.

Where should I look for the API to draw and change colors of notes while
interacting with the user's input ?

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