Re: choosing frets for harmonics

2010-09-17 Thread Patrick Schmidt

Hi Steve,
Am 17.09.2010 um 08:37 schrieb Steve Yegge:

For a 5th harmonic, the TabStaff automatically chooses the 19th  
fret rather than the 7th fret.  For instance:


music = {
  <<
\relative c' { \harmonicsOn b'1\6 \harmonicsOff }
  >>
}
\score {
  <<
\new Staff { \music }
\new TabStaff { \transpose c c, { \music } }
  >>
}

Is there a way to specify which among N alternative frets to use  
when N > 1?
At the moment it's not possible but this issue is under discussion  
right now:

http://lists.lilynet.net/tablatures/

patrick


-steve
___
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: Help with this lilypond error

2010-09-17 Thread Phil Holmes
- Original Message - 
From: "peterwinson1" 

To: 
Sent: Friday, September 17, 2010 6:31 AM
Subject: Re: Help with this lilypond error




JMarc, thank you for the suggestion.  Here is the result:

http://old.nabble.com/file/p29735309/Ye%2Bwho%2Bown%2Bver2.png

There is still a problem.  The second bar which is the refrain, I want to
move to the bottom of everything.  As I understand it, this is the result 
of

<< >>, which puts everything in parrallel.  So how do I do a bar of the
refrain at the bottom of a song?



Peter,

I'm struggling to understand what you mean.  You say "The second bar which 
is the refrain" - do you mean the second (lower) staff in the music you've 
shown?  If you want to get that to the end on a line on its own, why don't 
you just use a single staff and place the refrain music at the end?  You can 
start it on a new line with \break.


If this isn't what you're trying to do, a scan of the original would be 
helpful.


--
Phil Holmes



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


Re: Help with this lilypond error

2010-09-17 Thread Alexander Kobel

On 2010-09-17 10:17, Phil Holmes wrote:

- Original Message - From: "peterwinson1" 

JMarc, thank you for the suggestion. Here is the result:  [...]
There is still a problem. The second bar which is the refrain, I want to
move to the bottom of everything. [...]


Peter,

I'm struggling to understand what you mean.   [...]


Hi, Peter,

I do, too, but there's another idea:

\score {
  {   %% <-
\new Staff {
  \key ... \time ...
  \new Voice { ... }
  \addlyrics { ... }
}
\new Staff {
  ...
}
  }   %% <-
}

Note that a score can only contain a single music expression, otherwise 
the syntax is wrong by definition.  You can achieve this by putting 
braces around all the music which should be shown sequentially.
The double angle brackets, however, denote parallel music, with all 
sections starting at the same point in time, which seems not to be what 
you want.



If you want to get that to the end on a line on its
own, why don't you just use a single staff and place the refrain music
at the end? You can start it on a new line with \break.


+1. The most easiest way usually is using this approach and, 
additionally, variables (look in the Learning Manual for details, 
especially the section "Final touches > Organizing pieces with variables"):


stanzaMusic = { ... } %% only notes
stanzaLyrics = \lyricmode { ... }
refMusic = { ... }
refLyrics = \lyricmode { ... }

\score {
  { %% might be needed or not
\new Staff {
  \key ... \time ...
  \new Voice { \stanzaMusic \break \refMusic }
  \addlyrics { \stanzaLyrics \refLyrics }
}
  }
}

or something similar.


HTH,
Alexander

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


Re: choosing frets for harmonics

2010-09-17 Thread Steve Yegge
Thanks -- I didn't know about this list but I'll subscribe.
And of course I meant the 3rd harmonic.  Silly me.

-steve

On Fri, Sep 17, 2010 at 12:37 AM, Patrick Schmidt wrote:

> Hi Steve,
> Am 17.09.2010 um 08:37 schrieb Steve Yegge:
>
>
>  For a 5th harmonic, the TabStaff automatically chooses the 19th fret
>> rather than the 7th fret.  For instance:
>>
>> music = {
>>  <<
>>\relative c' { \harmonicsOn b'1\6 \harmonicsOff }
>>  >>
>> }
>> \score {
>>  <<
>>\new Staff { \music }
>>\new TabStaff { \transpose c c, { \music } }
>>  >>
>> }
>>
>> Is there a way to specify which among N alternative frets to use when N >
>> 1?
>>
> At the moment it's not possible but this issue is under discussion right
> now:
> http://lists.lilynet.net/tablatures/
>
> patrick
>
>>
>> -steve
>> ___
>> 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


Lilypond-book --no-music option

2010-09-17 Thread Magnus Lundborg
Hello,

I am making a lyrics booklet in latex and I have decided to add music notation
to it as well, using lilypond-book. But I would like an easy way to switch
between a text-only version and one containing the music. It would be nice not
to have two different versions when editing them. I guess I could make a script
to remove the lilypond-parts from the generated latex, but it would be nice not
to do it by hand.

I have seen that older versions of lilypond-book had a --no-music option, but
that does not seem to be available anymore. Is there an easy way to do this? Or
could this option perhaps be enabled again?

Thanks for all help.

/Magnus


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


mozart, k421

2010-09-17 Thread Stefan Thomas
Dear community,
I wanted to build the score of Mozart's quartet KV421, which I found on
mutopia.
Unfortunately it doesn't work, because the files are to old.
Even updating with convert-ly doesn't work. Does someone know, what can be
done to update these files?
Thanks
Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


re-learning markup sections

2010-09-17 Thread 胡海鹏 - Hu Haipeng
Hello,
  I am re,reading the sections in NR about markups. The following confuses me, 
because I can't find any wrong points in the last one. The madual says it has 
no anchor point, so can't be moved. Can you give me any clues?
  Also, I can't distinguish xx-align and xx-column. I think \left-align { "abc 
def" "ghi jkl" } will be the same when using \left-column. What's the 
difference? Could anyone give a plain text demo formatted with spaces?
Regards
Haipeng
-- begin quote --
The following example demonstrates these two possibilities; the last markup in 
this example has no anchor point, and therefore is not moved.
d2^\markup {
  Acte I
  \raise #2 { Scène 1 }
}
a'
g_\markup {
  \null
  \lower #4 \bold { Très modéré }
}
a
d,^\markup {
  \raise #4 \italic { Une forêt. }
}
a'4 a g2 a
-- end quote --


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


Re: mozart, k421

2010-09-17 Thread Jay Anderson
On Fri, Sep 17, 2010 at 7:07 AM, Stefan Thomas
 wrote:
> I wanted to build the score of Mozart's quartet KV421, which I found on
> mutopia.
> Unfortunately it doesn't work, because the files are to old.
> Even updating with convert-ly doesn't work. Does someone know, what can be
> done to update these files?

1.6.6 is pretty old (I'm not even sure you can download it anymore).
Try contacting the maintainer. They might have an updated version.
Other than that try using convert-ly and then manually fixing the
errors from there. If that seems to make it worse then you are going
to have to manually fix all of it. In any case, I don't think there
are any shortcuts to making it compile with the latest lilypond. Good
luck.

-Jay

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


Re: re-learning markup sections

2010-09-17 Thread Phil Holmes
The first 2 examples have some text (Acte I for the first, \null as null text 
for the second) and then a raise/lower command and then some more text.  So in 
each case, the second piece of text is raised or lowered with respect to the 
first piece.  So Scène 1  appears higher than Acte I.  \null would be at the 
normal position, and Très modéré is lowered with respect to it.  In the final 
example, there is nothing before Une forêt. and so there's nothing for it to be 
raised with respect to - in other words, there's nothing that forms the 
"anchor" for it's position to be changed with respect to.

\left-align puts all the text in the { } together on one line, left aligned.  
\left-column puts each piece of text on a new line, left-aligned with respect 
to each other.  So \left-column { "The " "quick " "brown " } puts The on a line 
above quick which is on a line above brown.

--
Phil Holmes


  - Original Message - 
  From: 胡海鹏 - Hu Haipeng 
  To: lilypond-user 
  Sent: Friday, September 17, 2010 3:14 PM
  Subject: re-learning markup sections


  Hello,
I am re,reading the sections in NR about markups. The following confuses 
me, because I can't find any wrong points in the last one. The madual says it 
has no anchor point, so can't be moved. Can you give me any clues?
Also, I can't distinguish xx-align and xx-column. I think \left-align { 
"abc def" "ghi jkl" } will be the same when using \left-column. What's the 
difference? Could anyone give a plain text demo formatted with spaces?
  Regards
  Haipeng
  -- begin quote --
  The following example demonstrates these two possibilities; the last markup 
in this example has no anchor point, and therefore is not moved.
  d2^\markup {
Acte I
\raise #2 { Scène 1 }
  }
  a'
  g_\markup {
\null
\lower #4 \bold { Très modéré }
  }
  a
  d,^\markup {
\raise #4 \italic { Une forêt. }
  }
  a'4 a g2 a
  -- end quote --


   



--
  全国最低价,天天在家冲照片,24小时发货上门! 


--


  ___
  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: mozart, k421

2010-09-17 Thread Kaz Kylheku

> 1.6.6 is pretty old (I'm not even sure you can download it anymore).

Google first hit:

http://lilypond.org/download/source/v1.6/


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


Can anybody help me with fret diagrams?

2010-09-17 Thread Father Gordon Gilbert
I tried out my first fret diagrams just recently and I ran into a puzzling
situation.

Whereas in standard guitar tuning, the A major chord diagram would look like
this:
aFretDiagram = \markup
\fret-diagram #"6-o;5-o;4-2;3-2;2-2;1-o:"

And the standard A7 diagram would look like this:
asevenFretDiagram = \markup
\fret-diagram #"6-o;5-o;4-2;3-o;2-2;1-o:"

(I'm not worrying about fingering for now.)

I have a custom way I like to play the A7 chord which imho provides a
brighter 7th sound.  It should look like this (using the same coding):
asevenspecialFretDiagram = \markup
\fret-diagram #"6-o;5-o;4-2;3-2;2-2;1-3:"
That is, the standard A chord with the G (seventh) played on the first
string at the third fret.

But any time I tried that in my lead-sheet, all it would display was the
standard A chord. The only way I could display an A7 chord was to use the
standard one.

Can anyone suggest how I'm going wrong?

Thanks,

Gordon+


-- 
Fr. Gordon Gilbert
Penetanguishene, ON
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can anybody help me with fret diagrams?

2010-09-17 Thread -Eluze

the colon in the end makes it! (should be semicolon)



Father Gordon Gilbert wrote:
> 
> I tried out my first fret diagrams just recently and I ran into a puzzling
> situation.
> 
> Whereas in standard guitar tuning, the A major chord diagram would look
> like
> this:
> aFretDiagram = \markup
> \fret-diagram #"6-o;5-o;4-2;3-2;2-2;1-o:"
> 
> And the standard A7 diagram would look like this:
> asevenFretDiagram = \markup
> \fret-diagram #"6-o;5-o;4-2;3-o;2-2;1-o:"
> 
> (I'm not worrying about fingering for now.)
> 
> I have a custom way I like to play the A7 chord which imho provides a
> brighter 7th sound.  It should look like this (using the same coding):
> asevenspecialFretDiagram = \markup
> \fret-diagram #"6-o;5-o;4-2;3-2;2-2;1-3:"
> That is, the standard A chord with the G (seventh) played on the first
> string at the third fret.
> 
> But any time I tried that in my lead-sheet, all it would display was the
> standard A chord. The only way I could display an A7 chord was to use the
> standard one.
> 
> Can anyone suggest how I'm going wrong?
> 
> Thanks,
> 
> Gordon+
> 
> 
> -- 
> Fr. Gordon Gilbert
> Penetanguishene, ON
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Can-anybody-help-me-with-fret-diagrams--tp29743224p29743400.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


2 pages on 1 ?

2010-09-17 Thread PMA

Hi List.

I have a LilyPond score printing to 11X17 paper in landscape mode.
Most of the result -- with staves stretching fully across the page of
course -- is looking okay.

But one movement isn't.   It's measures, nearly a half-page wide,
would to my eye be most readable if they were arranged in two
columns (to be read bar-to-bar *downwards* rather than across)
with the columns separated by ca an inch of empty space and a
top-to-bottom-of-page vertical line in the middle.

Before pursuing ugly attempts to fool LilyPond into "allowing" this,
I may as well ask -- Is there a straightforward way?  Can you tell
LilyPond: "The physical paper is 11x17, but just pretend that the
"pages" you're printing are 11x8, and then print them two at a
time side-by-side with this space & big vertical line in between"?

(Or had I better just force an inch of empty mid-page staff, make
that staff portion transparent, force whatever clef to print after it,
and then later -- via a PDF editor -- cram in the vertical divider?)

Thanks in advance for any suggestions!

Pete



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


Re: 2 pages on 1 ?

2010-09-17 Thread Nick Payne

 On 18/09/10 10:35, PMA wrote:

Hi List.

I have a LilyPond score printing to 11X17 paper in landscape mode.
Most of the result -- with staves stretching fully across the page of
course -- is looking okay.

But one movement isn't.   It's measures, nearly a half-page wide,
would to my eye be most readable if they were arranged in two
columns (to be read bar-to-bar *downwards* rather than across)
with the columns separated by ca an inch of empty space and a
top-to-bottom-of-page vertical line in the middle.

Before pursuing ugly attempts to fool LilyPond into "allowing" this,
I may as well ask -- Is there a straightforward way?  Can you tell
LilyPond: "The physical paper is 11x17, but just pretend that the
"pages" you're printing are 11x8, and then print them two at a
time side-by-side with this space & big vertical line in between"?

(Or had I better just force an inch of empty mid-page staff, make
that staff portion transparent, force whatever clef to print after it,
and then later -- via a PDF editor -- cram in the vertical divider?)
Easiest would be to have Lilypond output to A4 (or Letter), then open 
the PDF in Adobe Reader and tell it to print two pages per sheet onto 
the larger size paper.


Nick

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


Re: 2 pages on 1 ?

2010-09-17 Thread ananth p
Multi-Column layout! I need that too.

This is how I did this score (3 Columns)- http://www.twitpic.com/2pie84

   1. Calculate the width (and height?) of each column; set the page size
   accordingly. (page width = column width)
   2. Run LilyPond, output the score as PNGs.
   3. Tailor PNGs. ImageMagick comes handy for this.


Problems:

   1. It's ugly job.
   2. Not satisfied by the PNG's resolution. Score doesn't look sharp
   enough. Workaround: render to bigger sized PNGs from lily.
   3. Page numbers, irrelevant and put in arbitrary columns.

Again, is there a more appropriate way to setup multi-column scores?


On Sat, Sep 18, 2010 at 6:05 AM, PMA  wrote:

> Hi List.
>
> I have a LilyPond score printing to 11X17 paper in landscape mode.
> Most of the result -- with staves stretching fully across the page of
> course -- is looking okay.
>
> But one movement isn't.   It's measures, nearly a half-page wide,
> would to my eye be most readable if they were arranged in two
> columns (to be read bar-to-bar *downwards* rather than across)
> with the columns separated by ca an inch of empty space and a
> top-to-bottom-of-page vertical line in the middle.
>
> Before pursuing ugly attempts to fool LilyPond into "allowing" this,
> I may as well ask -- Is there a straightforward way?  Can you tell
> LilyPond: "The physical paper is 11x17, but just pretend that the
> "pages" you're printing are 11x8, and then print them two at a
> time side-by-side with this space & big vertical line in between"?
>
> (Or had I better just force an inch of empty mid-page staff, make
> that staff portion transparent, force whatever clef to print after it,
> and then later -- via a PDF editor -- cram in the vertical divider?)
>
> Thanks in advance for any suggestions!
>
> Pete
>
>
>
> ___
> 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