Re: parenthesize groups of notes

2011-05-07 Thread Janek Warchoł
Hi,

please reply not only to me, but also to the whole lilypond-user
mailing list (add lilypond-user@gnu.org in CC:). This way everyone can
participate in solving your problem, and other people may benefit from
the solution :)

2011/5/8 Jerome Wolbert :
> \version "2.12.2"
> #(set-global-staff-size 10)
> \score { {
> % \override outside-staff-priority =
> ##f   %  I tried it here first...

That couldn't have worked, because you didn't specify what object do
you want to apply this override to.

> \clef treble
> \key d \major
> \cadenzaOn
>  a'4 b' b'' a'' g'
> \once \override TextScript #'outside-staff-priority = #f

Almost correct! You missed one hash - it should be ##f.

Strangely, \translate doesn't want to work properly here. Fortunately
you can use offsets:

{
\once \override TextScript #'outside-staff-priority = ##f
\once \override TextScript #'X-offset = #'-0.7
\once \override TextScript #'Y-offset = #'-1.7
g'^"("
}
(of course these values must be found by trial and error).

Hope this helps,
Janek

PS i suggest that you make your code examples smaller. For example
this would be easier to deal with (and harder to make a mistake):

\version "2.12.2"
{
% \override outside-staff-priority = ##f   %  I tried it here first...
\once \override TextScript #'outside-staff-priority = #f % this
was my second try...
g'^\markup { \translate #'(-1 . -7) { "(" } }
}

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


Re: footnotes?

2011-05-07 Thread Janek Warchoł
2011/5/7 m...@apollinemike.com :
> On May 7, 2011, at 7:07 AM, luis jure wrote:
>
>>
>> on 2011-05-06 at 13:02 m...@apollinemike.com wrote:
>>
>>> Yup.
>>
>> wow, that's great! i had no idea footnotes had been introduced in lilypond.
>
> They snuck in when none of us were looking.

especially you, Mike ;)

cheers,
Janek

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


Re: parenthesize groups of notes

2011-05-07 Thread Janek Warchoł
2011/5/7 Jerome Wolbert :
> I am using lilypond 2.12.2
>
> I see how easy it is to parenthesize one note at a time using
> \parenthesize 
>
> I tried to parenthesize a whole group of notes by enclosing them in braces,
> as:
> \parenthesize { a b c }
> but no parentheses appear.
>
> Is it possible to create something like
> ()
> in lilypond?

It certainly is possible, but may not be as straightforward as we
would like it to be.
You can add parentheses indiviadually (as a markup) and move them to
appropriate places.
Just off the top of my head, i suppose that it might be useful to set
outside-staff-priority to ##f and play with markup aligning in order
to do this in a quite elegant way.

Hope this helps,
Janek

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


Re: Duration comparison and swinging MIDI output

2011-05-07 Thread Janek Warchoł
2011/5/6 Christopher R. Maden :
> The attached file is good enough for me.
>
> It includes (duration-equals?) which may be of general interest.
>
> It also includes the \sw function, which, given a sequence, returns two
> tagged sequences:
>
>  \sw {
>    \relative c' {
>      a'4 a8 b a fs e d |
>    }
>  }
>
> becomes
>
>  {
>     \tag #'layout {
>       \relative c' {
>         a'4 a8 b a fs e d |
>       }
>     }
>     \tag #'midi {
>       \relative c' {
>         a'4
>         \times 2/3 a4 \times 2/3 b8
>         \times 2/3 a4 \times 2/3 fs8
>         \times 2/3 e4 \times 2/3 d8 |
>       }
>     }
>  }
>
> It can then be used with
>
>  \keepWithTag #'layout \theTune
>  \keepWithTag #'midi \theTune

Nice, thanks for sharing!
Have you considered adding it to LSR?

cheers,
Janek

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


Re: \tie and polifonie

2011-05-07 Thread Janek Warchoł
Hi,

2011/5/4 Mario Moles 
>
> In this file the function \tie don't work:
>
> \version "2.13.61"
>
> \paper { c#(set-paper-size "a4" ) }
>
> global = { \key c \major \time 4/4 }
>
> classicalGuitar = \relative c' {
>
> \global
>
> % Qui segue la musica.
>
> <<{b2\rest g'8 a c4~}\\{s2 8[ ] ~}>>|

The ties don't work because the expressions above don't have equal
lengths. In other words,
{b2\rest g'8 a c4~}
is 8 quavers long, while
{s2 8[ ] ~}
is 7 quavers long.
Therefore, when you combine them using << \\ >>, you get something
strange in result - essentially, there is a hole in lower voice music.
That's why LilyPond doesn't know what to do with ties that appear
there.

I strongly recommend that you follow Marc's suggestion of writing
these two voices separately, especially because it will correspond to
the logical structure of the music.

You can read more about voices here:
http://lilypond.org/doc/v2.13/Documentation/notation/multiple-voices
Don't hesitate to ask when you have any doubts.

Hope this helps,
Janek

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


parenthesize groups of notes

2011-05-07 Thread Jerome Wolbert
I am using lilypond 2.12.2

I see how easy it is to parenthesize one note at a time using
\parenthesize 

I tried to parenthesize a whole group of notes by enclosing them in braces, as:
\parenthesize { a b c }
but no parentheses appear.

Is it possible to create something like
() 
in lilypond?

Thank you!

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


Re: quoteDuring or cueDuring forward reference

2011-05-07 Thread Paul Scott

On 05/07/2011 10:50 AM, Keith OHara wrote:

Paul Scott  ultrasw.com>  writes:

If the
music is in score order it's easy to quote or cue a flute part in the
bassoon part but how can I quote or cue the bassoon part in the flute part?


You may use \cueDuring #"bassoon" in the flute part, even if it is defined
*before* \addQuote "bassoon" \bassoon.


Thanks!,

Paul


I'll suggest a change to the example in the manual :

flute = \relative c'' {
   r2. c4 | d8 c d e fis2
   \tag #'part {
 s1*0_\markup { \tiny "bassoon 8vb" }
   }
   \transposedCueDuring #"bassoon" #DOWN c'' { g2 d2 }
}
bassoon = \relative c {
   \clef bass
   R1
   \tag #'part {
 \clef treble
 s1*0^\markup { \tiny "flute" }
   }
   \cueDuring #"flute" #UP { R1 }
   \tag #'part \clef bass
   g4. b8 d2
}
\addQuote "flute" { \flute }
\addQuote "bassoon" { \bassoon }

\new Staff \with { instrumentName = "Flute" } \flute
\new Staff \with { instrumentName = "Bassoon" } \bassoon

\new StaffGroup<<
   \new Staff \removeWithTag #'part { \killCues { \flute } }
   \new Staff \removeWithTag #'part { \killCues { \bassoon } }
%{%}>>



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




--
Paul Scott
Librarian
Southern Arizona Symphony Orchestra



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


Re: quoteDuring or cueDuring forward reference

2011-05-07 Thread Keith OHara
Paul Scott  ultrasw.com> writes:
> If the 
> music is in score order it's easy to quote or cue a flute part in the 
> bassoon part but how can I quote or cue the bassoon part in the flute part?
> 
You may use \cueDuring #"bassoon" in the flute part, even if it is defined 
*before* \addQuote "bassoon" \bassoon.

I'll suggest a change to the example in the manual :

flute = \relative c'' {
  r2. c4 | d8 c d e fis2 
  \tag #'part {
s1*0_\markup { \tiny "bassoon 8vb" }
  }
  \transposedCueDuring #"bassoon" #DOWN c'' { g2 d2 }
}
bassoon = \relative c {
  \clef bass
  R1
  \tag #'part {
\clef treble 
s1*0^\markup { \tiny "flute" }
  }
  \cueDuring #"flute" #UP { R1 }
  \tag #'part \clef bass
  g4. b8 d2
}
\addQuote "flute" { \flute }
\addQuote "bassoon" { \bassoon }

\new Staff \with { instrumentName = "Flute" } \flute
\new Staff \with { instrumentName = "Bassoon" } \bassoon

\new StaffGroup <<
  \new Staff \removeWithTag #'part { \killCues { \flute } }
  \new Staff \removeWithTag #'part { \killCues { \bassoon } }
%{%}>>



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


undesired figured bass stretching

2011-05-07 Thread Nicolas Sceaux
Hi,

When forcing the staves spacing using
  \overrideProperty #"Score.NonMusicalPaperColumn"
  #'line-break-system-details = #'((alignment-distances . (...)))
figured bass digits are stretched, whereas they shall be tightly stacked.

I can't find how to avoid this strange behavior.  Is there a way?

Here is a minimal example:

\score {
 <<
   \new Staff {
 \overrideProperty #"Score.NonMusicalPaperColumn"
 #'line-break-system-details #'((alignment-distances . (15)))
 c'4
   }
   \new Staff <<
 { d'4 }
 \figures { <6 4>4 } >> >>
}

<>

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


Re: footnotes?

2011-05-07 Thread m...@apollinemike.com
On May 7, 2011, at 7:07 AM, luis jure wrote:

> 
> on 2011-05-06 at 13:02 m...@apollinemike.com wrote:
> 
>> Yup.
> 
> wow, that's great! i had no idea footnotes had been introduced in lilypond.

They snuck in when none of us were looking.

> 
>> you'll see some files that'll give you a sense of how to use them.
> 
> yes, sort of...
> 
> i found that this can be very useful:
> 
> \override FootnoteItem #'annotation-line = ##f
> 
> if you don't want the line connecting the footnote.
> 

Yup!  If you don't like the annotations right on the grobs and would rather 
have them overhead, this allows you to do :

\override FootnoteItem #'annotation-line = ##f
\footnoteGrob #'NoteHead #'(0 . 0) \markup { } \markup { \super * foo } a4^"*"

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


Re: footnotes?

2011-05-07 Thread luis jure

on 2011-05-06 at 13:02 m...@apollinemike.com wrote:

>Yup.

wow, that's great! i had no idea footnotes had been introduced in lilypond.

> you'll see some files that'll give you a sense of how to use them.

yes, sort of...

i found that this can be very useful:

\override FootnoteItem #'annotation-line = ##f

if you don't want the line connecting the footnote.




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


Re: Stem length on beamed notes incorrect in 2.13.61

2011-05-07 Thread m...@apollinemike.com
On May 7, 2011, at 1:49 AM, Nick Payne wrote:

> A bar excerpted from the Mertz guitar transcription of Ständchen. When I last 
> worked on this score about ten months ago, using 2.13.27, I didn't have the 
> problem with the beam on the notes in the middle voice being placed below the 
> stem of the note in the lower voice - the beam was placed along the bottom 
> line of the stave - see 2.13.27.png, a screen shot from the PDF I made at the 
> time:
> 
> \version "2.13.61"
> 
> \relative c'' {
>\time 3/4
> <<
>{ cis'2. }
>\\
>{ a,,2. }
>\\
>{ \stemDown a''8 e  e  e }
> >>
> }
> 
> Nick

Hang tight - the current git has this problem fixed, and it'll be fixed in the 
next version of LilyPond available on the website.

Cheers,
MS


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


Re: Repeat alternative includes a tempo change

2011-05-07 Thread Ken Smith
Mike:

Thank you very much for your helpful advice.  My problem is really how to code 
the final verse of my four-verse 'learning' melody.  I've diagrammed below how 
I think I'll have to code the melody, but I'm wondering if there's a different, 
less complicated, way to go about doing it.

\melody
%%  ( for verses 1, 2, 3 only )
stanza1, stanza 2
\repeat volta 3
{  stanza 3, stanza 4  }

%% ( then continue notation for final verse 4 )
stanza 1, stanza 2%%  (first two stanzas of verse 4 are played at same 
tempo as  for verses 1, 2, 3 )
\repeat volta
{   \markup tempo = "slower, sadly"
stanza 3, stanza 4
}
\alternative%%  ( use for the octave upbeat on final note of melody )
{ d'2~d2\fermata }
\bar " || "

In other words, it seems to me that I'll have to code a volta for three verses, 
then another volta for the fourth verse, with an alternate ending for the last 
notes of the final stanza.
Thank you again for taking the time to help me.

Very best regards,

Ken


  - Original Message - 
  From: m...@apollinemike.com 
  To: Ken Smith 
  Cc: lilypond-user@gnu.org 
  Sent: Friday, May 06, 2011 1:11 AM
  Subject: Re: Repeat alternative includes a tempo change


  On May 5, 2011, at 9:08 PM, Ken Smith wrote:


I'm new to LilyPond (v2.12.3) and to music notation in general, so I'm just 
a tad beyond the starting point on LilyPond's learning curve.  I'm scratching 
my head now as to how to write the repeats in my learning testfile, 
"Podmoskovnye Vechera", (Moscow Nights).  The melody has four verses, each 
verse has two couplets (i.e., four stanzas per verse), with the second couplet 
repeated in each of the four verses.  The repeats for the first three verses 
are identical, but the repeat for the final verse includes a tempo change 
(slower, sadly) with an octave upbeat at the end.  I'm only coding the melody 
line for now; here's the code I've been using (time = 2/4):

\bar "|:"
\repeat volta 4%% notation shows repeat for verses 1, 
2, 3, only
{
b4 cis4
e8 d8 a4~a8
e4 d8 \mbreak%% \mbreak defined in my  '%% Definitions' 
block
a'8. g16 bes4~bes4
c8 bes8
a4 g8 f8
}
\alternative%% notation shows repeat for verse 4
{
{a4 g8 f8 d2 }
{ d'2~d2\fermata }
}
\bar "||"

To get it right (volta showing verses 1 - 4, alternative showing verse 4 
only) will I need to code the final couplet of verse 4 into \alternative?  Or 
is there a better, more professional way to do it?



  Generally, alternative endings start on the first full measure during which a 
repeated section diverges.  It sounds like the solution would be to back the 
beginning of the alternative up one measure so that the changed upbeat can be 
part of the alternative.


  Cheers,
  MS___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: barAlways, slurs (melisma)

2011-05-07 Thread Laura Conrad
> "Germain" == Germain G Ivanoff-Trinadtzaty  writes:


Germain> Besides this, placing automatic invisible bars in all
Germain> *relevant* places (for automatic line breaks, in different
Germain> layouts) is typically a kind of computer task ! By the way,
Germain> what was "barAlways" meant for ?  

I assume so that you could have line breaks anywhere instead of only at
the end of a "measure".  I've always used it in conjunction with a
default bar type of "empty" or "".

I more often do that by removing the Forbid_line_break_engraver.  I do
wish that were a bit more intelligent -- even when I don't mind line
breaking in the middle of a "bar" (I usually typeset Renaissance music
where the composers weren't thinking in measures), I don't usually want
it between a dotted note and the next note.  I've been working around
this lack of feature by inserting \noBreak when lily puts a break in an
inconvenient place.  

One of my current projects is a set of ricercadas on a bassline in
breves, where breaking only at breves wouldn't produce very good output,
but there are lots of places where it's inconvenient to break the melody
line, so those melody lines have a *lot* of \noBreak's in them.

-- 
Laura   (mailto:lcon...@laymusic.org, twitter: @serpentplayer)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
http://www.laymusic.org/ http://www.serpentpublications.org

I have only one superstition. I touch all the bases when I hit a home
run.

Babe Ruth


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


quoteDuring or cueDuring forward reference

2011-05-07 Thread Paul Scott

Hi,

How do I do a forward reference with cueDuring or QuoteDuring?  If the 
music is in score order it's easy to quote or cue a flute part in the 
bassoon part but how can I quote or cue the bassoon part in the flute part?


Thanks for any help with this,

Paul Scott




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


Re: window 7 -64 bit

2011-05-07 Thread Phil Holmes
I don't believe there's any problem with 64 bit installs - I use 64 bit vista 
without a problem.  However, there does appear to be a problem with font 
handling if using SP1 on Windows 7:

http://code.google.com/p/lilypond/issues/detail?id=1562

--
Phil Holmes


  - Original Message - 
  From: MING TSANG 
  To: Marc Hohl 
  Cc: lilypond-user-requ...@gnu.org ; lilypond-user@gnu.org 
  Sent: Saturday, May 07, 2011 3:14 AM
  Subject: Re: window 7 -64 bit


  Thank you.  I am contemplating upgrade to window 7 64-bit computer.




--
  From: Marc Hohl 
  To: MING TSANG 
  Cc: lilypond-user@gnu.org; lilypond-user-requ...@gnu.org
  Sent: Fri, May 6, 2011 4:19:39 PM
  Subject: Re: window 7 -64 bit

  Am 06.05.2011 20:10, schrieb MING TSANG:
  > Question:  Does Lilypond run on window 7 64-bits hardware?
  I installed it succesfully on my win 7 laptop (but I don't use windows 
  very often ;-)

  HTH,

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


Stem length on beamed notes incorrect in 2.13.61

2011-05-07 Thread Nick Payne
A bar excerpted from the Mertz guitar transcription of Ständchen. When I 
last worked on this score about ten months ago, using 2.13.27, I didn't 
have the problem with the beam on the notes in the middle voice being 
placed below the stem of the note in the lower voice - the beam was 
placed along the bottom line of the stave - see 2.13.27.png, a screen 
shot from the PDF I made at the time:


\version "2.13.61"

\relative c'' {
\time 3/4
<<
{ cis'2. }
\\
{ a,,2. }
\\
{ \stemDown a''8 e  e  e }
>>
}

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


enhancement request: reset header items when starting new scores

2011-05-07 Thread -Eluze

imo there is something like a natural relation between titles, subtitles,
subsubtitles, pieces, composer and many more header items.

therefore i think a subtitle should be automatically reset whenever a title
is defined in a new score or even when a new score is started. up to now you
have to do this manually.

of course this needs a deepened analysis - what would be the behaviour when
a booklet with only one composer is written? should a tagline be changed
too?

thanks
Eluze
-- 
View this message in context: 
http://old.nabble.com/enhancement-request%3A-reset-header-items-when-starting-new-scores-tp31564575p31564575.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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