Re: Guitar tablature fret selection problem

2008-06-08 Thread Torquil Macdonald Sørensen
On Sunday 08 June 2008 07:44:00 Marc Hohl wrote:
> Torquil Macdonald Sørensen schrieb:
> > Hello, I am having no luck trying to get lilypond to specify fret 12 on
> > the third string, for the first note in this example:
> >
> > \new TabStaff { g4\3 f\3 e\3 c\4 }
>
> You have to specify the octave position, either absolute:
>
> \new TabStaff { g'4\3 f'\3 e'\3 c'\4 }
>
> or simpler using \relative:
>
> \new TabStaff { \relative c'' { g4\3 f\3 e\3 c\4 }  }
>

Yes, that worked fine. Thanks Marc.

Torquil


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


setting max-stretch to a high value still leaves some space at the bottom

2008-06-08 Thread Reinhold Kainhofer
Can someone please explain to me how lilypond's vertical page layout works?
In particular, I'm writing a full score with one system per page, so I want 
that one system to exactly stretch to the full page. I'm doing this by 
setting max-stretch to some very high value. Unfortunately, there is always 
some space at the bottom left free on all pages except for the first one. On 
page 1, the system goes all the way to the margins, but leave some space 
between the title and the system, on all other pages, there is some space of 
9.46 left over. 

Attached is an example with annotated spacing. Notice how on page 1 there is 
no space left at the bottom, while on all other pages there is some free 
space at the botom and the system ends far above the position where it ends 
on page 1...
On all pages with more than one system, there is no space left at the bottom, 
which makes pages with one and with more systems look really ugly if that 
happens on subsequent pages.

So, how can I make my systems really take up all the available space on the 
page?

Cheers,
Reinhold

PS: PDF is too large for the mailing list, so here's the link:
http://www.fam.tuwien.ac.at/~reinhold/temp/stretching1.pdf

PS2: The additional free space of 9.46 at the bottom of pages with only one 
system exactly equals the sum of all "space after next-padding" on pages with 
multiple pages, so maybe that space is simply reserved for spacing systems, 
but someone missed the fact that on one-system pages that space should not be 
reserved as space...

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
\version "2.11.48"

#(set-default-paper-size "a5")
#(set-global-staff-size 15)
  
\layout {
  \context { \RemoveEmptyStaffContext  }
  \context { \Score
\override VerticalAlignment #'max-stretch = #10
  }
}

\header {
  title = "Der Titel"
  composer = "Komponist"
  subtitel = "Untertitel"
}

\paper {
%   page-limit-inter-system-space = ##t
%   page-limit-inter-system-space-factor = #1.1
  ragged-bottom=##f
  ragged-last-bottom=##f
  annotate-spacing = ##t
}
  
\score {
  \new StaffGroup <<
\new Staff { \repeat unfold 6 { g'4 g' g' g' \pageBreak} }
\new Staff { \repeat unfold 6 { g'4 g' g' g' \break } }
\new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*2 }
\new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*2 }
\new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*2 }
\new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*4 }
\new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*4 }
  >>
  \header { piece = "One system per page => 9.46 left at the bottom" }
}


\score {
  \new StaffGroup <<
\new Staff { \repeat unfold 16 { g'4 g' g' g' \break} }
\new Staff { \repeat unfold 16 { g'4 g' g' g' \break } }
\new Staff { \repeat unfold 14 { g'4 g' g' g' \break } s1*2 }
\new Staff { \repeat unfold 14 { g'4 g' g' g' \break } s1*2 }
\new Staff { \repeat unfold 4 { g'4 g' g' g' \break } s1*12 }
\new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*14 }
\new Staff { \repeat unfold 2 { g'4 g' g' g' \break } s1*14 }
  >>
  \header { piece = "Multiple systems per page => no space left at the bottom" }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Wish to specify staff length and note "justification"

2008-06-08 Thread Francisco Vila
I suggest you to include small chunks of staff with the desired notes
into columns of your ooo table, that way always will be aligned,
despite of whatever you want to put in the table.

Or, the staff has to be continuous?

2008/6/8 Adam Orris <[EMAIL PROTECTED]>:
> Hello,
>
> I want to align Lilypond notes to tabbed columns of text in OpenOffice,
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Question about inserting a bracket: snippet "Bracketed passages"

2008-06-08 Thread Till Rettig

Hi

a user on the German Lilypond-Forum would like to insert several 
brackets one after the other in his score, as indicated with the snippet 
"bracketed passages". But the use of the \breathe obviously prevents to 
be put more than one time without anything in between. Does anybody have 
a quick idea how to improve the snippet to allow multiple bracketed 
passages?


Greetings
Till


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


Re: constructing a jazz piece

2008-06-08 Thread bernie arai
On Wed, Apr 9, 2008 at 9:38 PM, Mats Bengtsson <[EMAIL PROTECTED]>
wrote:

>
> This can certainly be a good practice to separate out annotations or
> dynamics and such. This is one aspect of separating musical content from
> typesetting layout.


i'm happy to find a way to "globalize" rehearsal marks, double bar lines,
etc.  can anyone help me figure out why my /global block is creating a new
staff below my instrument staves each time?  i get the rehearsal marks above
everything, but there's an unwanted blank staff below each staff group with
the text markup on it

these are (hopefully) the pertinent snippets:

  global = {
   \time 5/4
   \set Score.markFormatter = #format-mark-box-letters
   \tempo 4=108

   s1^"Intro - open" s4 | s1 s4 |

   s4 \mark \default s1 |
   \repeat unfold 7 { s1 s4 } \bar "||"

   s4 \mark \default s1 |
   \repeat unfold 7 { s1 s4 } \bar "||"

   s4 \mark \default s1 |
   \repeat unfold 6 { s1 s4 } \bar "|."
 }

%% and then later on in the score block

 \score {
   <<
 \new StaffGroup = "horns" <<
 \global
   \new ChordNames = "trpchords" \transpose c d {\harmony}
   \new Staff = "trumpet" \trumpet
   \new ChordNames = "tenorchords" \transpose c d {\harmony}
   \new Staff = "tenorsaxone" \tenorsaxone
   \new ChordNames = "chords" \harmony
   \new Staff = "trbn" \trbn
 >>

 \new StaffGroup = "rhythm" <<
 \global
   \new ChordNames = "chords" \harmony
   \new PianoStaff = "piano" \piano
 >>
   >>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: constructing a jazz piece

2008-06-08 Thread Kieren MacMillan

Hi Bernie,

i'm happy to find a way to "globalize" rehearsal marks, double bar  
lines, etc.

can anyone help me figure out why my /global block is creating
a new staff below my instrument staves each time?


Your code adds the \global in its own (implicit) Staff:


 \new StaffGroup = "horns" <<
 \global
   \new ChordNames = "trpchords" \transpose c d {\harmony}


is the same as


 \new StaffGroup = "horns" <<
 \new Staff \global
   \new ChordNames = "trpchords" \transpose c d {\harmony}


You need to COMBINE the global stuff with some other staff's music --  
see the trumpet staff in the attached (modified) code.


Hope this helps!
Kieren.

%%
\version "2.11.47"
global =
{
\time 5/4   \set Score.markFormatter = #format-mark-box-letters
\tempo 4=108
s1^"Intro - open" s4 | s1 s4 |
s4 \mark \default s1 |
\repeat unfold 7 { s1 s4 } \bar "||"
s4 \mark \default s1 |
\repeat unfold 7 { s1 s4 } \bar "||"
s4 \mark \default s1 |
\repeat unfold 6 { s1 s4 } \bar "|."
}
harmony = { c'' }
trumpet = { c'' }
tenorsaxone = { c'' }
trbn = { c'' }
piano = { c'' }

%% and then later on in the score block

\score
{
<<
\new StaffGroup = "horns"
<<
\new ChordNames = "trpchords" \transpose c d { \harmony 
}
\new Staff = "trumpet" << \global \trumpet >>
\new ChordNames = "tenorchords" \transpose c d { 
\harmony }
\new Staff = "tenorsaxone" \tenorsaxone
\new ChordNames = "chords" \harmony
\new Staff = "trbn" \trbn
>>
\new StaffGroup = "rhythm"
<<
\new ChordNames = "chords" \harmony
\new PianoStaff = "piano"
<<
\new Staff = "rh" \piano
\new Staff = "lh" \piano
>>
>>
>>
}
%%


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


Re: setting max-stretch to a high value still leaves some space at the bottom

2008-06-08 Thread Nicolas Sceaux

Le 8 juin 08 à 16:21, Reinhold Kainhofer a écrit :

Can someone please explain to me how lilypond's vertical page layout  
works?
In particular, I'm writing a full score with one system per page, so  
I want

that one system to exactly stretch to the full page. I'm doing this by
setting max-stretch to some very high value. Unfortunately, there is  
always
some space at the bottom left free on all pages except for the first  
one. On
page 1, the system goes all the way to the margins, but leave some  
space
between the title and the system, on all other pages, there is some  
space of

9.46 left over.


Note that I'm not sure at all of what follows:
The vertical spacing algorithm does not use all the space left when
stretching systems, but let some part unoccupied, in case some heights
were underestimated (and thus avoiding overful hbox), streching being
based on extent estimations. This "security" amount is hard coded.



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


Re: double notes in stemless notation?

2008-06-08 Thread Mats Bengtsson

If you show how you combine these two lines of music
in the same stave, it's easier to provide a relevant
answer.

  /Mats

Ivo Bouwmans wrote:


Hallo all,

I am writing four-part choral music in a stemless notation on two 
staves. Here's a brief example:


notesOne = {
\relative {
  \override Stem #'transparent = ##t
  gis'2 a4 b e,
}}
notesTwo = {
\relative {
  \override Stem #'transparent = ##t
  e2 e4 dis e
}}

When the voices have the same note - like the final e in the example 
above -, only one note head is shown (as expected). Is there a way to 
let LP still write two notes, close to each other (like in the case of 
two whole notes coinciding)?


Thanks for any suggestion!




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Place to write piano dynamics

2008-06-08 Thread Michael Pozhidaev
Hello, everybody!

It is my first posting to this list. I am blind programmer from Russia
and music takes a very important part in my life. Lilypond is just brilliant 
software 
for me. Now I can make my own music publications by myself. Great thanks 
to everybody, who made it possible!

There is one thing I cannot understand . In many examples 
notes are not written in "\new Staff" block directly,
but placed in something like 
 upper = \relative c'' {
   \clef treble
   \key c \major
   \time 4/4
   a4 b c d  
 }

What is the advantage of such approach? I am asking,
because in "Piano centered dynamics" example melody and dynamics are written 
separately.
In long composition it can be difficult to
think about a correct place for dynamics.

Are there problems to write melody and dynamics together? And why using special 
blocks 
for melody in most cases is more convenient?

Thanks!
-- 
With best wishes, Michael Pozhidaev.
Tomsk state university, computer science department.
ALTLinux Team.



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


incorrect beams in 16th quintuplet

2008-06-08 Thread luis jure

hello list,

sorry, i guess this must be in the docs somewhere, perhaps it has been
discussed in the list before, but i can't really find a solution...

when writing irregular 16th-note quintuplets (one 8th-note and three
16ths) i get incorrect beaming groups, depending where the 8th note is
placed

the first two tuplets (bar 1) are correct, but their mirrors (bar 2)
have their beams wrong (see attached image). here's the very simple
code:


\version "2.11.42"

\relative c'
{ 
\times 4/5 { f8 f16 f16 f16 } r4
\times 4/5 { f16 f8 f16 f16 } r4
\times 4/5 { f16 f16 f8 f16 } r4
\times 4/5 { f16 f16 f16 f8 } r4

}

\layout{ragged-right=##t}


thanks,

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


Re: incorrect beams in 16th quintuplet

2008-06-08 Thread James E. Bailey

You might take a look at 
http://lists.gnu.org/archive/html/lilypond-user/2008-05/msg00481.html


Am 09.06.2008 um 04:24 schrieb luis jure:



hello list,

sorry, i guess this must be in the docs somewhere, perhaps it has been
discussed in the list before, but i can't really find a solution...

when writing irregular 16th-note quintuplets (one 8th-note and three
16ths) i get incorrect beaming groups, depending where the 8th note is
placed

the first two tuplets (bar 1) are correct, but their mirrors (bar 2)
have their beams wrong (see attached image). here's the very simple
code:


\version "2.11.42"

\relative c'
{
\times 4/5 { f8 f16 f16 f16 } r4
\times 4/5 { f16 f8 f16 f16 } r4
\times 4/5 { f16 f16 f8 f16 } r4
\times 4/5 { f16 f16 f16 f8 } r4

}

\layout{ragged-right=##t}


thanks,

lj
___
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


Re: incorrect beams in 16th quintuplet

2008-06-08 Thread Jonathan Kulp
This post from the archive solves the problem in Luis' third line of 
code, but not the fourth.  I've been fiddling with this for the last 
half hour and can't make the fourth line beam the 16th notes as a single 
group and still connect with the 8th note.  Weird.


Jon

James E. Bailey wrote:
You might take a look at 
http://lists.gnu.org/archive/html/lilypond-user/2008-05/msg00481.html



Am 09.06.2008 um 04:24 schrieb luis jure:



hello list,

sorry, i guess this must be in the docs somewhere, perhaps it has been
discussed in the list before, but i can't really find a solution...

when writing irregular 16th-note quintuplets (one 8th-note and three
16ths) i get incorrect beaming groups, depending where the 8th note is
placed

the first two tuplets (bar 1) are correct, but their mirrors (bar 2)
have their beams wrong (see attached image). here's the very simple
code:


\version "2.11.42"

\relative c'
{
\times 4/5 { f8 f16 f16 f16 } r4
\times 4/5 { f16 f8 f16 f16 } r4
\times 4/5 { f16 f16 f8 f16 } r4
\times 4/5 { f16 f16 f16 f8 } r4

}

\layout{ragged-right=##t}


thanks,

lj
___
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



--
Jonathan Kulp
http://www.jonathankulp.com


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


different rehearsal mark settings in score and part

2008-06-08 Thread hhpmusic
Hi,
  I'm now working on a extreme serious piece, the suite about the earthquake. 
So I want my score to be very formal.
  I don't know how the remove empty staff function works. I added rehearsal 
marks only above piccolo and violin I parts, but I don't know whether the marks 
will let the parts appear during their silence. If no, the rehearsal marks will 
disappear from my score. I ever read the score of The Rite Of Sprin in braille. 
The transcribe's note said that the rehearsal marks are above the top of the 
score and also the topmost string part. If the marks disappear, how to add 
marks to other staves? If the \mark command hasn't appear in a part before, 
will the rehearsal number be correct when writing on them when they become the 
topmost score and string staves?
  To make things clear (I can't express this very clearly in English), here's 
the thing I want:
\version 2.11.47"
pic = \relative c'' { R1*10 \mark \default | R1*20 %{ should I add a \mark 
\default even though it will not appear? %} | }
fl = \relative c'' { R1*10 | c1 \mark \default %{ can it be [2]? %} | \repeat 
unfold 19 { c1 } | }
cl = { R1*30 | }
..
vI = \relative c' { c1 \mark \default | R1*29 | }
vII = \relative c' { c1 | R1*29 | }
vl = \relative c' { R1*10 | c1 \mark \default | c1 | R1*18 | }
..
  I also created a "marks" variable containing all rehearsal marks, and will 
use it for printing parts:
marks = { s1*10 \mark \default | s1*20 \mark \default | }
  Will the marks of this line mess up the irregular marks I wrote for producing 
full score? And, if I wrote c1 \mark \default | R1*29, will the second mark 
appear in bar 11 (part version)? Must I split rests into R1*9 | R1*20?
  In full score, I also don't know when the line breaks, so if I add marks in 
other lines before break, it will cause visual mistake. Can I use the Dynamic 
context as in piano score with marks (and therefore not write marks at other 
places) and then place it before piccolo and violin I? Will it disappear when 
the below staff is empty? Must I create a alias staff context instead?
  Sorry for troubling you so much, because I can't check these myself!
Sincerely
Haipeng
 
 
 
 ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorrect beams in 16th quintuplet

2008-06-08 Thread Joe Neeman
On Sun, 2008-06-08 at 23:24 -0300, luis jure wrote:
> hello list,
> 
> sorry, i guess this must be in the docs somewhere, perhaps it has been
> discussed in the list before, but i can't really find a solution...
> 
> when writing irregular 16th-note quintuplets (one 8th-note and three
> 16ths) i get incorrect beaming groups, depending where the 8th note is
> placed

This is a bug that has been fixed in git. Please try 2.11.49 when it is
released.

Joe



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