Re: make ties between notes from different voices

2007-01-09 Thread Karl Hammar
> Hi!
> 
> I'd like to know how to put ties between a chord from a single voice
> separating to the same notes but in two differents voice contexts in
> polyphony.
...
> \version "2.11.9"
> 
> \relative c''
> {
> \time 3/4
> r2 4
> <<
> {fis'4 e fis} \\
> {2.}
> >>
> }

Isn't it easier to split in voices earlier? And then you can 
proceed in two ways:

\version "2.11.9"

\layout {
  raggedright = ##t
  indent = 0
}

global = { \clef treble \time 3/4 }
top = \relative c'' { fis4~ fis e fis }
bot = \relative c'' { 4~ 2. }

\score {
  \new Staff {
\global
% to supress the text "solo" over the e
\set Staff.printPartCombineTexts = ##f
r2^\markup { "\\partcombine" } \partcombine { \top } { \bot }
\break
r2^\markup { "<<  >>" } << \top \\ \bot >>
  }
}

Note, with the partcombiner there is more space bofore the e.

Regards
/Karl




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


Syntax-colored lilypond email

2007-01-09 Thread Bertalan Fodor




Hi!

Did you know that you can use the Code2HTML plugin in JEdit to create
syntax colored HTML emails? If you look at this mail with a capable
client (like Mozilla Thunderbird) and enable HTML, you will see what
I'm talking about. Nice, isn't it?  
cadenza = \relative c' {
\once \override Voice.TextScript #'padding = #8
\once \override Voice.TextScript #'extra-offset = #'( -5 . 0 )
c4^\markup { \bold "Adagio" } d8 << { e f g } \\ { d4. } >>
  a'4. f8 g4 g
}

\new GrandStaff <<
  \new Staff { \cadenza c'4 }
  \new Staff {
#(ly:export (skip-of-length cadenza))
c'4
  }
>>






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


Re: make ties between notes from different voices

2007-01-09 Thread Frédéric Chiasson

That is what I did since I couldn't tie the first "fis" with the second when
I was putting the first "fis" in the same voice as the "a" and "c"
underneath. But is there a way to make the first fis look as if it was in
the same chord?

Thanks for your help,

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


Re: Syntax-colored lilypond email

2007-01-09 Thread Karl Hammar
[EMAIL PROTECTED]:
...
> Did you know that you can use the Code2HTML plugin in JEdit to create
> syntax colored HTML emails? If you look at this mail with a capable
> client (like Mozilla Thunderbird) and enable HTML, you will see what
> I'm talking about. Nice, isn't it?  
> cadenza =   color="#006699">\relative chttp://lists.gnu.org/mailman/listinfo/lilypond-user


Re: make ties between notes from different voices

2007-01-09 Thread Karl Hammar

[EMAIL PROTECTED]:
> That is what I did since I couldn't tie the first "fis" with the second when
> I was putting the first "fis" in the same voice as the "a" and "c"
> underneath. But is there a way to make the first fis look as if it was in
> the same chord?

If it doesn't work with finésse, you have to take your chances,
try with \stemDown in the upper voice:

\version "2.11.9"

\layout {
  raggedright = ##t
  indent = 0
}

global = { \clef treble \time 3/4 }
top = \relative c'' { \stemDown fis4~ fis e fis }
bot = \relative c'' { 4~ 2. }

\score {
  \new Staff {
\global
r2 << \top \\ \bot >>
  }
}

Regards
/Karl




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


Using the same hspace/time ratio in different line (was: using bold or smallcaps in lyrics in lilypond-book )

2007-01-09 Thread Davide Benini

Thanks Karl,
your example was a good start. However, I noticed that removing the  
Staff_Engraver, I ended up without measure bars; so I did this:


  \layout {
raggedright = ##t
indent = 0.0\mm
\context {
  \Staff
  \override StaffSymbol #'transparent = ##t
  \remove Clef_engraver
}
  }

Now I have a couple of more question, that just popped out.
1) I added a second line to my transcription; I did it inserting a  
second \score group (with it \new Staff, \addlyrics and \layout  
subgroups). Is this the proper way to do it? Is any line of music +  
lyrics a single score? Or should I put a command to interrupt a line,  
like \\ in latex? Sorry, this is probably a dumb question, but I am  
still new to lilypond and its hierarchies...


2) I would like my two lines of music to be aligned vertically  
following the tempo; I mean, horizontal space/time should be the  
same. So, in the case of two lines,

g8 g4 g8
and
g8 g4 g8
the note should be in 3 columns; I hope this is clear.
I need this because I am trying to show graphically the rhythm of prose.
Thanks in advance,
Davide

Karl wote

\version "2.10.1"

#(set-global-staff-size 14)
\score {
  \new Staff {
\time 12/8
\partial 8
\relative g' {
  g8 g4 g8 g4 g8 g4 g8 g8 g8 g8  g4 g8 g4 g8 g4
}
  }
  \addlyrics{
Some \markup\bold TIME She \markup\bold USED to \markup\bold PUT
me \markup\bold THROUGH the re -- \markup\bold SPON -- se sof the
\markup\bold MASS
  }
  \layout {
raggedright = ##t
indent = 0.0\mm
\context {
  \Staff
  \remove Staff_symbol_engraver
  \remove Clef_engraver
}
  }
}






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


Re: make ties between notes from different voices

2007-01-09 Thread Frédéric Chiasson

Thanks a lot! It works with \stemDown. I get a warning saying that there is
too much note collision, that they will be ignored, but the fis's stem is
aligned perfectly with the other notes's. I just add a \stemUp afterwards to
get exactly what I want.

Thanks again,

Frédéric


version "2.11.9"

\layout {
raggedright = ##t
indent = 0
}

global = { \clef treble \time 3/4 }
top = \relative c'' { \stemDown fis4~ \stemUp fis e fis }
bot = \relative c'' { 4~ 2. }

\score {
\new Staff {
  \global
  r2 << \top \\ \bot >>
}
}


2007/1/9, Frédéric Chiasson <[EMAIL PROTECTED]>:


That is what I did since I couldn't tie the first "fis" with the second
when I was putting the first "fis" in the same voice as the "a" and "c"
underneath. But is there a way to make the first fis look as if it was in
the same chord?

Thanks for your help,

Frédéric


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


Re: Using the same hspace/time ratio in different line

2007-01-09 Thread Mats Bengtsson

Davide Benini wrote:

1) I added a second line to my transcription; I did it inserting a  
second \score group (with it \new Staff, \addlyrics and \layout  
subgroups). Is this the proper way to do it? Is any line of music +  
lyrics a single score? Or should I put a command to interrupt a line,  
like \\ in latex? Sorry, this is probably a dumb question, but I am  
still new to lilypond and its hierarchies...



A \score block should correspond to a full score, i.e. a full piece.
To insert a line break, use \break. However, see also below.

2) I would like my two lines of music to be aligned vertically  
following the tempo; I mean, horizontal space/time should be the  
same. So, in the case of two lines,

g8 g4 g8
and
g8 g4 g8
the note should be in 3 columns; I hope this is clear.
I need this because I am trying to show graphically the rhythm of prose.


It seems to me that you would rather want a single score with
two staves.
\score{
<<
 \new Staff {...}
 \new Staff {...}
>>
}

  /Mats



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


Re: Bar numbering with Timing_translator in Staff context

2007-01-09 Thread Vivian Barty-Taylor
Just to say this worked - thanks for the tip.

Cheers,

Vivian.

- Original Message 
From: Mats Bengtsson <[EMAIL PROTECTED]>
To: Vivian Barty-Taylor <[EMAIL PROTECTED]>
Cc: lilypond-user@gnu.org
Sent: Monday, 8 January, 2007 1:40:57 PM
Subject: Re: Bar numbering with Timing_translator in Staff context

I assume that you refer to the second example in that section.
If I was LilyPond and was asked to print bar numbers that were valid for 
the
full score even though each stave has the bar lines at different places, 
I would
certainly also get very confused.
Try to move the Bar_number_engraver from Score to the staff context
according to which you want the bar numbers to be counted. I hope you
know about the \with feature to be able to add an engraver to only one
single instantiation of the same context type.

   /Mats

Vivian Barty-Taylor wrote:
> Could somebody please explain how this works? I've moved the 
> Timing_translator as described in section 8.4.1 of the manual 
> (Polymetric notation). Now bar numbers appear only irregularly 
> throughout my score (on 2 pages out of 7 ) and are also incorrect!
>
> Confusingly, the bar numbers don't print even before the change in 
> time signatures occurs.
>
> I'm using Lilypond 2.10.1 for Mac OSX.
>
> Many thanks,
>
> Vivian.
>
> Send instant messages to your online friends 
> http://uk.messenger.yahoo.com
> 
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>   

-- 
=
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
=







Send instant messages to your online friends http://uk.messenger.yahoo.com ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multi-page SVG file

2007-01-09 Thread fiëé visuëlle

Am 2007-01-09 um 01:14 schrieb Frédéric Chiasson:

I just worked with Graham to be able to use my score in SVG in  
Inkscape. A one-page LilyPond score in SVG works well with  
Inkscape, but a multi-page score in SVG does not. Does anyone know  
enough about SVG and/or Inkscape to tell me how can I manipulate a  
multi-page score in SVG with Inkscape or an another program?


A SVG can contain only one page.
I didn't check what LilyPond does (perhaps create multiple files?)


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
http://www.cacert.org (I'm an assurer)




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


Re: Multi-page SVG file

2007-01-09 Thread Han-Wen Nienhuys
fiëé visuëlle escreveu:
> Am 2007-01-09 um 01:14 schrieb Frédéric Chiasson:
> 
>> I just worked with Graham to be able to use my score in SVG in
>> Inkscape. A one-page LilyPond score in SVG works well with Inkscape,
>> but a multi-page score in SVG does not. Does anyone know enough about
>> SVG and/or Inkscape to tell me how can I manipulate a multi-page score
>> in SVG with Inkscape or an another program?
> 
> A SVG can contain only one page.

SVG can contain multiple pages, but Inkscape doesn't support it  (yet)

-- 

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Multi-page SVG file

2007-01-09 Thread Julian Peterson

Developers---
I noted that in older lilypond documentation, it states that when using 
the svg backend, lilypond should output separate files for each page, 
although this doesn't seem to be the case anymore.  Would it be 
difficult to reinstate this behavior?  (perhaps as an additional backend 
option?)


Thanks,
JP

Han-Wen Nienhuys wrote:

fiëé visuëlle escreveu:
  

Am 2007-01-09 um 01:14 schrieb Frédéric Chiasson:



I just worked with Graham to be able to use my score in SVG in
Inkscape. A one-page LilyPond score in SVG works well with Inkscape,
but a multi-page score in SVG does not. Does anyone know enough about
SVG and/or Inkscape to tell me how can I manipulate a multi-page score
in SVG with Inkscape or an another program?
  

A SVG can contain only one page.



SVG can contain multiple pages, but Inkscape doesn't support it  (yet)

  




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


Help! how do I get back to version 2.11.7?

2007-01-09 Thread Trevor Bača

Hi,

I just installed 2.11.10 and overwrote 2.11.7 and now I'm getting
weird programming errors that I don't have time to debug before I
leave on a trip tomorrow.

Where can I go to download and reinstall 2.11.7?


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help! how do I get back to version 2.11.7?

2007-01-09 Thread Graham Percival

Trevor Bača wrote:

Where can I go to download and reinstall 2.11.7?


Umm, the normal place?
http://lilypond.org/download/binaries/

- Graham


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


Strange...

2007-01-09 Thread Stewart Holmes
Hi everyone,

 

I've just finished working on a piece, but I get a rather peculiar error:
See the 2nd bar of the 25th page of the pdf at www.stewartholmes.com/m3.pdf.
Notice how, on the second beat, the beam has not been drawn correctly. It's
almost as though the beam at the top should actually be below the other
beam, as I remember that in a previous version, the fingerings were in
correct positions. This same thing also happens on the 2nd to last bar of
the same page, 4th beat.

 

There isn't really any meaningful .ly code I can give for this, as the bars
in questions contain nothing other than notes, slurs, and the overriding of
Slur #'control-points and Fingering #'extra-offset.

 

Thanks,

Stewart

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


Re: Help! how do I get back to version 2.11.7?

2007-01-09 Thread Trevor Bača

On 1/9/07, Graham Percival <[EMAIL PROTECTED]> wrote:

Trevor Bača wrote:
> Where can I go to download and reinstall 2.11.7?

Umm, the normal place?
http://lilypond.org/download/binaries/


Ah. Em, I guess I've only ever used

 http://lilypond.org/web/install/

I feel silly, but relieved.

Thanks.


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Strange...

2007-01-09 Thread Rune Zedeler

Stewart Holmes wrote:

I’ve just finished working on a piece, but I get a rather peculiar 
error: See the 2^nd bar of the 25^th page of the pdf at 
www.stewartholmes.com/m3.pdf . 


Weird.
What version of lily are you using?

-Rune


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


RE: Strange...

2007-01-09 Thread Stewart Holmes
2.10.9.

-Original Message-
From: Rune Zedeler [mailto:[EMAIL PROTECTED] 
Sent: 10 January 2007 01:28
To: Stewart Holmes
Cc: lilypond-user@gnu.org
Subject: Re: Strange...

Stewart Holmes wrote:

> I've just finished working on a piece, but I get a rather peculiar 
> error: See the 2^nd bar of the 25^th page of the pdf at 
> www.stewartholmes.com/m3.pdf . 

Weird.
What version of lily are you using?

-Rune


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


Re: Strange...

2007-01-09 Thread Rune Zedeler

Stewart Holmes wrote:

2.10.9.


Okay.
I can reproduce in latest stable (2.10.10) but not in latest dev (2.11.10).
If it is important for you you could try to update to 2.11.10. Otherwise 
wait for 2.12.


-Rune


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


Re: New argument types (Was: Constructive Criticism and a Question)

2007-01-09 Thread stk

> . . . I'd always prefer extensions that do not change the syntax.

I can't argue with that preference.  But in

> >\foo c \nul 4.  % \nul would be a sort of syntactic "breath mark"

the "\nul" would not constitute a change in syntax -- "\nul" would simply
be another LilyPond keyword.

\nul means this:  the preceding & following elements are separate items.

E.g., here, c \nul 4. is prevented from meaning c4.

Most programming languages make whitespace a symbol separator and
therefore do need a construct like \nul.  But LilyPond accepts
c 4. as meaning c4. so LilyPond will sometimes need a separator like \nul.

Such a keyword obviously would not need to be called "\nul"; it could be
called "\idem" and be thought of as an identity operator:
\idem c means c
\idem {c8 d e} means {c8 d e}
\idem 1*5/8 means 1*5/8
And   \foo c \idem 4.   means \foo has 2 args:  c  and  4.

-- Tom



On Mon, 8 Jan 2007, Bertalan Fodor wrote:

> When I was writing the Antlr version of the parser I realized that
> extending the grammar in dozens of ways makes much more complicatons and
> unreadability than you gain in compactness. Actually I don't like that I
> almost have to reimplement LilyPond just to be able to decide if an
> input is syntactically correct. :-)
>
> So I'd always prefer extensions that do not change the syntax. But I may
> be not right.
>
> Bert
>
> > --- Original Message ---
> > From: [EMAIL PROTECTED]
> > To: Erik Sandberg <[EMAIL PROTECTED]>
> > Sent: 07. 01. 08., 5:54:21
> > Subject: New argument types (Was: Constructive Criticism and a Question)
> >
> > On Sun, 7 Jan 2007, Erik Sandberg wrote:
> >
> > > BTW, one of the biggest problems (IMHO) in the lilypond language is that
> > > we can't extend the parser to accept durations as parameters to music
> > > functions:  \foo c 4. is ambiguous; it's unclear whether the 4. is the
> > > c's duration, or if it's a separate argument.
> >
> > It's probably unfortunate that the choice was made to tolerate spaces in
> > things like
> >   c 4. ~
> > but I'm sure that that cannot be undone at this point.
> >
> > Increasing the number of different argument types for music functions
> > would almost certainly be extremely useful for users, who, judging from
> > this mailing list, seem to have an unlimited imagination when it comes to
> > wanting to be able to extend LP syntax.
> >
> > Since recognizing a duration expression is purely a notational problem
> > (in the sense that a notation has to be found that will be unambiguous for
> > the parser), it might be worth asking for people's ideas.  The things I
> > can think of offhand are the following --
> >
> >\foo c (4.) % no good -- confusion with slurs
> >\foo c \nul 4.  % \nul would be a sort of syntactic "breath mark"
> >\foo c \ 4. % \ -- same idea as \nul (short, but maybe risky?)
> >\foo c \\ 4.% \\ -- same as \nul
> >\foo c =4.  % = prefixed to any expression: "this is separate item"
> >
> > -- Tom
> > ___
> > 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


Concerning the Absolute Beginner Tutorial for Lilypond Beginners

2007-01-09 Thread Daniel Tonda Castillo

Greetings to everyone:

I've been following the thread and reading the tutorial, so far, and I'm 
ready to voice my very personal and subjective opinion.


I think that the idea behind the absolute beginners' tutorial is 
precisely what it's title implies. It's for the absolute beginner, not 
for the intermediate user, or for the full fledged master of the 
universe. That is what the Lilypond documentation is for.


I think that the tutorial should, on each chapter, go just a little bit 
deeper than the previous chapter. The tutorial should be oriented at 
getting results, fast, so that the the interested reader will be 
interested in deepening his understanding, not alienating the novice, 
which may happen if it gets keeping bigger and bigger or more exacting 
in the precise use of the terms.


Think if you will, of the development cycle. A spiral where with each 
turn of it, the user gets more and more information, until she's/he's 
ready to digest a fuller documentation.


Think: learn lilypond in 10 hours, lessons, excercises, keep it 
practical, to the utmost, results oriented.


Of course, in time and with enough understanding, polish and care, the 
absolute beginner's tutorial may end up becoming something like: "The 
ultimate guide for the beginner lilypond novice", or similar.


As a teacher I've experienced that giving too little information to the 
student, will cause frustration, giving too much will also cause 
frustration. It may not aid in the student learning. Part of the process 
of learning has to be performed by the student, investigating, reading, 
etc. More times than not a bump in the head or tripping over something 
is a better way of learning, and retaining information than holding the 
student's hand all the time. Give the student enough so that he/she will 
desire to strive further and achieve things by his/her self.


There is a thing as trainers, or instructors, and respectfully a 
developer sometimes may not be interested or lacks resources like time 
or whatever to get a message accross in a clear and transparent form to 
the user.



Daniel Tonda C.
begin:vcard
fn:Daniel Tonda Castillo
n:Tonda Castillo;Daniel
email;internet:[EMAIL PROTECTED]
version:2.1
end:vcard

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


Re: piano centered dynamics

2007-01-09 Thread James Bailey
Thanks, I made the offset 2.5 to match all of the others, but I still  
really don't understand all of the engravers and spanners this  
template modifies, which makes me kind of sad.


And, is it just me, or did you get the same kind of problem that I  
got? Should this be added to the manual, or am I just  
misunderstanding it?


Thanks tons

james

Am 08.01.2007 um 20:14 schrieb Jay Anderson:


Try adding this with the other extra-offsets:
\override DynamicTextSpanner #'extra-offset = #'(0 . 1.75)

Perhaps this can be added to the manual.

-Jay Anderson



___
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! how do I get back to version 2.11.7?

2007-01-09 Thread Paul Scott

Graham Percival wrote:

Trevor Bača wrote:

Where can I go to download and reinstall 2.11.7?


Umm, the normal place?
http://lilypond.org/download/binaries/
It would be useful to have that link on the web site just like there is 
a link for older stable versions.  I've found it before by asking here 
but it would be nice to just have a link.


Thanks,

Paul Scott



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