Re: e-books

2009-11-07 Thread Andrew Tucker


On Oct 21, 2009, at 7:44 AM, Martin Tarenskeen wrote:


Hi,

Any e-book owners around here? I was wondering if e-books can be of  
any use for lilyponders, now or in the future. For example: to read  
and search in the documentation, to view PDF scores ?


--

Martin


Hi Martin,

I have a Kindle (DX, the big one) and I have used it for both  
reading docs (search is a little slow, but works) and displaying /  
playing from scores. I've toyed a bit with creating lilypond scores  
sized just right for the kindle, and I have a selection of parts from  
my band on it - but I have not yet performed in public using it.


   I've got more related ideas: set all my parts from lilypond on one  
size paper (a5 landscape is my latest pick), then print full-size or  
marching paper parts by scaling the pdf, read them on the kindle  
(which is about the same size as a5 paper in landscape mode) or on the  
iPhone (small, but an effective reference or in a pinch). Now, what if  
someone could port lilypond to run on one of these devices!? We could  
typeset music anywhere!


hope this helps,
   -Andrew Tucker


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


Re: using lilypond for leadsheets

2009-10-06 Thread Andrew Tucker


On Sep 29, 2009, at 10:12 AM, Peter Berlau wrote:

Is there a good starting point, maybe someone do Sheets with Lilypond
already and can give me some advice or a template for using Lilypond.
Need to transpose to 'C', 'Bb', 'Eb' and have treble and bass keys.


I put C, Bb, Eb, and bass clef parts (covers most instruments) on  
separate pages with the following template:


\version "2.12.2"

\header {
title = "Title Here"
composer = "by Composer"
}

melody = \relative c'' {
\time 2/2
  \key d \minor
\partial 8*3 a8 gis a
bes4. a8 r a gis a
bes4. a8 r a d d
d4. cis8 r e e f
}

 changes = \chords {
   s4.
 a1:7
 d:m
 a:7
}

\bookpart {
  <<
\changes
\new Staff \melody
\set Staff.instrumentName = #"C / concert"
  >>
}


\bookpart {
\transpose bes c'
  <<
\changes
\new Staff { \melody }
\set Staff.instrumentName = #"Bb horns"
  >>
}


\bookpart {
\transpose es c
  <<
\changes
\new Staff \melody
\set Staff.instrumentName = #"Eb horns"
  >>
}


\bookpart {
    \transpose c c,
  <<
\changes
\new Staff  \melody \clef bass
\set Staff.instrumentName = #"bass clef"
  >>
}

-Andrew Tucker


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


Re: A6-sheet

2009-09-25 Thread Andrew Tucker


On Sep 25, 2009, at 4:50 PM, Jeroen Heijmans wrote:

On Fri, Sep 25, 2009 at 22:28, Andrew Tucker > wrote:


On Sep 25, 2009, at 12:54 PM, Jeroen Heijmans wrote:


I've forced the evenly spread with 'system-count = 5' but, I think
that's not the way to create small sheets(?).
It's just something I can't really pinpoint.
The staves need to be closer to eachother.
Marchingsheet-music looks different than this.


It looks better to me (notes spaced more naturally - and you get  
the staves

closer together) without the 'system-count=5'.



Hmmzz.. it does look better.
Last time I tried it, I got 2 pages out of it.
What did I do wrong back then ;)

Is the \paper { } stuff above '%annotate-spacing = ##t' really needed
for this size or am I being completely wrong about the rest?
Is there a simple way to tell lilypond to create only 1 page and to
resize or even to scale down when needed? I think that that's the
feature I'd like :D



As far as I know, there's no way to tell LilyPond, "whatever it takes,  
cram this onto 1 page" - and that's just because there are so very  
many options available to change the use of space! When I was last  
making marching parts, I used the following template:


#(set-global-staff-size 11) %11 for 'pocket scores' - I like 14 for  
readability

#(set-default-paper-size "5x7")
\paper {
 top-margin = 2\mm
% bottom-margin = 2\mm
 page-top-space = 1\mm
 line-width = 6.7\in
 between-system-padding = 1\mm
ragged-last = ##t %last system width
% ragged-last-bottom = ##t %last page vertical spread
}

Where "5x7" was a custom paper size I made in ( paper.scm ? ), 5  
inches by 7 inches being the size of my flip-book pages;  "line-width"  
was necessary to set the right margin or something...  When I next  
make marching parts, I'll probably just use a6 'landscape like you did


- the real lesson here is to take out all those \paper arguments; then  
try adding in one at a time until you find the least that you really  
need to get the desired result. between-system-padding had the biggest  
single effect, if I remember correctly.


If you come up with something that really works well, could you share  
it? Or maybe someone out there already has a good marching flip-book- 
size template, and could put it in the snippets repository?


all the best,
  Andrew Tucker
  http://tuckerandrew.net






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


Re: A6-sheet

2009-09-25 Thread Andrew Tucker


On Sep 25, 2009, at 12:54 PM, Jeroen Heijmans wrote:


I've forced the evenly spread with 'system-count = 5' but, I think
that's not the way to create small sheets(?).
It's just something I can't really pinpoint.
The staves need to be closer to eachother.
Marchingsheet-music looks different than this.


It looks better to me (notes spaced more naturally - and you get the  
staves closer together) without the 'system-count=5'.


-Tucker




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


Re: Snow Leopard and Smultron

2009-09-24 Thread Andrew Tucker


On Sep 24, 2009, at 10:10 AM, Graham Percival wrote:


On Tue, Sep 22, 2009 at 08:45:38PM +0100, a...@bflat.demon.co.uk wrote:
  I notice on the LilyPond page for the Mac that "The text editor  
Smultron

  does not work properly under Snow Leopard."


Which lilypond page is that?


I think he means
http://ivo.bouwmans.name/lilypondleopard/
(linked from the lilypond "download" page)

  I value the facility to use LilyPond far more that being able to  
run my
  Mac under Snow Leopard so I won't be updating my own Mac to SL  
until
  LilyPond works under it. Is the reason for LilyPond not working  
under SL

  known or are more investigations necessary?


No clue.  None of the developers have snow leopard, so we'd need
somebody else to contribute the investigation and patches.

Cheers,
- Graham



Though things seemed broken the first few days under Snow Leopard,  
I've had success using both Smultron and LilyPond since then - maybe  
some Apple updates helped?


I've run LilyPond 2.13.3-0 and 2.13.4-1 alone, as well as calling each  
from Smultron 3.5.1 using Ivo Bouwmans' instructions (except for which  
versions of each program to get...) under Mac OSX 10.6.1


Here's hoping personal experience can trump superior knowledge - seems  
like things are working fine for me.


all the best,
   Andy Tucker



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


Re: NR typo: Minor-major seventh chord

2009-09-07 Thread Andrew Tucker


On Sep 7, 2009, at 7:09 PM, Tim McNamara wrote:


Andrew Tucker wrote:

In NR B.2 Common chord modifiers, I think the line with:

Minor-major seventh
Minor triad, major seventh
maj7.5-

-> should change to: maj7.3- (both text and chord)


Clearly maj7.5- is *not* a minor-major seventh chord so that's a  
good catch.


The syntax that seems most logical to me is to call it what it is:   
a minor triad with an added major seventh rather than a major  
seventh with a lowered third:  m7.7+ which is what I use in my .ly  
files (I am using an \include chord exceptions file, though, so I  
don't know offhand if m7.7+ will produce the desired result with  
LilyPond's defaults.


m7.7+ does provide the desired results, though I believe it's because  
lilypond uses only the last alteration of a particular note (ie. 7.9+. 
9- will end up 7/b9 and lose the sharp nine). This behavior might  
change (?), if I remember the tenor of that discussion, so we probably  
shouldn't rely on it forever..


  m.7+ seems more logical to me, but resulted in " error: syntax  
error, unexpected '.' " for me. Guess we can't alter a minor triad.


BTW it would also be more likely to find a maj7.11+ rather than a  
maj7.5- among jazz musicians at least.






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


NR typo: Minor-major seventh chord

2009-09-07 Thread Andrew Tucker

In NR B.2 Common chord modifiers, I think the line with:

Minor-major seventh
Minor triad, major seventh
maj7.5-
<>


-> should change to:  maj7.3- (both text and chord)

-Andrew Tucker
http://tuckerandrew.net___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond - chord progression

2009-09-01 Thread Andrew Tucker


On Sep 1, 2009, at 11:17 PM, Christian Henning wrote:


Hi there, I'm almost finished with my first lilypond piece. I'm quite
happy with the results. But, there are a couple of questions left
regarding the output. Please consider the following piece:

\version "2.12.2"

#(ly:set-option 'delete-intermediate-files #t)  % deletes the .ps file
automatically

\header {
title = "Title"
composer = "Band"
}

<<
\new ChordNames {
\chordmode
{
\set chordChanges = ##t
g1 |
g4.:sus4~g16:sus4 g2~g16 | \break
bes1 |
bes4.:sus4~bes16:sus4 bes2~bes16 | \break
c1 |
c2:sus4 c2| \break
c:m |
c:m |
}
}

\new Voice \with
{
\consists Pitch_squash_engraver
}
\relative c''
{
\improvisationOn
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8  ~ g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8. g16 g16 g g8  ~ g16 g g g g4
g4 g8. g16 g8 g~g16 g g g
g8 g8 g8. g16 g16 g16 g8 g4
g4 g8. g16 g8 g~g16 g g g
g4 g8. g16 g8 g~g16 g g g
}




Here are my questions.

1. In the first and second line inside the 2nd measure the second
chord is hovering to far to the right over the tie. Is it possible to
have the chords above the note where the tie starts?


Christian, your rhythms in the chords are different than in the  
\improvisationOn part. Maybe you meant something like

g1
g4.:sus4 g8 ~ g2
...etc.


2. In the last line and 2nd measure. The c:m is missing. Why?


\set chordChanges = ##tmeans "only print the chord name when the  
chord changes" - since you have two c:m in a row, it won't print the  
second



3. In the \header does lilypond have options for putting down what the
guitar is tuned too? Also, not necessary for this piece, but how can I
state where to put a capo?



I'd suggest starting with the Fretted string instruments section (NR  
2.4) -


http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Fretted-string-instruments.html#Fretted-string-instruments

(I've definitely seen tuning and capo information in there; not sure  
what you're looking for)


best of luck!
  -Tucker


Thanks again everyone who helped me out so far,
Christian


___
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: chord durations

2009-08-31 Thread Andrew Tucker


On Aug 31, 2009, at 10:19 PM, Christian Henning wrote:



   \chordmode {
 g1 | g4..:sus4 g2 | \break bes1 | b4..:sus4 bes2
   }



Both your second and fourth bars are short one 16th note - maybe you  
meant


   \set chordChanges = ##t  %only show chord changes (ie. not  
repeated chords)

   g1 | g4..:sus4 g16 ~ g2 | \break bes1 | b4..:sus4 bes16 ~ bes2

Double-dotted notes are rare, especially in pop music - more typically  
you might write this rhythm out (provided this is the rhythm you want)  
as


   g1 | g4:sus4 ~ g8.:sus4 g16 ~ g2 | \break bes1 | b4:sus4 ~  
b8.:sus4 bes16 ~ bes2


-Tucker


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


Re: horizontal synchronisation of notation in drum mode

2009-08-24 Thread Andrew Tucker


On Aug 23, 2009, at 6:12 PM, Brian Lloyd wrote:


Dear Colleagues,

A relative newcomer to Lilypond, I am v. pleased to be able to  
notate drums in drum mode, and / but—


Need your guidance on getting notation on beat in upper and lower  
voice to same horizontal location.


I am typesetting swing-feel cymr in the upper voice and writing  
figures involving bd, sn & hhp in the lower voice.


Decided to use simple eighths notation in upper voice to reduce  
problems, but still some ambiguity in placement of notes, even when  
eights in both upper and lower voice.


Things getting slightly more out of hand when typesetting triplet  
figures in lower voice, and need to do this.


Great to see another drummer here! A sample of what you're working on  
would be helpful -- here's what I made up, hoping it addresses some of  
your issues:


\version "2.13.3"

drh = \drummode {
\repeat unfold 8 { cymr4 cymr8 cymr }   
}

drl = \drummode {
bd4  bd  |
bd8 sn  bd  \times 2/3 { sn4 sn sn }  |
  \times 2/3 { bd4 8 sn bd4 } \times 2/3 { 8 sn bd4  
8 sn } |

  \times 2/3 { sn8 sn sn } \times 2/3 { 8 bd bd }
  \times 2/3 { sn8 bd bd } \times 2/3 { 8 sn bd } |
}

\score {
\new DrumStaff  <<
\set Staff.instrumentName = #"drums"  
\new DrumVoice { \voiceOne  \drh }
\new DrumVoice {\voiceTwo \drl }
>>
}


drums_example.pdf
Description: Adobe PDF document




Also— how to introduce slightly more space to make things more  
legible? I want to simply s-t-r-e-t-c-h things out a little.




NR 4.5.5 "Proportional Notation" looks like maybe what you're after  
here - though I'd advise starting with the percussion notation  
sections (below) first...

http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Proportional-notation#Proportional-notation



Have checked documentation, but still a little unclear.

Directions to relevant sections would be most appreciated, if that's  
all it takes.




Notation Reference 2.5.1 "Common Notation for Percussion" - see  
"Percussion Staves"

http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Common-notation-for-percussion#Percussion-staves



Your help would be appreciated.

Sekantombi


Hope this is a start!
-Tucker

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


Notation Reference typo

2008-12-15 Thread Andrew Tucker
In the 2.11 NR, section 3.5.1 "Creating Midi Files", under "Instrument Names"
there's an example:

  \set Staff.midiInstrument = "glockenspiel"

which I believe needs to be changed to: (add a '#')

  \set Staff.midiInstrument = #"glockenspiel"




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