Re: Ties across voices

2014-03-31 Thread Urs Liska

Am 31.03.2014 05:54, schrieb Nick Payne:

On 31/03/14 10:56, Daniel Rosen wrote:

Consider the example below:

\version 2.19.3

\new Staff 
   \new Voice \relative c'' { \voiceOne c4~ c d, c }
   \new Voice \relative c' { \voiceTwo c d8 q

How can I tie the lower voice's c d to the upper voice's c d, c?


You could use a third hidden voice:


It has been a longstanding wish to have native support for cross-voice 
items such as slurs, ties, glissandi etc.

Or to have at least a nice blog post tutorial hint.
Or at least a ready-to-use snippet where one could point at.

Best
Urs



\version 2.19.3

transOn = {
   \override NoteColumn.ignore-collision = ##t
   \override NoteHead.no-ledgers = ##t
   \hide NoteHead
   \hide Stem
   \hide Flag
   \hide Beam
   \hide Dots
   \hide Accidental
   \hide TupletBracket
   \hide TupletNumber
}

transOff = {
   \revert NoteColumn.ignore-collision
   \revert NoteHead.no-ledgers
   \revert NoteHead.transparent
   \revert Stem.transparent
   \revert Beam.transparent
   \revert Flag.transparent
   \revert Dots.transparent
   \revert Accidental.transparent
   \revert TupletBracket.transparent
   \revert TupletNumber.transparent
}

\new Staff 
   \new Voice \relative c'' { \voiceOne c4~ c d, c }
   \new Voice \relative c' { \voiceTwo c d8 q }
   \new Voice \relative c' { \voiceThree \transOn s8 c_~ d^~ q }
 

___
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: Ties across voices

2014-03-31 Thread Rutger Hofman

On 03/31/2014 05:54 AM, Nick Payne wrote:

On 31/03/14 10:56, Daniel Rosen wrote:

Consider the example below:

\version 2.19.3

\new Staff 
   \new Voice \relative c'' { \voiceOne c4~ c d, c }
   \new Voice \relative c' { \voiceTwo c d8 q

How can I tie the lower voice's c d to the upper voice's c d, c?


You could use a third hidden voice:

\version 2.19.3

transOn = {
   \override NoteColumn.ignore-collision = ##t
   \override NoteHead.no-ledgers = ##t
   \hide NoteHead
   \hide Stem
   \hide Flag
   \hide Beam
   \hide Dots
   \hide Accidental
   \hide TupletBracket
   \hide TupletNumber
}

transOff = {
   \revert NoteColumn.ignore-collision
   \revert NoteHead.no-ledgers
   \revert NoteHead.transparent
   \revert Stem.transparent
   \revert Beam.transparent
   \revert Flag.transparent
   \revert Dots.transparent
   \revert Accidental.transparent
   \revert TupletBracket.transparent
   \revert TupletNumber.transparent
}

\new Staff 
   \new Voice \relative c'' { \voiceOne c4~ c d, c }
   \new Voice \relative c' { \voiceTwo c d8 q }
   \new Voice \relative c' { \voiceThree \transOn s8 c_~ d^~ q }
 


I use \hideNotes \unHideNotes in this case. Why is \transOn \transOff 
better?


Rutger



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


Piano scoring with centered dynamics

2014-03-31 Thread Westley Martínez
Hello, I'm new to LilyPond and am using it to engrave my own piano pieces. I 
notice that by default dynamics are aligned with notes. I'd like the dynamics 
to be centered between staves. I found a template here:
http://www.lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-
templates

but when I generate the PDF, only the pedal parts show up. The dynamics do 
not appear. Maybe the template just needs to be updated. Anyway, if someone 
could point me in the right direction, that would be great.

Thanks,
Westley Martínez


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


Re: Ties across voices

2014-03-31 Thread Urs Liska

Am 31.03.2014 09:59, schrieb Rutger Hofman:

On 03/31/2014 05:54 AM, Nick Payne wrote:

On 31/03/14 10:56, Daniel Rosen wrote:

Consider the example below:

\version 2.19.3

\new Staff 
   \new Voice \relative c'' { \voiceOne c4~ c d, c }
   \new Voice \relative c' { \voiceTwo c d8 q

How can I tie the lower voice's c d to the upper voice's c d, c?


You could use a third hidden voice:

\version 2.19.3

transOn = {
   \override NoteColumn.ignore-collision = ##t
   \override NoteHead.no-ledgers = ##t
   \hide NoteHead
   \hide Stem
   \hide Flag
   \hide Beam
   \hide Dots
   \hide Accidental
   \hide TupletBracket
   \hide TupletNumber
}

transOff = {
   \revert NoteColumn.ignore-collision
   \revert NoteHead.no-ledgers
   \revert NoteHead.transparent
   \revert Stem.transparent
   \revert Beam.transparent
   \revert Flag.transparent
   \revert Dots.transparent
   \revert Accidental.transparent
   \revert TupletBracket.transparent
   \revert TupletNumber.transparent
}

\new Staff 
   \new Voice \relative c'' { \voiceOne c4~ c d, c }
   \new Voice \relative c' { \voiceTwo c d8 q }
   \new Voice \relative c' { \voiceThree \transOn s8 c_~ d^~ q }
 


I use \hideNotes \unHideNotes in this case. Why is \transOn \transOff
better?


\hideNotes only makes the notes transparent and doesn't remove the 
stencils. This _may_ work without problems, but will lead to 
accidentals, ties and slurs etc. trying to avoid the (invisible) notes, 
beams and particularly flags.
See 
http://lilypondblog.org/2013/07/voice-contexts-in-temporary-polyphonic-sections/ 

The introductory image shows quite well what happens (even when it is 
not about cross-voice ties).


HTH
Urs



Rutger



___
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: Piano scoring with centered dynamics

2014-03-31 Thread Phil Holmes
- Original Message - 
From: Westley Martínez aniko...@gmail.com

To: lilypond-user@gnu.org
Sent: Monday, March 31, 2014 9:21 AM
Subject: Piano scoring with centered dynamics


Hello, I'm new to LilyPond and am using it to engrave my own piano pieces. 
I
notice that by default dynamics are aligned with notes. I'd like the 
dynamics

to be centered between staves. I found a template here:
http://www.lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-
templates

but when I generate the PDF, only the pedal parts show up. The dynamics do
not appear. Maybe the template just needs to be updated. Anyway, if 
someone

could point me in the right direction, that would be great.

Thanks,
Westley Martínez



2.12 is a very very old version of lilypond.  Is it true you're still using 
that?


--
Phil Holmes 



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


Re: Difference between # and $

2014-03-31 Thread Urs Liska

Am 30.03.2014 00:55, schrieb David Kastrup:

Urs Liska u...@openlilylib.org writes:


Hi,

I have a hard time to understand the difference between # and $ in
LilyPond code blocks within Scheme functions.


Same as elsewhere.  Please read

URL:http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax


2.2.1 of the Extending manual says:
Within LilyPond code blocks, use # to reference function arguments
(eg., ‘#arg1’) or to start an inline Scheme expression containing
function arguments (eg., ‘#(cons arg1 arg2)’). Where normal Scheme
expressions using # don’t do the trick, you might need to revert to
immediate Scheme expressions using $, for example as ‘$music’.

This doesn't really help.

2.1. says:
... can deal with embedded Scheme expressions starting with $ and #.

This is even less helpful.

Please give me a meaningful explanation of what immediate Scheme
expressions are and when and why you should use them.


Those starting with $.  You use them if you need either the copying
action (like when a music expression is used more than once), or when
the parser will not accept an expression starting with # because the
syntax rules will only apply to certain types, requiring the type to be
determined by the lexer already.



Hm, I have to admit I still don't get it.
Somehow I have the impression this is the type of documentation where 
you have to know the subject before in order to understand the explanation.


Maybe a few examples would be helpful demonstrating both cases?

Best
Urs

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


Re: Difference between # and $

2014-03-31 Thread David Kastrup
Urs Liska u...@openlilylib.org writes:

 Am 30.03.2014 00:55, schrieb David Kastrup:
 Urs Liska u...@openlilylib.org writes:

 Hi,

 I have a hard time to understand the difference between # and $ in
 LilyPond code blocks within Scheme functions.

 Same as elsewhere.  Please read

 URL:http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax

 Hm, I have to admit I still don't get it.
 Somehow I have the impression this is the type of documentation where
 you have to know the subject before in order to understand the
 explanation.

 Maybe a few examples would be helpful demonstrating both cases?

You can assume that the documentation has not been written with the goal
of being useless.  So just saying I don't get it is not going to help
when you don't bother pointing out what exactly you don't get.  I am not
going to rewrite the documentation from scratch a dozen times until it
magically turns into Now I get it.

So please be more specific about what of the referenced chapter you
don't get.  I am pretty sure that the current state of the documentation
is better than random, so improving it entails figuring out the bad from
the good parts, or the next version will not be better.

-- 
David Kastrup

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


Re: Difference between # and $

2014-03-31 Thread Phil Holmes
- Original Message - 
From: David Kastrup d...@gnu.org

To: Urs Liska u...@openlilylib.org
Cc: lilypond-user@gnu.org
Sent: Monday, March 31, 2014 1:50 PM
Subject: Re: Difference between # and $


So please be more specific about what of the referenced chapter you
don't get.  I am pretty sure that the current state of the documentation
is better than random, so improving it entails figuring out the bad from
the good parts, or the next version will not be better.

--
David Kastrup


I've read 
http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax 
(as no doubt, Urs has) and tried to use $ in place of #.  Can't get it to 
compile.  So, taking the following note doubler, how would $ be used instead 
of #?


dubble = #(define-music-function( parser location arg )
 (ly:music?)
 #{ $arg $arg #}
)

{ c'' \dubble c' }




--
Phil Holmes 



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


Re: Difference between # and $

2014-03-31 Thread David Kastrup
Phil Holmes m...@philholmes.net writes:

 I've read
 http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax
 (as no doubt, Urs has) and tried to use $ in place of #.  Can't get it
 to compile.  So, taking the following note doubler, how would $ be
 used instead of #?

 dubble = #(define-music-function( parser location arg )
  (ly:music?)
  #{ $arg $arg #}
 )

 { c'' \dubble c' }

Huh?  Which # would you even want to replace here?  #{ ... #} is inside
of Scheme.  $arg already uses a $.

This code works fine as written.

-- 
David Kastrup

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


Re: Difference between # and $

2014-03-31 Thread Urs Liska

Am 31.03.2014 15:44, schrieb David Kastrup:

Phil Holmes m...@philholmes.net writes:


I've read
http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax
(as no doubt, Urs has) and tried to use $ in place of #.  Can't get it
to compile.  So, taking the following note doubler, how would $ be
used instead of #?

dubble = #(define-music-function( parser location arg )
  (ly:music?)
  #{ $arg $arg #}
)

{ c'' \dubble c' }


Huh?  Which # would you even want to replace here?  #{ ... #} is inside
of Scheme.  $arg already uses a $.

This code works fine as written.



For some reason the use of $arg doesn't compile for Phil. So he already 
_has_ replaced #arg with $arg.

But I have to admit that the given example compiles fine on my side.
Did you compile with an older version, Phil?

And I _will_ re-read the chapter(s) and figure out where exactly I lose 
track.


Urs

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


Re: Difference between # and $

2014-03-31 Thread Phil Holmes
- Original Message - 
From: David Kastrup d...@gnu.org

To: Phil Holmes m...@philholmes.net
Cc: Urs Liska u...@openlilylib.org; lilypond-user@gnu.org
Sent: Monday, March 31, 2014 2:44 PM
Subject: Re: Difference between # and $



Phil Holmes m...@philholmes.net writes:


I've read
http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax
(as no doubt, Urs has) and tried to use $ in place of #.  Can't get it
to compile.  So, taking the following note doubler, how would $ be
used instead of #?

dubble = #(define-music-function( parser location arg )
 (ly:music?)
 #{ $arg $arg #}
)

{ c'' \dubble c' }


Huh?  Which # would you even want to replace here?  #{ ... #} is inside
of Scheme.  $arg already uses a $.

This code works fine as written.


Er - yes.  I know it works fine.  I ran it.  However, the page I refer to 
above says Another way to call the Scheme interpreter from LilyPond is the 
use of dollar $ instead of a hash mark for introducing Scheme expressions. 
So my presumption was that #(define-music-function is a hash mark for 
introducing Scheme expressions and could be replaced by a $.  But if I do 
that, it fails to compile.


--
Phil Holmes 



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


Re: Difference between # and $

2014-03-31 Thread David Kastrup
Phil Holmes m...@philholmes.net writes:

 - Original Message - 
 From: David Kastrup d...@gnu.org
 To: Phil Holmes m...@philholmes.net
 Cc: Urs Liska u...@openlilylib.org; lilypond-user@gnu.org
 Sent: Monday, March 31, 2014 2:44 PM
 Subject: Re: Difference between # and $


 Phil Holmes m...@philholmes.net writes:

 I've read
 http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax
 (as no doubt, Urs has) and tried to use $ in place of #.  Can't get it
 to compile.  So, taking the following note doubler, how would $ be
 used instead of #?

 dubble = #(define-music-function( parser location arg )
  (ly:music?)
  #{ $arg $arg #}
 )

 { c'' \dubble c' }

 Huh?  Which # would you even want to replace here?  #{ ... #} is inside
 of Scheme.  $arg already uses a $.

 This code works fine as written.

 Er - yes.  I know it works fine.  I ran it.  However, the page I refer
 to above says Another way to call the Scheme interpreter from
 LilyPond is the use of dollar $ instead of a hash mark for introducing
 Scheme expressions. So my presumption was that
 #(define-music-function is a hash mark for introducing Scheme
 expressions and could be replaced by a $.  But if I do that, it fails
 to compile.

Well, as mentioned in the documentation, $xxx is the same as \xxx.  It's
accurate that one effect that is not explicitly listed is that if $xxx
or \xxx happen to evaluate to a music function, that music function is
called.

If you wrote

dubble = $(define-music-function( parser location arg )
 (ly:music?)
 #{ $arg $arg #}
)

{ c'' c' }

{ \dubble }

Then this would be similar to

dubble = { { c'' c' } { c'' c' } }

{ \dubble }

because the music function is called right after its definition.  The
same happens with your example, but the \dubble occuring inside of your
music function argument is not yet defined.

-- 
David Kastrup

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


Once only custos

2014-03-31 Thread Jacques Menu
Hello,

I’d like to display a custo at the end of one line only to help, but not for 
the whole score.

Couldn’t find an equivalent of:
\once\override Staff.Custos.style = #’mensural
though.

Thanks for the help!

Jacques Menu



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


2.19.4 - when?

2014-03-31 Thread Karol Majewski
Hi. Can we expect 2.19.4 today? I guess it's about time. It's been a month 
since last development release.



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


Re: 2.19.4 - when?

2014-03-31 Thread David Kastrup
Karol Majewski karo...@wp.pl writes:

 Hi. Can we expect 2.19.4 today? I guess it's about time. It's been a
 month since last development release.

Still two days until it will be a month.  At any rate, we had a stable
release in between, and those make quite a bit of additional work.  So
it's not like Phil has been slacking.

A release on the immediately past weekend would have been the regular
schedule.  I've seen none of the respective activity, so my guess would
be that Phil is pitching for next weekend.

-- 
David Kastrup

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


Re: Piano scoring with centered dynamics

2014-03-31 Thread Michael Rivers
It would be good to update to the latest version (2.18.2). Also, if you post
your file as a minimal example (make you file as short as possible) we can
help you better.

Thanks for posting. This board is a great resource to help you get started.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Piano-scoring-with-centered-dynamics-tp161005p161019.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: Piano scoring with centered dynamics

2014-03-31 Thread Phil Holmes
Please reply all to keep the information available to all.

If you're using 2.18, why are you using documentation from 2.12?  Please look 
in the 2.18 documents for the Dynamics context.

--
Phil Holmes


  - Original Message - 
  From: Westley Martínez 
  To: Phil Holmes 
  Sent: Monday, March 31, 2014 7:37 PM
  Subject: Re: Piano scoring with centered dynamics


  I'm actually using 2.18

  --
  Westley Martínez

  On Mar 31, 2014 1:45 AM, Phil Holmes m...@philholmes.net wrote:

- Original Message - From: Westley Martínez aniko...@gmail.com
To: lilypond-user@gnu.org
Sent: Monday, March 31, 2014 9:21 AM
Subject: Piano scoring with centered dynamics



  Hello, I'm new to LilyPond and am using it to engrave my own piano 
pieces. I
  notice that by default dynamics are aligned with notes. I'd like the 
dynamics
  to be centered between staves. I found a template here:
  
http://www.lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-
  templates

  but when I generate the PDF, only the pedal parts show up. The dynamics do
  not appear. Maybe the template just needs to be updated. Anyway, if 
someone
  could point me in the right direction, that would be great.

  Thanks,
  Westley Martínez



2.12 is a very very old version of lilypond.  Is it true you're still using 
that?

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


Re: Piano scoring with centered dynamics

2014-03-31 Thread Phil Holmes
Please read the documentation on dynamics context, and let us know if it 
doesn't do what you want.

--
Phil Holmes


  - Original Message - 
  From: Westley Martínez 
  To: Phil Holmes 
  Cc: LilyPond User Group 
  Sent: Monday, March 31, 2014 9:02 PM
  Subject: Re: Piano scoring with centered dynamics


  There doesn't seem to be any documentation for 2.18 that describes how to do 
centered dynamics for the piano, but it does show how to do centered lyrics. Is 
it possible to have the dynamics be centered like the lyrics?

  http://www.lilypond.org/doc/v2.18/Documentation/learning/piano-centered-lyrics

  On Mar 31, 2014 12:38 PM, Phil Holmes m...@philholmes.net wrote:

Please reply all to keep the information available to all.

If you're using 2.18, why are you using documentation from 2.12?  Please 
look in the 2.18 documents for the Dynamics context.

--
Phil Holmes


  - Original Message - 
  From: Westley Martínez 
  To: Phil Holmes 
  Sent: Monday, March 31, 2014 7:37 PM
  Subject: Re: Piano scoring with centered dynamics


  I'm actually using 2.18

  --
  Westley Martínez

  On Mar 31, 2014 1:45 AM, Phil Holmes m...@philholmes.net wrote:

- Original Message - From: Westley Martínez 
aniko...@gmail.com
To: lilypond-user@gnu.org
Sent: Monday, March 31, 2014 9:21 AM
Subject: Piano scoring with centered dynamics



  Hello, I'm new to LilyPond and am using it to engrave my own piano 
pieces. I
  notice that by default dynamics are aligned with notes. I'd like the 
dynamics
  to be centered between staves. I found a template here:
  
http://www.lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-
  templates

  but when I generate the PDF, only the pedal parts show up. The 
dynamics do
  not appear. Maybe the template just needs to be updated. Anyway, if 
someone
  could point me in the right direction, that would be great.

  Thanks,
  Westley Martínez



2.12 is a very very old version of lilypond.  Is it true you're still 
using that?

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


Re: Piano scoring with centered dynamics

2014-03-31 Thread pls
Hi Westley,

you are probably looking for something like this:


  \new Staff \relative c' {
c2 d4 e |
c4 e e,2 |
g'4 a g a |
c1 |
  }
  \new Dynamics {
s1\ |
s1\f |
s2\dim s2-rit. |
s1\p |
  }

You find it here: 
http://www.lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes#index-dynamics.

hth
patrick
On 31.03.2014, at 22:07, Phil Holmes m...@philholmes.net wrote:

 Please read the documentation on dynamics context, and let us know if it 
 doesn't do what you want.
 
 --
 Phil Holmes
  
  
 - Original Message -
 From: Westley Martínez
 To: Phil Holmes
 Cc: LilyPond User Group
 Sent: Monday, March 31, 2014 9:02 PM
 Subject: Re: Piano scoring with centered dynamics
 
 There doesn't seem to be any documentation for 2.18 that describes how to do 
 centered dynamics for the piano, but it does show how to do centered lyrics. 
 Is it possible to have the dynamics be centered like the lyrics?
 
 http://www.lilypond.org/doc/v2.18/Documentation/learning/piano-centered-lyrics
 
 On Mar 31, 2014 12:38 PM, Phil Holmes m...@philholmes.net wrote:
 Please reply all to keep the information available to all.
  
 If you're using 2.18, why are you using documentation from 2.12?  Please look 
 in the 2.18 documents for the Dynamics context.
 
 --
 Phil Holmes
  
  
 - Original Message -
 From: Westley Martínez
 To: Phil Holmes
 Sent: Monday, March 31, 2014 7:37 PM
 Subject: Re: Piano scoring with centered dynamics
 
 I'm actually using 2.18
 
 --
 Westley Martínez
 
 On Mar 31, 2014 1:45 AM, Phil Holmes m...@philholmes.net wrote:
 - Original Message - From: Westley Martínez aniko...@gmail.com
 To: lilypond-user@gnu.org
 Sent: Monday, March 31, 2014 9:21 AM
 Subject: Piano scoring with centered dynamics
 
 
 Hello, I'm new to LilyPond and am using it to engrave my own piano pieces. I
 notice that by default dynamics are aligned with notes. I'd like the dynamics
 to be centered between staves. I found a template here:
 http://www.lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-
 templates
 
 but when I generate the PDF, only the pedal parts show up. The dynamics do
 not appear. Maybe the template just needs to be updated. Anyway, if someone
 could point me in the right direction, that would be great.
 
 Thanks,
 Westley Martínez
 
 
 2.12 is a very very old version of lilypond.  Is it true you're still using 
 that?
 
 --
 Phil Holmes 
 ___
 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: Piano scoring with centered dynamics

2014-03-31 Thread Westley Martínez
There doesn't seem to be any documentation for 2.18 that describes how to
do centered dynamics for the piano, but it does show how to do centered
lyrics. Is it possible to have the dynamics be centered like the lyrics?

http://www.lilypond.org/doc/v2.18/Documentation/learning/piano-centered-lyrics
On Mar 31, 2014 12:38 PM, Phil Holmes m...@philholmes.net wrote:

  Please reply all to keep the information available to all.

 If you're using 2.18, why are you using documentation from 2.12?  Please
 look in the 2.18 documents for the Dynamics context.

 --
 Phil Holmes



 - Original Message -
 *From:* Westley Martínez aniko...@gmail.com
 *To:* Phil Holmes m...@philholmes.net
 *Sent:* Monday, March 31, 2014 7:37 PM
 *Subject:* Re: Piano scoring with centered dynamics

 I'm actually using 2.18

 --
 Westley Martínez
 On Mar 31, 2014 1:45 AM, Phil Holmes m...@philholmes.net wrote:

 - Original Message - From: Westley Martínez aniko...@gmail.com
 
 To: lilypond-user@gnu.org
 Sent: Monday, March 31, 2014 9:21 AM
 Subject: Piano scoring with centered dynamics


 Hello, I'm new to LilyPond and am using it to engrave my own piano
 pieces. I
 notice that by default dynamics are aligned with notes. I'd like the
 dynamics
 to be centered between staves. I found a template here:
 http://www.lilypond.org/doc/v2.12/Documentation/user/
 lilypond-learning/Piano-
 templates

 but when I generate the PDF, only the pedal parts show up. The dynamics
 do
 not appear. Maybe the template just needs to be updated. Anyway, if
 someone
 could point me in the right direction, that would be great.

 Thanks,
 Westley Martínez



 2.12 is a very very old version of lilypond.  Is it true you're still
 using that?

 --
 Phil Holmes


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


Attribution statements for Mutopia Project works

2014-03-31 Thread Paul Morris
Greetings all,

Are there established practices or examples of how to properly attribute works 
from the Mutopia Project that are licensed with a Creative Commons license?  
Say if you make a derivative work based on one?  

I have made (what I understand to be) derivative works by translating or 
transcribing some pieces into an alternative music notation system (Clairnote, 
http://clairnote.org).  I came up with the following statement, based on the 
best practices described here:  
http://wiki.creativecommons.org/Best_practices_for_attribution  


Typeset using LilyPond in Clairnote music notation by Paul Morris. This work (© 
2014) is a derivative of the Mutopia Project work of the same title, typeset 
using LilyPond in standard music notation by Nikos Kouremenos (© 2014, 
Mutopia-2014/03/24-519). Both works are licensed under a Creative Commons 
Attribution-ShareAlike 4.0 International License — free to distribute, modify, 
and perform.


This statement fits on three lines and would appear in the footer on the first 
page (just like the current copyright/license statement for Mutopia files).  

Thanks for any feedback on this, especially from anyone who has experience with 
this.  It would be good to know that these statements are sufficient or if they 
could be improved.  You can see actual examples here: 
http://clairnote.org/sheet-music/  (see any pdf from that page except Twinkle 
Twinkle, Swinging on a Gate, or 180 Fiddle Tunes)

Thanks,
-Paul


P.S. For works in the public domain I would use slightly different wording:

Typeset using LilyPond in Clairnote music notation by Paul Morris. This work (© 
2014) is a derivative of the Mutopia Project work of the same title, typeset 
using LilyPond in standard music notation and placed in the public domain by 
Stelios Samelis (Mutopia-2012/12/23-931). This work is licensed under a 
Creative Commons Attribution-ShareAlike 4.0 License— free to distribute, 
modify, and perform.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


specify number of measures per line in score

2014-03-31 Thread Branko
I have this as a sample notation example. How would I specify to have
exactly 4 measures per line, throughout the whole piece. I searched the
whole documentation and did not find such a simple feature. Am I missing
something?

\version 2.18.2

% comment line

\header {
title = Ruska narodna pesma.
composer = Narodna pesma
subtitle = -za gitaru-
}

melody = {
\key c \major
\time 3/4

e' f e |
e, gis b |
d c b |
a c e |
}

\score {
\relative c' 
\new Staff \melody

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


Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
Hi Branko,


On Mon, Mar 31, 2014 at 7:06 PM, Branko brankom...@gmail.com wrote:

 I have this as a sample notation example. How would I specify to have
 exactly 4 measures per line, throughout the whole piece. I searched the
 whole documentation and did not find such a simple feature. Am I missing
 something?

Try this snippet:

 http://lsr.di.unimi.it/LSR/Item?id=838

Hope this helps,

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


Adding notes symbols in lyrics positions

2014-03-31 Thread Harald Christiansen
Hello all,

Here's my problem:

In a PianoStaff, I want to add some notes symbols (e.g. a quarter note,
a rest) in lyrics position, i.e. between the two staves and in sync with
the notes.

I am interested in just placing the glyphs, no pitch needed, like on an
invisible percussion stave with just one line.

(well now, I hope I described it clearly enough)

How could I accomplish this ?

Thanks in advance,

Cheers.

-- 
Nihil verus. Omnia possibilia.

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


Fwd: specify number of measures per line in score

2014-03-31 Thread Branko
Forwarded conversation
Subject: specify number of measures per line in score


From: *Branko* brankom...@gmail.com
Date: 1 April 2014 02:06
To: lilypond-user@gnu.org


I have this as a sample notation example. How would I specify to have
exactly 4 measures per line, throughout the whole piece. I searched the
whole documentation and did not find such a simple feature. Am I missing
something?

\version 2.18.2

% comment line

\header {
title = Ruska narodna pesma.
composer = Narodna pesma
subtitle = -za gitaru-
}

melody = {
\key c \major
\time 3/4

e' f e |
e, gis b |
d c b |
a c e |
}

\score {
\relative c' 
\new Staff \melody

\layout {
}
}


--
From: *David Nalesnik* david.nales...@gmail.com
Date: 1 April 2014 02:09
To: Branko brankom...@gmail.com
Cc: lilypond-user lilypond-user@gnu.org


Hi Branko,


On Mon, Mar 31, 2014 at 7:06 PM, Branko brankom...@gmail.com wrote:

  I have this as a sample notation example. How would I specify to have
 exactly 4 measures per line, throughout the whole piece. I searched the
 whole documentation and did not find such a simple feature. Am I missing
 something?

Try this snippet:

 http://lsr.di.unimi.it/LSR/Item?id=838

Hope this helps,

David


--
From: *Branko* brankom...@gmail.com
Date: 1 April 2014 02:20
To: David Nalesnik david.nales...@gmail.com


thanks, but that gives me this error:
​
test.ly:28:36: error: GUILE signaled an error for the expression beginning
here
\consists #
   (bars-per-line-engraver '(4))
Unbound variable: bars-per-line-engraver
Interpreting music.../usr/share/lilypond/2.18.2/scm/lily-library.scm:242:5:
In procedure symbol-string in expression (process-procedure book paper
...):
/usr/share/lilypond/2.18.2/scm/lily-library.scm:242:5: Wrong type argument
in position 1 (expecting symbol): #unspecified
​


--
From: *Branko* brankom...@gmail.com
Date: 1 April 2014 02:23
To: David Nalesnik david.nales...@gmail.com


sorry, didn't see that function defined in the beginning. it works, thanks.

--
From: *Branko* brankom...@gmail.com
Date: 1 April 2014 02:24
To: David Nalesnik david.nales...@gmail.com


actually it does not work ;), it compiled but no changes in rendered pdf,
still my fourth bar ends on half width the page..

--
From: *David Nalesnik* david.nales...@gmail.com
Date: 1 April 2014 02:26
To: Branko brankom...@gmail.com



Branko,

OK! Glad to hear it.

--David

P.S.  Don't forget to reply-all when answering an email on the -user
list.  It defaults to reply to sender only, which is a little silly.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:27 PM, Branko brankom...@gmail.com wrote:



 actually it does not work ;), it compiled but no changes in rendered pdf,
 still my fourth bar ends on half width the page..


That's a separate issue--not a problem with the function at all.

Your score only has 4 bars, and LilyPond chooses the best spacing.  It
won't automatically fill the line unless you include the following line in
your \layout block:

ragged-right = ##f

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


Re: specify number of measures per line in score

2014-03-31 Thread Branko
ok.. it works in a way.. when I have 4 measures in my score, it ends
prematurely on half page width, as soon as there is 5th measure added, it
spans 4 per line. Is it possible to have this fixed so that it shows my 4
measures spanning whole line, as a whole piece ( I don't have 5th measure)


On 1 April 2014 02:09, David Nalesnik david.nales...@gmail.com wrote:

 Hi Branko,


 On Mon, Mar 31, 2014 at 7:06 PM, Branko brankom...@gmail.com wrote:

  I have this as a sample notation example. How would I specify to have
 exactly 4 measures per line, throughout the whole piece. I searched the
 whole documentation and did not find such a simple feature. Am I missing
 something?

 Try this snippet:

  http://lsr.di.unimi.it/LSR/Item?id=838

 Hope this helps,

 David


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


Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:40 PM, Branko brankom...@gmail.com wrote:

 ok.. that did the trick, so I have to have both, function declared and
 ragged-right to do the job? is that right? thanks again for helping.



No :)

If your score is just 4 bars, all you need is the line in the layout block.

This function is only really useful for long scores, where it would be
really tedious to write \break wherever you want a manual line break.

Anyway, maybe it will be useful to you in the future!

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


Re: specify number of measures per line in score

2014-03-31 Thread Branko
ok.. that did the trick, so I have to have both, function declared and
ragged-right to do the job? is that right? thanks again for helping.


On 1 April 2014 02:35, David Nalesnik david.nales...@gmail.com wrote:



 On Mon, Mar 31, 2014 at 7:27 PM, Branko brankom...@gmail.com wrote:



 actually it does not work ;), it compiled but no changes in rendered pdf,
 still my fourth bar ends on half width the page..


 That's a separate issue--not a problem with the function at all.

 Your score only has 4 bars, and LilyPond chooses the best spacing.  It
 won't automatically fill the line unless you include the following line in
 your \layout block:

 ragged-right = ##f

 --David


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


Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:42 PM, David Nalesnik david.nales...@gmail.comwrote:


 If your score is just 4 bars, all you need is the line in the layout block.


(Sorry, I should be clearer: I meant the ragged-right line.)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: specify number of measures per line in score

2014-03-31 Thread Branko
..so if I had 16 measures, and I wanted to have four lines each spanning
four measures (short exercise for my little students) what would be the
best approach?


On 1 April 2014 02:42, David Nalesnik david.nales...@gmail.com wrote:




 On Mon, Mar 31, 2014 at 7:40 PM, Branko brankom...@gmail.com wrote:

 ok.. that did the trick, so I have to have both, function declared and
 ragged-right to do the job? is that right? thanks again for helping.



 No :)

 If your score is just 4 bars, all you need is the line in the layout block.

 This function is only really useful for long scores, where it would be
 really tedious to write \break wherever you want a manual line break.

 Anyway, maybe it will be useful to you in the future!

 --David


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


Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:46 PM, Branko brankom...@gmail.com wrote:

 ..so if I had 16 measures, and I wanted to have four lines each spanning
 four measures (short exercise for my little students) what would be the
 best approach?


Put \break where you want the line breaks, and include ragged-right = ##t
to get the last line to fill the whole space.

Only use the function if you have something long.  It could save you time
then.

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


Re: specify number of measures per line in score

2014-03-31 Thread David Nalesnik
On Mon, Mar 31, 2014 at 7:50 PM, David Nalesnik david.nales...@gmail.comwrote:




 On Mon, Mar 31, 2014 at 7:46 PM, Branko brankom...@gmail.com wrote:

 ..so if I had 16 measures, and I wanted to have four lines each spanning
 four measures (short exercise for my little students) what would be the
 best approach?


 Put \break where you want the line breaks, and include ragged-right = ##t
 to get the last line to fill the whole space.


**argh**

I'm off today.

ragged-right = ##f
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


tie slur in .. chord construct

2014-03-31 Thread MING TSANG
Hi, lilyponders,
What shall I do to make slur  d' df'  displayed as the tie?
Emmanuel,
Ming
\version 2.19.3
\language english 
{
c'1 
 d'(  f'~  1 
 df')  f' 1 
 c' f'1
}

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


Re: tie slur in .. chord construct

2014-03-31 Thread SoundsFromSound
MING TSANG wrote
 Hi, lilyponders,
 What shall I do to make slur  d' df'  displayed as the tie?
 Emmanuel,
 Ming
 \version 2.19.3
 \language english 
 {
 c'1 
  d'(  f'~  1 
  df')  f' 1 
  c' f'1
 }
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 test_tieslur.pdf (28K)
 lt;http://lilypond.1069038.n5.nabble.com/attachment/161039/0/test_tie%26slur.pdfgt;

Have you considered putting them in their own voice so you have total
control over them separately?



-
composer | sound designer 
LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/tie-slur-in-chord-construct-tp161039p161040.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: tie slur in .. chord construct

2014-03-31 Thread Mark Stephen Mrotek
Ming,

 

Does this do what you want?

 

\version 2.19.3

\language english 

{

c'1 

 d' f'~ 1 

(  df' f' 1 )

 c' f'1

}

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
MING TSANG
Sent: Monday, March 31, 2014 6:49 PM
To: lilypond-user mailinglist
Subject: tie  slur in .. chord construct

 

Hi, lilyponders,

What shall I do to make slur  d' df'  displayed as the tie?

Emmanuel,

Ming

\version 2.19.3

\language english 

{

c'1 

 d'( f'~ 1 

 df') f' 1 

 c' f'1

}

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


Re: tie slur in .. chord construct

2014-03-31 Thread MING TSANG
Mark:  Thank you. This is exactly what I need.

Benjamin: I have consider split SA into separate voices (soprano and alto), but 
I have already coded the whole hymn 32 measures in chord construct.  All other 
measures are ok except this one that contains slur  tie in a chord construct. 
Thank you.

Emmanuel,
Ming.
On Monday, March 31, 2014 10:29:06 PM, Mark Stephen Mrotek 
carsonm...@ca.rr.com wrote:
 
Ming,
 
Does this do what you want?
 
\version 2.19.3
\language english 
{
c'1 
 d' f'~ 1 
(  df' f' 1 )
 c' f'1
}
 
Mark
 
From:lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of MING 
TSANG
Sent: Monday, March 31, 2014 6:49 PM
To: lilypond-user mailinglist
Subject: tie  slur in .. chord construct
 
Hi, lilyponders,
What shall I do to make slur  d' df'  displayed as the tie?
Emmanuel,
Ming
\version 2.19.3
\language english 
{
c'1 
 d'( f'~ 1 
 df') f' 1 
 c' f'1
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Adding notes symbols in lyrics positions

2014-03-31 Thread Thomas Morley
2014-04-01 2:33 GMT+02:00 Harald Christiansen haraldch...@gmail.com:
 Hello all,

 Here's my problem:

 In a PianoStaff, I want to add some notes symbols (e.g. a quarter note, a
 rest) in lyrics position, i.e. between the two staves and in sync with the
 notes.

 I am interested in just placing the glyphs, no pitch needed, like on an
 invisible percussion stave with just one line.

Why not use DrumStaff than? Make the StaffSymbol transparent or linecount = 0
Or use lyrics, we have the markup-commands \note/\rest

Cheers,
  Harm

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