quick fix for using LilyPond with LilyPad

2008-05-01 Thread fiëé visuëlle

Hello Developers,

I still use LilyPad, and that calls LilyPond via lilycall.py (even if  
that's probably deprecated).

In that file there's the line:

env['LILYPONDPREFIX'] = prefix + '/share/lilypond/current'

That let LilyPond fail with a deprecation warning.
Please just change it to

env['LILYPOND_DATADIR'] = prefix + '/share/lilypond/current'

and all is well.

Thank you!


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)




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


third down, diatonically

2008-05-01 Thread Stefan Thomas
Dear Lilypond-users,
I would like to transpose this melody diatonically one third down:
\relative c' {
\clef G
\key a \minor
\time 4/4
\partial 2.

\ e4 a b  | c2.( a4 )|   % 3
c2.( a4 )| g  e b' c   % 5
d e,( d' c) | c( b) b( a) |   % 7
a ( g) f-. g-. | a4*3 }
the transposed melody should  be:
\relative c' {
\clef G
\key c \major
\time 4/4
\partial 2.

g4 c d  | e2.( c4 )|   % 3
e2.( c4 )| g  g d' e  |   % 5
f g,( f' e) | e ( d) d( c) |   % 7
c ( b) a-. b-. | c4*3 }

Is there any way to do this automatically, maybee in other keys than c-major
a-minor?
Thanks,
and have a nice day, it's may 1st!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: third down, diatonically

2008-05-01 Thread neuro


\transpose ?

like

\transpose c a{
\relative c' {
   \clef G
   \key a \minor
   \time 4/4
   \partial 2.

   \ e4 a b  | c2.( a4 )|   % 3
   c2.( a4 )| g  e b' c   % 5
   d e,( d' c) | c( b) b( a) |   % 7
   a ( g) f-. g-. | a4*3 }
}


in the document
lilypond-big-page.html#Transpose


good luck

neuro

- Original Message - 
From: Stefan Thomas

To: lilypond-user
Sent: Thursday, May 01, 2008 6:05 PM
Subject: third down, diatonically


Dear Lilypond-users,
I would like to transpose this melody diatonically one third down:
\relative c' {
   \clef G
   \key a \minor
   \time 4/4
   \partial 2.

   \ e4 a b  | c2.( a4 )|   % 3
   c2.( a4 )| g  e b' c   % 5
   d e,( d' c) | c( b) b( a) |   % 7
   a ( g) f-. g-. | a4*3 }
the transposed melody should  be:
\relative c' {
   \clef G
   \key c \major
   \time 4/4
   \partial 2.

   g4 c d  | e2.( c4 )|   % 3
   e2.( c4 )| g  g d' e  |   % 5
   f g,( f' e) | e ( d) d( c) |   % 7
   c ( b) a-. b-. | c4*3 }

Is there any way to do this automatically, maybee in other keys than c-major 
a-minor?

Thanks,
and have a nice day, it's may 1st!



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


Remove prefatory staff lines

2008-05-01 Thread Mark Knoop
Hi all,

I'm trying to remove the empty staff lines that occur when a new staff
is created coinciding with a clef change in another staff - see example.
I've tried various settings of explicitClefVisibility which haven't
worked so far. Any ideas?

As a last resort I'll just whack a white postscript box over it, but I
was hoping there might be a more elegant solution.

\version "2.11.44"
\paper{ ragged-right=##t }
{
c'1
<< {
\clef bass c'1
} \new Staff \with { \remove Clef_engraver } {
c''1
} >>
}

-- 
Mark Knoop


test1.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Line breaks in text markups

2008-05-01 Thread Ingo
Hi,
I managed to write notes and lyrics or the first verse for a song. Looks great!

Now, I would like to add the lyrics of further verses below. 
The only command I found for this is "\markup". 
Is there a possibility to add manual line breaks within the markup text? 
If I use two markup commands like this:

\markup\large{Alles, was dich preisen kan, Kerubim und Serafinen,}
\markup\large{stimmen dir ein Loblied an,}

the vertical spacing is too high. This does not work:

\markup\large{
Alles, was dich preisen kan, Kerubim und Serafinen,
\break
stimmen dir ein Loblied an,
}

What would you recommend?

Best, Ingo



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


Re: Line breaks in text markups

2008-05-01 Thread Valentin Villenave
2008/5/1 Ingo <[EMAIL PROTECTED]>:
> Hi,
>  I managed to write notes and lyrics or the first verse for a song. Looks 
> great!

I bet it does :-)

>  Now, I would like to add the lyrics of further verses below.
>  The only command I found for this is "\markup".
>  Is there a possibility to add manual line breaks within the markup text?

Yes; it's

\markup {
  \column {
Your first line
  }
  {
Your second line
  }
}

However, please have a look at
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/More-about-stanzas

You will find many explanations and examples for what you're looking for.

Cheers,
Valentin


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


Re: Line breaks in text markups

2008-05-01 Thread Kieren MacMillan

Hi all,

 Is there a possibility to add manual line breaks within the  
markup text?


Yes; it's

\markup {
  \column {
Your first line
  }
  {
Your second line
  }
}


Ouch. There must be a better way, no?
Do any of the LaTeX commands work (e.g., \par, or \\, etc.)?

At the very least, take advantage of the new \markuplines command:

\version "2.11.41"
\markuplines
{
"words in single file"
"each line in double quote marks"
"stanza nirvana"
}

Cheers,
Kieren.


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


Re: Line breaks in text markups

2008-05-01 Thread Nicholas Wastell
On Thu, 1 May 2008 14:52:13 +0200
"Valentin Villenave" <[EMAIL PROTECTED]> wrote:

> However, please have a look at
> http://lilypond.org/doc/v2.10/Documentation/user/lilypond/More-about-stanzas

I found some useful tips and ideas here:



both in the Tips and the Library links, although much of the Lilypond code is 
for quite old versions.

For me, some of the Docs examples were rather too minimal as I didn't have the 
experience to expand and adapt them: complete examples were easier to 
understand and apply to my own case.


Rgds,

Nick.
-- 
Nicholas WASTELL
France


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


Re: Line breaks in text markups

2008-05-01 Thread Nicolas Sceaux

Le 1 mai 08 à 15:26, Kieren MacMillan a écrit :


Hi all,

Is there a possibility to add manual line breaks within the markup  
text?


Yes; it's

\markup {
 \column {
   Your first line
 }
 {
   Your second line
 }
}


Ouch. There must be a better way, no?


No, this is the way, although the example is not correct, it should  
read:


  \markup \column {
\line { Your first line }
\line { Your second line }
  }

or:

  \markup \column {
"Your first line"
"Your second line"
  }


Do any of the LaTeX commands work (e.g., \par, or \\, etc.)?


Please, this LilyPond, not LaTeX, why in the name of Mandos would LaTeX
commands work?


At the very least, take advantage of the new \markuplines command:

\version "2.11.41"
\markuplines
{
   "words in single file"
   "each line in double quote marks"
   "stanza nirvana"
}


Depending on whether you accept page breaks or not between verses,
you should use:

  \markuplines \column-lines {
"First verse"
"Second verse"
"Third verse"
  }

or:

  \markup \column {
"First verse"
"Second verse"
"Third verse"
  }

(the \column-lines command adds some space around the lines, otherwise
they may be unevenly vertically spaced)

nicolas



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


Re: Line breaks in text markups

2008-05-01 Thread Kieren MacMillan

Hi Nicolas,


Do any of the LaTeX commands work (e.g., \par, or \\, etc.)?
this LilyPond, not LaTeX, why in the name of Mandos would LaTeX  
commands work?


I was under the impression that LilyPond once used a LaTeX engine in  
the background -- was that never true?


Thanks,
Kieren.

p.s. Who in the name of Mandos is "Mandos"?



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


Re: Adding notes above drumstaff

2008-05-01 Thread Stan Mulder
As a drummer I've struggled to find a way to write drum kicks as well. Another
term may be "rhythmic cues". This technique can be seen in almost all the drum
parts of modern stage band music.

Just clarify this further for others, the technique is to have a single line of
small notes above the drum staff (on the G or A line in treble clef) that
indicate rhythms the horn section is playing. It's an optional cue for the
drummer to ad lib something that emphasizes what the horns are playing to give
it a kick.

This document
(http://learningcenter.berklee.edu/downloads/handouts/finaleDrumNotation.pdf)
says the following:

Kicks Over Time
If you want the band to
accent a certain rhythm,
are not concerned with
which specific drums are
played, and want the
groovetocontinue
without going into stop
time, you can add the
rhythm on top of slash
notation.


This page (http://www.jazzuk.demon.co.uk/html/nestico.html) shows the 
following: 
"Cues on the drum part are to let your drummer know what is going on in the
orchestra...he needn't try to "catch" every nuance."

I'm having trouble finding a graphics example online. If I had a piece of stage
band music I could make a scan...



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


Re: Line breaks in text markups

2008-05-01 Thread Nicolas Sceaux

Le 1 mai 08 à 17:45, Kieren MacMillan a écrit :


Hi Nicolas,


Do any of the LaTeX commands work (e.g., \par, or \\, etc.)?
this LilyPond, not LaTeX, why in the name of Mandos would LaTeX  
commands work?


I was under the impression that LilyPond once used a LaTeX engine in  
the background -- was that never true?


It used to use TeX, ages ago.


p.s. Who in the name of Mandos is "Mandos"?


http://en.wikipedia.org/wiki/Mandos#Mandos



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


Place bar line at start of single staff

2008-05-01 Thread Adam Orris
Hello,

I need to place a single bar line at the start of one staff, before the clef.  

This link shows a somewhat silly example of what I want:
http://www.walltowallstencils.com/l/la412.gif.

I have searched through the documentation and forum and I haven't found a way to
do this.

I appreciate your time in helping me.

Adam




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


Re: Place bar line at start of single staff

2008-05-01 Thread Rafael F. Compte
2008/5/1 Adam Orris <[EMAIL PROTECTED]>:
> Hello,
>
>  I need to place a single bar line at the start of one staff, before the clef.



Hi Adam,


To hide the bar lines you need the \bar"" command. Check out this
section of the documentation
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Bar-lines#Bar-lines

I couldn't find a way to print a single bar line at the beginning of
the score though. Maybe someone else could point us in the right
direction.

Rafael


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


Re: third down, diatonically

2008-05-01 Thread Stefan Thomas
Dear neuro,
this was a misunderstanding. I didn't want to transpose the example a *minor
* third, I wanted to transpose a third, diatonically, in the key of c,
without "black keys". This is, I think, very much used in tonal music.

2008/5/1 neuro <[EMAIL PROTECTED]>:

>
> \transpose ?
>
> like
>
> \transpose c a{
> \relative c' {
>   \clef G
>   \key a \minor
>   \time 4/4
>   \partial 2.
>
>   \ e4 a b  | c2.( a4 )|   % 3
>   c2.( a4 )| g  e b' c   % 5
>   d e,( d' c) | c( b) b( a) |   % 7
>   a ( g) f-. g-. | a4*3 }
> }
>
>
> in the document
> lilypond-big-page.html#Transpose
>
>
> good luck
>
> neuro
>
> - Original Message - From: Stefan Thomas
> To: lilypond-user
> Sent: Thursday, May 01, 2008 6:05 PM
> Subject: third down, diatonically
>
>
>
> Dear Lilypond-users,
> I would like to transpose this melody diatonically one third down:
> \relative c' {
>   \clef G
>   \key a \minor
>   \time 4/4
>   \partial 2.
>
>   \ e4 a b  | c2.( a4 )|   % 3
>   c2.( a4 )| g  e b' c   % 5
>   d e,( d' c) | c( b) b( a) |   % 7
>   a ( g) f-. g-. | a4*3 }
> the transposed melody should  be:
> \relative c' {
>   \clef G
>   \key c \major
>   \time 4/4
>   \partial 2.
>
>   g4 c d  | e2.( c4 )|   % 3
>   e2.( c4 )| g  g d' e  |   % 5
>   f g,( f' e) | e ( d) d( c) |   % 7
>   c ( b) a-. b-. | c4*3 }
>
> Is there any way to do this automatically, maybee in other keys than
> c-major a-minor?
> Thanks,
> and have a nice day, it's may 1st!
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Place bar line at start of single staff

2008-05-01 Thread Valentin Villenave
2008/5/1 Rafael F. Compte <[EMAIL PROTECTED]>:

>  I couldn't find a way to print a single bar line at the beginning of
>  the score though. Maybe someone else could point us in the right
>  direction.

Here you are:

\new Staff \with {
  \consists "System_start_delimiter_engraver"
  \override SystemStartBar #'collapse-height = #1 }

Cheers,
Valentin


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


StaffSymbol #' staff-space definition produces a SystemStartBar (?)

2008-05-01 Thread Valentin Villenave
Greetings everyone,

On my way to answer Adam's recent mail, I found something really surprising:

why does

\new Staff \with {
  \override StaffSymbol #' staff-space  = #1.4
} {a b c' d'}

produces a single-staff system with a left barline at its beginning
(which is fine, as it does help to keep track of the Staff lines when
changing the spacing)

whereas

\new Staff \with {
  \override StaffSymbol #' staff-space  = #1.2
} {a b c' d'}

does not? (It produces a standard Staff, without any vertical
delimiter on the left).

What is the exact value that triggers the behavior? Is it documented
anywhere (couldn't find it)?

If it's intended and this threshold is definable, it's definitely a
feature more than a bug.

Cheers,
Valentin


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


Re: Place bar line at start of single staff

2008-05-01 Thread Neil Puttock
2008/5/1 Valentin Villenave <[EMAIL PROTECTED]>:

>  \new Staff \with {
>   \consists "System_start_delimiter_engraver"
>   \override SystemStartBar #'collapse-height = #1 }

Bearing in mind that this only works under 2.11, shall I add a snippet
for this to input/new?

There's already display-bracket-with-only-one-staff-in-a-system.ly in
the snippets under Staff notation (from LSR; I'll add it to input/new
in any case), which demonstrates both braces and system start
barlines, but perhaps it might be clearer to split the two tweaks.

Regards,
Neil


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


Re: third down, diatonically

2008-05-01 Thread Peter Chubb
> "Stefan" == Stefan Thomas <[EMAIL PROTECTED]> writes:

Stefan> Dear Lilypond-users, I
Stefan> would like to transpose this melody diatonically one third
Stefan> down:

I think you need something like the code I've been working on for
trills and turns.  See the code in
http://www.nabble.com/Programming-questions-td16953318.html for
diatonically up one tone, it's easy enough to adjust for down a third.
--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia
A university is a non-profit organisation only in the sense that it
spends everything it gets  ... Luca Turin.


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


Re: What's a moment?

2008-05-01 Thread Han-Wen Nienhuys
2008/4/30 Peter Chubb <[EMAIL PROTECTED]>:
>  Mats> A quarter note is represented as 1/4, a dotted half note as 3/4,
>  Mats> ...  Obviously it makes sense to add and subtract moments, but
>  Mats> since they internally are represented as rational numbers, you
>  Mats> also get multiplication and division for free.
>
>  So you're saying a lilypond  moment is a duration of musical time, not an
>  instant in musical time?   Is there a function to translate from
>  lilypond moment to lilypond duration and back?

Moments are used interchangeably for points and durations.  There is a
fine point, though; Moment is really a tuple of rationals, with the
first being the 'main' time, and the 2nd the 'grace' time.


-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: What's a moment?

2008-05-01 Thread Han-Wen Nienhuys
2008/4/30 Peter Chubb <[EMAIL PROTECTED]>:

>  So what *is* a moment?  What do the numerator and denominator
>  represent?  Beats?  Bar numbers?  Milliseconds from the start of the
>  piece?  Inquiring minds want to know.


Questions like these are probably material for the devel list.


-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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