Re: Renaissance lute and tab

2011-07-30 Thread Mario Moles
In data lunedì 25 luglio 2011 00:36:20, hai scritto:
> Ah, so this works:
> 
> \new TabStaff {
>  \set TabStaff.stringTunings = #`(   ,(ly:make-pitch 0 0 1/2)
>  ,(ly:make-pitch 0 3 1/4)
>  ,(ly:make-pitch 0 5 -1/2))
>  cis' fih' as'
> }
> 
Good! Thanks, i dont know if it is a bug or not but with the fraction it work 
and that is enough for me!
Thank you so match.

-- 
oiram/bin/selom
MkarlM-HomePage 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Shaping slurs --- both broken and unbroken

2011-07-30 Thread Janek Warchoł
2011/7/23 Trevor Daniels :
> Janek
>
> I agree this could be a useful addition to the LilyPond distribution
> and the docs (both at the same time, preferably).  Broken slurs in
> particular are often poor by default and messing with the control
> points manually is difficult.  So, yes, please add a tracker issue for
> a suggested enhancement.

Added as issue 1775.


2011/7/24 David Nalesnik :
> Just thought I'd let you know that Dmytro's function as given on the earlier
> thread incorporates an older version of my slur-shaping function.  I've
> modified it since, and this newer version appears on the LSR in the same
> spot.  (It can now be easily adapted to work with grobs having fewer than 8
> control-points -- TupletBracket, for example -- without changing the loop.)
>  In the attached file, I've incorporated the rewrite in Dmytro's function.

Thanks!  Looks nicer!

cheers,
Janek

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


lyrics between staves & repeats

2011-07-30 Thread ehzone
I'm trying to typeset music and lyrics but I'm having troubles and I
don't know what to try next.  At one point in the piece a few measures
are repeated but with different lyrics.  I have managed to get the
first set of lyrics to print between the staves but the second set of
lyrics appears under both staves.  I want both sets of lyrics between
the staves.  I've tried to typeset it but can't get the 2nd verse to
appear between the staves.   What I tried is attached below (I
stripped away everything that I think is irrelevant but it's still
pretty long).

regards,
Eh.

\version "2.12.3"

global = {
\key c \major
\time 4/4
}

\parallelMusic #'( voiceA voiceB ) {
  a4 a a a   b b b b |
  a1 b1  |
  \repeat volta 2 {c4 c c c}   d d d d |
  c1 d1  |

}

% technique suggested in notation reference, 'ref
words = \lyricmode {
 eh eh eh eh | bee bee bee bee |
 << { sea sea sea sea }
\new Lyrics
{ mi  mi  mi  mi }
 >> | d d d d
}

\paper {
  #(set-paper-size "letter")
}

\score {
  % create a new piano staff that accepts lyrics between the two staves
  \new PianoStaff \with { \accepts "Lyrics" }
  <<
%  define the upper, or treble, staff
\new Staff = upper
{  \global
   % the voice will be created explicitly in order to map the lyrics
   \new Voice="first"  { \voiceOne \relative c'' \voiceA}
}
% attach the lyrics to the the voice named "first"
\new Lyrics \lyricsto "first" \words

% create the lower, or bass, staff
\new Staff = lower
{
   \global \clef bass
   % implicitly create the voices since nothing special has
   % to be done with them
   \relative c  \voiceB
}
  >>

  \layout { }
}

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


Arpeggios from chordmode?

2011-07-30 Thread Basso Ridiculoso
Hello all,

I am trying to generate some exercise files and I realized all I need is a
way to make chordmode render those chord names as arpeggios, instead of
vertical chords. Not in the classical notation, in otherwords, not the kind
showing the playing of notes simultaneously with the arpeggio symbol, but
returning the notes without them being grouped vertically and simultaneous.

Is there as simple way to get chord mode to return:

c4 e g

instead of

4

I realize that this feature is called "chordmode" for a reason :) But this
ability to get back the arpeggios of a chord progression would be
exceedingly helpful for improvisational charts.

Then one could enter in

harmonies = d:min7 g7 c:maj7

and get back

d4 f a c
g b d f
c e g b

I am not brave enough to modify any built in .ly files that Lilypond depends
on..(yet).

Just checking to see if anyone else has already solved this one yet!

Thanks for any help.

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


Re: lyrics between staves & repeats

2011-07-30 Thread Xavier Scheuer
On 30 July 2011 20:59, ehzone  wrote:
>
> I'm trying to typeset music and lyrics but I'm having troubles and I
> don't know what to try next.  At one point in the piece a few measures
> are repeated but with different lyrics.  I have managed to get the
> first set of lyrics to print between the staves but the second set of
> lyrics appears under both staves.  I want both sets of lyrics between
> the staves.  I've tried to typeset it but can't get the 2nd verse to
> appear between the staves.   What I tried is attached below (I
> stripped away everything that I think is irrelevant but it's still
> pretty long).

I would suggest to name your first Lyrics context and then use
"alignBelowContext" for your second lyrics.
Also in your current code you do not align your second lyrics on the
melody and in consequence each syllable is spaced (and always will)
every quarter note.  You can align it on the melody by using \lyricsto
like for your first Lyrics context.

 Snippet

\version "2.12.3"

global = {
   \key c \major
   \time 4/4
}

\parallelMusic #'( voiceA voiceB ) {
 a4 a a a   b b b b |
 a1 b1  |
 \repeat volta 2 {c4 c c c}   d d d d |
 c1 d1  |

}

% technique suggested in notation reference, 'ref
words = \lyricmode {
 eh eh eh eh | bee bee bee bee |
 << { sea sea sea sea }
   \new Lyrics = "lyricsSecond" \with {
 % XS: use alignBelowContext,
 % do not forget to name your first Lyrics context
 alignBelowContext = "lyricsFirst"
   }  % to align on the melody, use \lyricsto
   % \lyricsto "first"
   { mi  mi  mi  mi }
 >> | d d d d
}

\paper {
 #(set-paper-size "letter")
}

\score {
 % create a new piano staff that accepts lyrics between the two staves
 \new PianoStaff \with { \accepts "Lyrics" }
 <<
   %  define the upper, or treble, staff
   \new Staff = upper
   {  \global
  % the voice will be created explicitly in order to map the lyrics
  \new Voice="first"  { \voiceOne \relative c'' \voiceA}
   }
   % attach the lyrics to the the voice named "first"
   % XS: name your first Lyrics context
   \new Lyrics = "lyricsFirst" \lyricsto "first" \words

   % create the lower, or bass, staff
   \new Staff = lower
   {
  \global \clef bass
  % implicitly create the voices since nothing special has
  % to be done with them
  \relative c  \voiceB
   }
 >>

 \layout { }
}



Cheers,
Xavier

-- 
Xavier Scheuer 

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


More vertical spacing confusion

2011-07-30 Thread Adam Spiers
Hi all,

I have a piece of music which should easily fit on one page, and
indeed does until I change the paper size from A4 to US Letter, at
which point the final system spills over onto a second page.  The
source and resulting PDF are here:

  http://adamspiers.org/music/lilypond/

I am using a fresh build of the main git development branch.
(Apologies for not being to include a concise test case, but obviously
the spacing issue is a symptom of stacking chords and a RhythmicStaff
on top of a normal Staff.)

After enabling spacing annotation, I trawled the documentation e.g.

  http://lilypond.org/doc/v2.15/Documentation/notation/displaying-spacing

and list archives for an explanation of the various annotated lines,
but came up short.  I see I am not the first to be a bit confused
about how all the vertical spacing variables and algorithms work, e.g.

  http://article.gmane.org/gmane.comp.gnu.lilypond.devel/31049/

So I have several questions:

  - Is the behaviour I am experiencing (a system spilling over onto a
second page) correct or a bug?  If correct, what's the best way to
avoid the spillage?

  - Why does each system in my PDF (URL above) have a double-ended
grey arrow line which stretches well above the highest part of the
system and sometimes below it too?  What does this line mean?

  - Why is there a gap in between the bottom end of one of these
per-system arrows and the top end of the next?

  - What does the extent-estimate line refer to?

  - How do the skylines relate to / impact vertical spacing?

  - Are skylines, debugging thereof, and springs documented anywhere?
I could only find mentions in the mailing list archives.  I see
there was an effort to improve documentation in this area, e.g.

  http://thread.gmane.org/gmane.comp.gnu.lilypond.devel/31117/
  http://codereview.appspot.com/2316042/

but I'm still struggling to find anything which explains them in a
way I can understand without having to read source code.

Many thanks!
Adam

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


Re: lyrics between staves & repeats

2011-07-30 Thread ehzone
On Sat, Jul 30, 2011 at 6:14 PM, Xavier Scheuer  wrote:
> On 30 July 2011 20:59, ehzone  wrote:
<>
>
> I would suggest to name your first Lyrics context and then use
> "alignBelowContext" for your second lyrics.
> Also in your current code you do not align your second lyrics on the
> melody and in consequence each syllable is spaced (and always will)
> every quarter note.  You can align it on the melody by using \lyricsto
> like for your first Lyrics context.
>

Xavier, let me first say thank you for the response.

When I process this file with lilypond, I do get the lyrics between
the staves and you are correct that the lyrics aren't aligned to the
music.
When I attempt to align the lyrics to the music by uncommenting the
\lyricsto "first" line as you suggest then the 2nd verse of lyrics
does align but it does so starting at the second quarter note of the
measure and not the first; the lyrics are off by one quarter note.
The exact code I used is posted below.  How do I get lilypond to align
the 2nd verse starting on the first note of the measure?

%  snip
\version "2.12.3"

global = {
  \key c \major
  \time 4/4
}

\parallelMusic #'( voiceA voiceB ) {
 a4 a a a   b b b b |
 a1         b1      |
 \repeat volta 2 {c4 c c c}   d d d d |
 c1         d1      |
}

% technique suggested in notation reference, 'ref
words = \lyricmode {
 eh eh eh eh | bee bee bee bee |
 << { sea sea sea sea }
  \new Lyrics = "lyricsSecond" \with {
    % as suggested by XS
    alignBelowContext = "lyricsFirst"
  }
  % as suggested by XS to align on the melody, use \lyricsto
  \lyricsto "first" { mi  mi  mi  mi }
 >> | d d d d
}

\paper {
 #(set-paper-size "letter")
}

\score {
 % create a new piano staff that accepts lyrics between the two staves
 \new PianoStaff \with { \accepts "Lyrics" }
 <<
  %  define the upper, or treble, staff
  \new Staff = upper
      {  \global
         % the voice will be created explicitly in order to map the lyrics
         \new Voice="first"  { \voiceOne \relative c'' \voiceA}
      }
  % attach the lyrics to the the voice named "first"
  % XS: name your first Lyrics context
  \new Lyrics = "lyricsFirst" \lyricsto "first" \words

  % create the lower, or bass, staff
  \new Staff = lower
      {
         \global \clef bass
         % implicitly create the voices since nothing special has
         % to be done with them
         \relative c  \voiceB
      }
 >>

 \layout { }
}

% --- end snip -

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


Re: More vertical spacing confusion

2011-07-30 Thread Keith OHara
Adam Spiers  adamspiers.org> writes:

> 
> I have a piece of music which should easily fit on one page, and
> indeed does until I change the paper size from A4 to US Letter, at
> which point the final system spills over onto a second page. 

You can 
\paper { 
 system-system-spacing #'basic-distance = 8 % default was 12
 page-count = #1

The first line because the way you use the rhythmic staff as the first staff 
you don't want that much distance to the system above.

The second line because Lilypond still doesn't break pages properly, so just
help her.


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