Re: MetronomeMarks and MultiMeasureRest spacing

2012-01-19 Thread Shevek



Keith OHara wrote:
> 
> For a better solution, I suggest you search the mailing list archives 
> for "MarkLine"
>  http://lists.gnu.org/archive/html/lilypond-user/2008-06/msg00159.html
> The details of this solution seem to need updating to work with the
> current 
> version of LilyPond, but the concept should continue to work forever.
> 

Thanks! I just implemented the MarkLine strategy, and it works fantastic.
Not only does it solve my spacing problem, it vertically aligns all my
marks. I'm going to make this a standard part of my score set up from now
on. Maybe the MarkLine context should be added to Lilypond?
-- 
View this message in context: 
http://old.nabble.com/MetronomeMarks-and-MultiMeasureRest-spacing-tp33165970p33166793.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: MetronomeMarks and MultiMeasureRest spacing

2012-01-19 Thread James
Hello,

On 19 January 2012 10:10, Shevek  wrote:
>
>
>
> Keith OHara wrote:
>>
>> For a better solution, I suggest you search the mailing list archives
>> for "MarkLine"
>>  http://lists.gnu.org/archive/html/lilypond-user/2008-06/msg00159.html
>> The details of this solution seem to need updating to work with the
>> current
>> version of LilyPond, but the concept should continue to work forever.
>>
>
> Thanks! I just implemented the MarkLine strategy, and it works fantastic.

Could you add this to the LilyPond Snippet Repository?

http://lsr.dsi.unimi.it/LSR/html/whatsthis.html

or if it doesn't work for 2.12 (the current version of LSR)

Perhaps paste your code here for others to use?

Depending on the code, I don't pretend to understand what I'm looking
at here - we could even add it as a snippet in the current Notation
Reference.


-- 
--

James

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


Re: pdf to .ly?

2012-01-19 Thread Rutger Hofman

On 01/18/2012 06:09 PM, Phil Holmes wrote:

- Original Message - From: "Colin Campbell" 
To: 
Sent: Wednesday, January 18, 2012 1:58 PM
Subject: Re: pdf to .ly?



On 12-01-18 05:12 AM, Gerard McConnell wrote:

Hello,
Does anybody here know of software that could convert a .pdf into
.ly? Mayber .pdf to .xml first, then to .ly?
Or .pdf into .svg, or some sort of image file? I got some music from
the IMSLP site, it needs to be rotated and cleaned up a bit.
Thanks for any help,
Gerard



I've been playing around a bit with
http://audiveris.kenai.com/index.html but as mentioned elsethread, it
takes a fair bit of manual intervention.

Colin



I use SharpEye quite a bit, and on good scans of clean scores, it does a
pretty good job. Not cheap, though. http://visiv.co.uk/

--
Phil Holmes


SharpEye also has a freeware version with some restrictions. One of them 
is that it does not generate MusicXML. It can create NIFF though, and I 
wrote a converter from NIFF to Lilypond: niff2ly. niff2ly generates 
quite old Lilypond, so you will want to run convert-ly over its output, 
and it has its restrictions when voicing becomes complicated.


Download niff and niff2ly from http://www.cs.vu.nl/~rutger/music.html

Rutger

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


Re: Change color for some symbols in a sylable

2012-01-19 Thread David Nalesnik
Hi again Svetlana,

I’ve revisited the functions for coloring symbols, and I've eliminated the
need to provide a list of every character your text might include.  This
was liable to cause problems (omissions not showing up in the score, the
problem with the non-breaking space you found, etc.) and slowed the whole
process down.  Now all you need is a list of the characters to color.  I
don't see any differences between my file and the results of your
example(3).ly, so I think I got the list of special characters right.


A better solution would be to adapt the earlier function I posted which
only worked for ascii characters to handle the full range of utf-8
encodings.  This should be easy to do if I could figure out how to get
Lilypond to recognize the extension functions Carl pointed out, but I can't
at this point.  [Thank you, Carl, for providing the links!]


Best,

David


example (4).ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


distance between sustain pedal and staff

2012-01-19 Thread Paolo Prete
Hello,

1) how can I set the distance between sustain pedal and staff on lily 2.15.22 ?

I tried (see the attached example):
 \override Score.SustainPedalLineSpanner #'padding = #'20   

(as well as Y-offset and some other options) but it doesn't seem to work...


2) is it possible to change the font of "Ped" text ?


Thanks all
Paolo



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

upper = \relative c'' {
  \clef treble
  a4 b c d
}

lower = \relative c {
  \clef bass
  a2 c
}

dynamics = {
  s2\fff\> s4 s\!\pp
}

pedal = {


  s2\sustainOn s\sustainOff
}

\score {

  \new PianoStaff = "PianoStaff_pf" <<
\set Score.pedalSustainStrings = #'("Ped" "P-" "-")
\set Score.pedalSustainStyle = #'mixed
 \override Score.SustainPedalLineSpanner #'padding = #'20   

\new Staff = "Staff_pfUpper" << \global \upper >>
\new Dynamics = "Dynamics_pf" \dynamics
\new Staff = "Staff_pfLower" << \global \lower >>
\new Dynamics = "pedal" \pedal
  >>
  \layout 
  {
  }
}

\score {
  \new PianoStaff = "PianoStaff_pf" <<
\new Staff = "Staff_pfUpper" << \global \upper \dynamics \pedal >>
\new Staff = "Staff_pfLower" << \global \lower \dynamics \pedal >>
  >>
  \midi { }
}


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


Re: Collision between tie and pitched trill

2012-01-19 Thread Patrick Karl

> Message: 2
> Date: Thu, 19 Jan 2012 00:34:09 -0200
> From: Caio Barros 
> To: Keith OHara 
> Cc: lilypond-user@gnu.org
> Subject: Re: Collision between tie and pitched trill
> 
> Yes, but it's still a collision.

It looks ok at 2.14.2.  I don't see a collision.

> 2012/1/19 Keith OHara 
> 
>> Caio Barros  gmail.com> writes:
>>> \relative g'' {
>>> \pitchedTrill g1 ~ \startTrillSpan aes g2
>>> }
>> 
>> You can use '^' or '_' to force the tie above or below the note head
>> 
>> { \pitchedTrill g''1_~ \startTrillSpan aes g''2 }


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


Re: ISMLP/WIMA (?)

2012-01-19 Thread David Raleigh Arnold
On Tue, 2012-01-17 at 15:02 -0500, PMA wrote:
> David Raleigh Arnold wrote:

> Your last sentence here hits on *the* issue in my original post.
> Why indeed would I...?   But it seems that, to post on ISMLP/
> WIMA, one *must* commit to public-domain-like status.
> 
> I would like, of course, to find a (major, well run) public archive
> without such constraints.
> 
Werner Icking would have accommodated you. Get in touch
with Christian Mondrup. I built my own site instead.
The University should supply you with space, but perhaps
they want a piece of you?

Most of the fuss and feathers could be eliminated by
not allowing corporations to hold copyrights. The
U. S. government is not allowed copyrights, so why
should corporations be allowed them? They don't 
create art, they merely exploit it. Authors today
become publishers also, to get a bigger piece of
the pie.

There is a new possibility, which is to allow the
uploading of your stuff to youtube and receive a
healthy cut of the advertising revenue clicks of viewers.
The players get nothing, of course.
Contact youtube about the agreement.

Open software people tend to consider artists as being
equivalent to programmers, so they think artists
should starve. I have no sympathy with that view.
Obviously. Knowledge should be free, Yale to the
contrary. Art shouldn't be free until the artist gets his.
Or hers. Regards, daveA

-- 
Guitar teaching materials and original music for all styles and levels.
Site: http://www.openguitar.com (()) eMail: d.raleigh.arn...@gmail.com
Contact: http://www.openguitar.com/contact.html


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


Re: ISMLP/WIMA (?)

2012-01-19 Thread Bernardo Barros
> Open software people tend to consider artists as being
> equivalent to programmers, so they think artists
> should starve. I have no sympathy with that view.
> Obviously. Knowledge should be free, Yale to the
> contrary. Art shouldn't be free until the artist gets his.

The source code of the lilypond score is not the `music' or even
`art', so maybe people get confused. They are two completely
different things, two distinct copyright.

I think it would be nice if composers make their lilypond scripts
open-source/free.  This has nothing to do with the copyright of music,
performance or anything like that.

That would just be an additional source for other LilyPond users to do
their own stuff.

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


Re: pdf to .ly?

2012-01-19 Thread Frédéric Bron
> Does anybody here know of software that could convert a .pdf into .ly?
> Mayber .pdf to .xml first, then to .ly?
> Or  .pdf into .svg, or some sort of image file?  I got some music from the
> IMSLP site, it needs to be rotated and cleaned up a bit.

free command line software:
- pdftk: http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
- convert: http://www.imagemagick.org/

Frédéric

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


Re: ISMLP/WIMA (?)

2012-01-19 Thread Hayden Muhl


PMA-2 wrote:
> 
> David Raleigh Arnold wrote:
> But it seems that, to post on ISMLP/
> WIMA, one *must* commit to public-domain-like status.
> 
> I would like, of course, to find a (major, well run) public archive
> without such constraints.
> 
Have you actually spoken to anyone over at IMSLP about this? IMSLP allows a
range of licenses for different purposes. I would not describe some of these
licenses as "public-domain-like". For example, I believe there is a license
that grants the free download and sharing of your score, but allows you to
retain rights to charge for commercial performance.

If you haven't already, I suggest posting in the IMSLP forums
(imslpforums.org) to see if there is a license suitable for your purposes.

- Hayden
-- 
View this message in context: 
http://old.nabble.com/ISMLP-WIMA-%28-%29-tp33145215p33170299.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: ISMLP/WIMA (?)

2012-01-19 Thread PMA

Hayden Muhl wrote:


PMA-2 wrote:


David Raleigh Arnold wrote:
But it seems that, to post on ISMLP/
WIMA, one *must* commit to public-domain-like status.

I would like, of course, to find a (major, well run) public archive
without such constraints.


Have you actually spoken to anyone over at IMSLP about this? IMSLP allows a
range of licenses for different purposes. I would not describe some of these
licenses as "public-domain-like". For example, I believe there is a license
that grants the free download and sharing of your score, but allows you to
retain rights to charge for commercial performance.

If you haven't already, I suggest posting in the IMSLP forums
(imslpforums.org) to see if there is a license suitable for your purposes.

- Hayden


Yes, I've sniffed & posted in IMSLP's site now -- enough to see
that my "public-domain-like status" fears were misconceived,
and to appreciate the gist of licenses being offered.  I tend to
expect that their 6th listed,

   Attribution + Non-commercial + No Derivatives

would do me just fine (provided I can overcome the guilt from
refusing to offer my works up as programmers' fodder  :)  ).



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


Re: ISMLP/WIMA (?)

2012-01-19 Thread David Raleigh Arnold
On Thu, 2012-01-19 at 11:05 -0800, Bernardo Barros wrote:
> > Open software people tend to consider artists as being
> > equivalent to programmers, so they think artists
> > should starve. I have no sympathy with that view.
> > Obviously. Knowledge should be free, Yale to the
> > contrary. Art shouldn't be free until the artist gets his.
> 
> The source code of the lilypond score is not the `music' or even
> `art', so maybe people get confused.

That is true of the program code, but not the data. The
document must carry a copyright notice if it contains
the notes, because it is the composition written in a
form of musical notation. The complete source, published
with a copyright notice, would copyright the piece. 
Published without the notice, all copyright would be
lost.

So if you upload the source of a score, see to it that
it doesn't contain the notes. Regards, daveA



-- 
Guitar teaching materials and original music for all styles and levels.
Site: http://www.openguitar.com (()) eMail: d.raleigh.arn...@gmail.com
Contact: http://www.openguitar.com/contact.html


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


Re: ISMLP/WIMA (?)

2012-01-19 Thread PMA

Oh, this is interesting -- I'll pursue re Mondrup and Youtube.

But I should add -- figuring your "Yale" references must be
inspired by my email address -- that I am not Yale faculty,
but an alumn (School of Music, DMA '80).  As such, I am
granted an eternal "aya.yale.edu" pointer to my whatever
current ISP address (as long as I keep Yale apprised of it).


David Raleigh Arnold wrote:

On Tue, 2012-01-17 at 15:02 -0500, PMA wrote:

David Raleigh Arnold wrote:



Your last sentence here hits on *the* issue in my original post.
Why indeed would I...?   But it seems that, to post on ISMLP/
WIMA, one *must* commit to public-domain-like status.

I would like, of course, to find a (major, well run) public archive
without such constraints.


Werner Icking would have accommodated you. Get in touch
with Christian Mondrup. I built my own site instead.
The University should supply you with space, but perhaps
they want a piece of you?

Most of the fuss and feathers could be eliminated by
not allowing corporations to hold copyrights. The
U. S. government is not allowed copyrights, so why
should corporations be allowed them? They don't
create art, they merely exploit it. Authors today
become publishers also, to get a bigger piece of
the pie.

There is a new possibility, which is to allow the
uploading of your stuff to youtube and receive a
healthy cut of the advertising revenue clicks of viewers.
The players get nothing, of course.
Contact youtube about the agreement.

Open software people tend to consider artists as being
equivalent to programmers, so they think artists
should starve. I have no sympathy with that view.
Obviously. Knowledge should be free, Yale to the
contrary. Art shouldn't be free until the artist gets his.
Or hers. Regards, daveA



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


Re: pdf to .ly?

2012-01-19 Thread Pavel Roskin
On Thu, 19 Jan 2012 13:47:06 +0100
Rutger Hofman  wrote:

> SharpEye also has a freeware version with some restrictions. One of
> them is that it does not generate MusicXML. It can create NIFF
> though, and I wrote a converter from NIFF to Lilypond: niff2ly.

Actually, there are two versions available for download.  The newer is
2.68, the older is 1.27.  Version 2.68 can save MusicXML and NIFF.
Version 1.27 only saves NIFF.

Neither version is freeware though.  Both have a 30 day limit.  The
good thing is that both work in Wine.

> niff2ly generates quite old Lilypond, so you will want to run
> convert-ly over its output, and it has its restrictions when voicing
> becomes complicated.
> 
> Download niff and niff2ly from http://www.cs.vu.nl/~rutger/music.html

It's good to see this effort, as Visiv can discontinue MusicXML support
at will.  But please use decent release engineering.  *.old, *.orig and
*.a don't belong to the source release.

Maybe you could host the source it on Gitorious or Github?  Perhaps
NIFF belongs there too (fully unpacked and converted to UNIX newlines).

-- 
Regards,
Pavel Roskin

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


Re: ISMLP/WIMA (?)

2012-01-19 Thread David Kastrup
David Raleigh Arnold  writes:

> On Thu, 2012-01-19 at 11:05 -0800, Bernardo Barros wrote:
>> > Open software people tend to consider artists as being
>> > equivalent to programmers, so they think artists
>> > should starve. I have no sympathy with that view.
>> > Obviously. Knowledge should be free, Yale to the
>> > contrary. Art shouldn't be free until the artist gets his.
>> 
>> The source code of the lilypond score is not the `music' or even
>> `art', so maybe people get confused.
>
> That is true of the program code, but not the data.

Both are hardly distinguishable in LilyPond.  It is like saying that
interpunction is not copyrighted, but letters are.

> The document must carry a copyright notice if it contains the notes,
> because it is the composition written in a form of musical
> notation. The complete source, published with a copyright notice,
> would copyright the piece.  Published without the notice, all
> copyright would be lost.

That is utter nonsense.  Since about 1989, copyright by the author is
the default, with or without notice.  It is just harder to track without
notice.

> So if you upload the source of a score, see to it that
> it doesn't contain the notes. Regards, daveA

A download site will not usually accept to distribute content when it
has no knowledge of the license under which it can do so.  The license
obviously holds for _all_ copyrightable content.  In the case of musical
scores, it may be that the "programming parts" do not contain
significant creative content to fall under copyright protection,
depending on the skills and ingenuity of the author spent on those
aspects.  In that case, similar constructs may be done in other works
without much of a danger.

If you are not just exercising existing content of LilyPond, but
creating sufficiently non-trivial music functions and the like, they
will, of course, fall under copyright again.

-- 
David Kastrup


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


Page layout issues setting Preces & Responses (or, how to remove line breaks between \score blocks)

2012-01-19 Thread Benedict Singer

Hi all,

I've been away from Lilypond for a while (I used it as a composer to set 
my pieces, and composition has taken a back seat for a few years). I 
just want to say that looking at the new features in 2.14 (and in 2.12 
before that), it's incredible what everyone has done, so much thanks!


A member of my choir wrote a new set of Preces and Responses, and we 
read it last night. The conductor typed it up for him using Finale, 
which he's not terribly proficient at using, so I volunteered to make a 
nice copy of it using Lilypond. So far the only issue I have is working 
out how to layout the page. I'd like to do it in the style of most other 
Preces/Responses I've seen, where there's a single staff for the 
priest's line, which stops, and then on the same horizontal line, a 2 
staff ChoirStaff for the choir part starts. A bad ascii-art representation:


| 
priest: --  | 

| 
| 

and so on down the page. An example I found on the web: 
http://static.musicroom.com/img/c/f/NOV441460.jpg


Poking around in the documentation/snippets and on google, I haven't 
been able to find a way to do this. I've attached a basic file that 
shows the musical structure I'm dealing with. Lilypond renders this with 
line breaks between all the \score blocks, whereas I want to suppress 
those, and just line break within \score blocks when appropriate. Can I 
achieve this? If not, is something like: 
http://static.musicroom.com/img/c/f/NOV290559.jpg the best I could hope 
to do currently?


Alternatively, do I need to play games with stopping/starting staffs and 
reprinting clefs/key signatures? If so, how do I make it look exactly 
like the start of a new system (brackets, possibly instrument names, etc)?


Any suggestions and help much appreciated! Thanks!

Ben
\version "2.14.2"

%\paper { annotate-spacing = ##t }
\layout {
indent = #0
linewidth = #3000
}

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

priestNotesOne = \relative c' { g1 }
priestLyricsOne = \lyricmode { "O Lord open thou our lips" }

sopNotesOne = \relative c'' { c4 c c c c c c c }
sopLyricsOne = \lyricmode { And our mouths shall show forth thy praise }

altoNotesOne = \relative c' { e4 e e e e e e e }

tenorNotesOne = \relative c' { g4 g g g g g g g }

bassNotesOne = \relative c { c4 c c c c c c c }

\score {
<< \new Voice = "priest" { \clef bass \voiceOne << \global \priestNotesOne >> }
\new Lyrics \lyricsto "priest" \priestLyricsOne >>
}

\score {
\new ChoirStaff <<
\new Staff = "sa" <<
\new Voice = "sopranos" { \voiceOne << \global \sopNotesOne >> }
\new Voice = "altos" { \voiceTwo << \global \altoNotesOne >> }
>>
\new Lyrics \with { alignAboveContext = #"sa" } \lyricsto "sopranos" \sopLyricsOne
\new Lyrics \with { alignBelowContext = #"sa" } \lyricsto "altos" \sopLyricsOne

\new Staff = "tb" <<
\clef bass
\new Voice = "tenors" { \voiceOne << \global \tenorNotesOne >> }
\new Voice = "basses" { \voiceTwo << \global \bassNotesOne >> }
>>
\new Lyrics \with { alignAboveContext = #"tb" } \lyricsto "tenors" \sopLyricsOne
\new Lyrics \with { alignBelowContext = #"tb" } \lyricsto "basses" \sopLyricsOne
>>
}

priestNotesTwo = \relative c { e4 g g a g g g }
priestLyricsTwo = \lyricmode { O God make speed to save us }

sopNotesTwo = \relative c'' { c4 c c c c c c }
sopLyricsTwo = \lyricmode { O Lord make haste to help us }

altoNotesTwo = \relative c' { e4 e e e e e e }

tenorNotesTwo = \relative c' { g4 g g g g g g }

bassNotesTwo = \relative c { c4 c c c c c c }

\score {
<< \new Voice = "priest" { \clef bass \voiceOne << \global \priestNotesTwo >> }
\new Lyrics \lyricsto "priest" \priestLyricsTwo >>
}

\score {
\new ChoirStaff <<
\new Staff = "sa" <<
\new Voice = "sopranos" { \voiceOne << \global \sopNotesTwo >> }
\new Voice = "altos" { \voiceTwo << \global \altoNotesTwo >> }
>>
\new Lyrics \with { alignAboveContext = #"sa" } \lyricsto "sopranos" \sopLyricsTwo
\new Lyrics \with { alignBelowContext = #"sa" } \lyricsto "altos" \sopLyricsTwo

\new Staff = "tb" <<
\clef bass
\new Voice = "tenors" { \voiceOne << \global \tenorNotesTwo >> }
\new Voice = "basses" { \voiceTwo << \global \bassNotesTwo >> }
>>
\new Lyrics \with { alignAboveContext = #"tb" } \lyricsto "tenors" \sopLyricsTwo
\new Lyrics \with { alignBelowContext = #"tb" } \lyricsto "basses" \sopLyricsTwo
>>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Page layout issues setting Preces & Responses (or, how to remove line breaks between \score blocks)

2012-01-19 Thread m...@apollinemike.com

On Jan 19, 2012, at 10:19 PM, Benedict Singer wrote:

> Hi all,
> 
> I've been away from Lilypond for a while (I used it as a composer to set my 
> pieces, and composition has taken a back seat for a few years). I just want 
> to say that looking at the new features in 2.14 (and in 2.12 before that), 
> it's incredible what everyone has done, so much thanks!
> 

Welcome back!

> Alternatively, do I need to play games with stopping/starting staffs and 
> reprinting clefs/key signatures? If so, how do I make it look exactly like 
> the start of a new system (brackets, possibly instrument names, etc)?

This is a fairly difficult job for lilypond to do - I'm not sure if there's an 
issue on our isuse tracker open for this, but it's worth e-mailing the bug list 
just to check.

A quick idea (you'd have to make it un-ugly, but the functionality is there):

\version "2.14.0"

preface = \markup {
 \general-align #Y #CENTER { \score { { \mark "Priest" a' a' a' } \layout {} } 
ALTO }
}

\score {
\new ChoralStaff <<
\new Staff
 \with {
   instrumentName = \preface
 }
 { a' a' a' a' }
 \new Staff { R1 }
>> 
 \layout { indent = 40 }
}

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


Re: Page layout issues setting Preces & Responses (or, how to remove line breaks between \score blocks)

2012-01-19 Thread James
Hello,

On 19 January 2012 21:32, m...@apollinemike.com  wrote:
>
> On Jan 19, 2012, at 10:19 PM, Benedict Singer wrote:
>
>> Hi all,
>>
>> I've been away from Lilypond for a while (I used it as a composer to set my 
>> pieces, and composition has taken a back seat for a few years). I just want 
>> to say that looking at the new features in 2.14 (and in 2.12 before that), 
>> it's incredible what everyone has done, so much thanks!
>>
>
> Welcome back!
>
>> Alternatively, do I need to play games with stopping/starting staffs and 
>> reprinting clefs/key signatures? If so, how do I make it look exactly like 
>> the start of a new system (brackets, possibly instrument names, etc)?
>
> This is a fairly difficult job for lilypond to do - I'm not sure if there's 
> an issue on our isuse tracker open for this, but it's worth e-mailing the bug 
> list just to check.

There is a snippet here

http://lsr.dsi.unimi.it/LSR/Item?id=582

Which I don't pretend to understand, but it looks like the main
problem here is to get the staff group half way across the page. This
seems to do that.

I am imagining then you could simply make this a '2 line' incipit and
just make the bottom incipit invisible and go from there.

It'd the kind of thing I had to admit I'd sit and play about with on a
boring saturday afternoon using the very limited syntax and cribbing
from scheme constructs I really have no clue about to see if I could
get something similar.



-- 
--

James

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


Re: Reduce width of single measure

2012-01-19 Thread Thomas Morley
Hi Frank,

2012/1/17 Frank Steinmetzger :
> Hello gurus
>
> I already wrote a whole paragraph to describe my problem, but an image is far
> simpler.  Please see the attached screenshot to get an idea of my problem.  
> The
> "ness" syllables are not aligned to one another, because alto and bass are
> aligned to a single note, whereas soprano and tenor have a Second interval,
> which causes the stem to shift horizontally.
>
> Is there an automatic way to resolve this, i.e. that all "ness" syllables are
> properly aligned again?  The only solution I can think of is to use \set
> associatedVoice, so that (in this example) soprano and tenor use the bass'
> notes as rhythm base.
>
> I'm (still) using 2.12.3 here. Thanks in advance for your insight.

you could try:

%\version "2.14.2"
\version "2.12.3"

#(define (lyr-x-offset grob)
(let* ((sys (ly:grob-system grob))
   (note-heads (ly:grob-parent grob X)) 
   (note-column (ly:grob-parent note-heads X))
   (note-column-length (interval-length (ly:grob-extent note-column sys X)))
   (note-heads-length (interval-length (ly:grob-extent note-heads sys X
(ly:grob-translate-axis!
  grob
  (if (> note-column-length (* note-heads-length 1.5))
note-heads-length
0)
  X)))

\paper { ragged-right = ##f }

global = { \key bes\minor \time 4/4 }

one = \new Voice = "one" \relative c'' {
4 2 4
}

two = \new Voice = "two" \relative c' {
f4 f2 aes4
}

three = \new Voice = "three" \relative c'' {
4 2 4
}

four = \new Voice = "four" \relative c' {
\clef "bass"
bes4 bes2 bes4
}

text = \lyricmode {
\override LyricText #'after-line-breaking = #lyr-x-offset
wet -- ness to
}

\new StaffGroup <<
\new Staff { \global \one }
\new Lyrics \lyricsto "one" \text
\new Staff { \global \two }
\new Lyrics \lyricsto "two" \text
\new Staff { \global \three }
\new Lyrics \lyricsto "three" \text
\new Staff { \global \four }
\new Lyrics \lyricsto "four" \text
>>

But it is tested with the short example only.

HTH,
  Harm

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


Re: ISMLP/WIMA (?)

2012-01-19 Thread Hans Aberg
On 19 Jan 2012, at 21:58, David Raleigh Arnold wrote:

> On Thu, 2012-01-19 at 11:05 -0800, Bernardo Barros wrote:
>>> Open software people tend to consider artists as being
>>> equivalent to programmers, so they think artists
>>> should starve. I have no sympathy with that view.
>>> Obviously. Knowledge should be free, Yale to the
>>> contrary. Art shouldn't be free until the artist gets his.
>> 
>> The source code of the lilypond score is not the `music' or even
>> `art', so maybe people get confused.
> 
> That is true of the program code, but not the data.

According to the WIPO Copyright Treaty, computer programs are protected as 
literary works as in the Berne Convention:
  http://www.wipo.int/treaties/en/ip/wct/trtdocs_wo033.html#P56_5626

> The
> document must carry a copyright notice if it contains
> the notes, because it is the composition written in a
> form of musical notation. The complete source, published
> with a copyright notice, would copyright the piece. 
> Published without the notice, all copyright would be
> lost.


This is not the case in the US since 1989:
  https://en.wikipedia.org/wiki/Copyright_notice

Hans



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


Re: Reduce width of single measure

2012-01-19 Thread David Nalesnik
Hi Frank,

On Thu, Jan 19, 2012 at 3:48 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:

> Hi Frank,
>
> 2012/1/17 Frank Steinmetzger :
>
> > Is there an automatic way to resolve this, i.e. that all "ness"
> syllables are
> > properly aligned again?
>

It appears the text will be aligned to the head of the first note between <
>, so specify the upper of the two first: so, rather than , 

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


Re: Page layout issues setting Preces & Responses (or, how to remove line breaks between \score blocks)

2012-01-19 Thread Benedict Singer

On 01/19/2012 01:32 PM, m...@apollinemike.com wrote:

On Jan 19, 2012, at 10:19 PM, Benedict Singer wrote:


Hi all,

I've been away from Lilypond for a while (I used it as a composer to set my 
pieces, and composition has taken a back seat for a few years). I just want to 
say that looking at the new features in 2.14 (and in 2.12 before that), it's 
incredible what everyone has done, so much thanks!


Welcome back!


Alternatively, do I need to play games with stopping/starting staffs and 
reprinting clefs/key signatures? If so, how do I make it look exactly like the 
start of a new system (brackets, possibly instrument names, etc)?

This is a fairly difficult job for lilypond to do - I'm not sure if there's an 
issue on our isuse tracker open for this, but it's worth e-mailing the bug list 
just to check.

A quick idea (you'd have to make it un-ugly, but the functionality is there):
I had considered this idea, but forgotten that you can have full score 
blocks inside markups, and that instrument names could be full markups. 
With your example, it all came back to me, and so far it works fine. 
I'll have to manually tweak the indents to get each one correct, so it's 
not completely automatic, but I think this approach should suffice, 
since the prefaces are all short and simple. For the curious who come 
after me, I've attached a rework of my previous example in the new style 
showing what this looks like.


Thanks!

Ben
\version "2.14.0"

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

priestNotesOne = \relative c' { g1 }
priestLyricsOne = \lyricmode { "O Lord open thou our lips" }

sopNotesOne = \relative c'' { c4 c c c c c c c }
sopLyricsOne = \lyricmode { And our mouths shall show forth thy praise }

altoNotesOne = \relative c' { e4 e e e e e e e }

tenorNotesOne = \relative c' { g4 g g g g g g g }

bassNotesOne = \relative c { c4 c c c c c c c }

preface = \markup {
\general-align #Y #CENTER {
\score {
\new Staff = "p" << \new Voice = "priest" { \clef bass \voiceOne << \global \priestNotesOne >> }
\new Lyrics \lyricsto "priest" \priestLyricsOne >>
\layout {}
}
\hspace #'5
}
}

\score {
\new ChoirStaff <<
\new Staff = "sa" <<
\new Voice = "sopranos" { \voiceOne << \global \sopNotesOne >> }
\new Voice = "altos" { \voiceTwo << \global \altoNotesOne >> }
>>
\new Lyrics \with { alignAboveContext = #"sa" } \lyricsto "sopranos" \sopLyricsOne
\new Lyrics \with { alignBelowContext = #"sa" } \lyricsto "altos" \sopLyricsOne

\new Staff = "tb" \with { instrumentName = \preface } <<
\clef bass
\new Voice = "tenors" { \voiceOne << \global \tenorNotesOne >> }
\new Voice = "basses" { \voiceTwo << \global \bassNotesOne >> }
>>
\new Lyrics \with { alignAboveContext = #"tb" } \lyricsto "tenors" \sopLyricsOne
\new Lyrics \with { alignBelowContext = #"tb" } \lyricsto "basses" \sopLyricsOne
>>
\layout { indent = 90 }
}

priestNotesTwo = \relative c { e4 g g a g g g }
priestLyricsTwo = \lyricmode { O God make speed to save us }

sopNotesTwo = \relative c'' { c4 c c c c c c }
sopLyricsTwo = \lyricmode { O Lord make haste to help us }

altoNotesTwo = \relative c' { e4 e e e e e e }

tenorNotesTwo = \relative c' { g4 g g g g g g }

bassNotesTwo = \relative c { c4 c c c c c c }

prefaceTwo = \markup {
\general-align #Y #CENTER {
\score {
\new Staff = "p" << \new Voice = "priest" { \clef bass \voiceOne << \global \priestNotesTwo >> }
\new Lyrics \lyricsto "priest" \priestLyricsTwo >>
\layout {}
}
\hspace #'5
}
}

\score {
\new ChoirStaff <<
\new Staff = "sa" <<
\new Voice = "sopranos" { \voiceOne << \global \sopNotesTwo >> }
\new Voice = "altos" { \voiceTwo << \global \altoNotesTwo >> }
>>
\new Lyrics \with { alignAboveContext = #"sa" } \lyricsto "sopranos" \sopLyricsTwo
\new Lyrics \with { alignBelowContext = #"sa" } \lyricsto "altos" \sopLyricsTwo

\new Staff = "tb" \with { instrumentName = \prefaceTwo } <<
\clef bass
\new Voice = "tenors" { \voiceOne << \global \tenorNotesTwo >> }
\new Voice = "basses" { \voiceTwo << \global \bassNotesTwo >> }
>>
\new Lyrics \with { alignAboveContext = #"tb" } \lyricsto "tenors" \sopLyricsTwo
\new Lyrics \with { alignBelowContext = #"tb" } \lyricsto "basses" \sopLyricsTwo
>>
\layout { indent = 90 }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reduce width of single measure

2012-01-19 Thread Thomas Morley
Hi David,

2012/1/19 David Nalesnik :
> Hi Frank,
>
> On Thu, Jan 19, 2012 at 3:48 PM, Thomas Morley
>  wrote:
>>
>> Hi Frank,
>>
>> 2012/1/17 Frank Steinmetzger :
>>
>> > Is there an automatic way to resolve this, i.e. that all "ness"
>> > syllables are
>> > properly aligned again?
>
>
> It appears the text will be aligned to the head of the first note between <
>>, so specify the upper of the two first: so, rather than , 
>
> -David
>

of course!!

Thanks,
  Harm

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


Re: Page layout issues setting Preces & Responses (or, how to remove line breaks between \score blocks)

2012-01-19 Thread Vaughan McAlley
On 20 January 2012 10:29, Benedict Singer  wrote:
> On 01/19/2012 01:32 PM, m...@apollinemike.com wrote:
>>
>> On Jan 19, 2012, at 10:19 PM, Benedict Singer wrote:
>>
>>> Hi all,
>>>
>>> I've been away from Lilypond for a while (I used it as a composer to set
>>> my pieces, and composition has taken a back seat for a few years). I just
>>> want to say that looking at the new features in 2.14 (and in 2.12 before
>>> that), it's incredible what everyone has done, so much thanks!
>>>
>> Welcome back!
>>
>>> Alternatively, do I need to play games with stopping/starting staffs and
>>> reprinting clefs/key signatures? If so, how do I make it look exactly like
>>> the start of a new system (brackets, possibly instrument names, etc)?
>>
>> This is a fairly difficult job for lilypond to do - I'm not sure if
>> there's an issue on our isuse tracker open for this, but it's worth
>> e-mailing the bug list just to check.
>>
>> A quick idea (you'd have to make it un-ugly, but the functionality is
>> there):
>
> I had considered this idea, but forgotten that you can have full score
> blocks inside markups, and that instrument names could be full markups. With
> your example, it all came back to me, and so far it works fine. I'll have to
> manually tweak the indents to get each one correct, so it's not completely
> automatic, but I think this approach should suffice, since the prefaces are
> all short and simple. For the curious who come after me, I've attached a
> rework of my previous example in the new style showing what this looks like.
>
> Thanks!
>
> Ben
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Nancho Alvarez uses this technique (score within marked-up instrument
name) to produce incipits of renaissance choral music. They look
great! See any recent score from this page:

http://www.uma.es/victoria/partituras.html

Vaughan

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


Re: Reduce width of single measure

2012-01-19 Thread David Nalesnik
Hi Harm!

On Thu, Jan 19, 2012 at 6:34 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:

> Hi David,
>
> 2012/1/19 David Nalesnik :
> > Hi Frank,
> >
> > On Thu, Jan 19, 2012 at 3:48 PM, Thomas Morley
> >  wrote:
> >>
> >> Hi Frank,
> >>
> >> 2012/1/17 Frank Steinmetzger :
> >>
> >> > Is there an automatic way to resolve this, i.e. that all "ness"
> >> > syllables are
> >> > properly aligned again?
> >
> >
> > It appears the text will be aligned to the head of the first note
> between <
> >>, so specify the upper of the two first: so, rather than , 
> >
> > -David
> >
>
> of course!!
>

Yes, well it seems simple in retrospect for me too!  But, like Frank, I
tend to enter chords from bottom up.  In a case like this, I expect that
the lyric alignment will be to the note which governs stem direction.
 (This, after all, governs alignment between notes on different staves.)

Initially, (before what I'm sure I've seen documented elsewhere in some
context hit me), I was playing around with resetting the X-parent from one
note-head to another.  This, for example, would set the X-parent (and thus
the alignment) to the last note between < > instead of the first:

#(define test
   (lambda (grob)
 (let ((note-heads (ly:grob-object (ly:grob-parent (ly:grob-parent grob
X) X) 'note-heads)))
   (set! (ly:grob-parent grob X)
 (ly:grob-array-ref note-heads (1- (ly:grob-array-length
note-heads)))

Call it with:

\override Lyrics . LyricText #'before-line-breaking = #test

I'm sure this could be modified to target the note that governs stem
direction.

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


Re: Collision between tie and pitched trill

2012-01-19 Thread Caio Barros
In this example is not so visible. But is there.
In smaller staff sizes it gets worse because the tie is thicker. I actually
saw this error in an orchestral score with very small staffs.

 \version "2.14.2"

#(set-global-staff-size 8)

\relative g'' {

\pitchedTrill g1 ~ \startTrillSpan a g2

}


If you use other interval other than the second it's even more visible

 \version "2.14.2"

\relative g'' {

\pitchedTrill g1 ~ \startTrillSpan bes g2

}





2012/1/19 Patrick Karl 

>
> > Message: 2
> > Date: Thu, 19 Jan 2012 00:34:09 -0200
> > From: Caio Barros 
> > To: Keith OHara 
> > Cc: lilypond-user@gnu.org
> > Subject: Re: Collision between tie and pitched trill
> >
> > Yes, but it's still a collision.
>
> It looks ok at 2.14.2.  I don't see a collision.
>
> > 2012/1/19 Keith OHara 
> >
> >> Caio Barros  gmail.com> writes:
> >>> \relative g'' {
> >>> \pitchedTrill g1 ~ \startTrillSpan aes g2
> >>> }
> >>
> >> You can use '^' or '_' to force the tie above or below the note head
> >>
> >> { \pitchedTrill g''1_~ \startTrillSpan aes g''2 }
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reduce width of single measure

2012-01-19 Thread David Nalesnik
Hi again--

On Thu, Jan 19, 2012 at 7:22 PM, David Nalesnik wrote:

> Hi Harm!
>
> I'm sure this could be modified to target the note that governs stem
> direction.
>
>
I'm not sure if my reasoning is correct (or if this all is particularly
useful), but the function in the attached file attempts to align the text
item (also a dynamic text in another example) the same way regardless of
the order in which you enter the notes. (Uncomment the \override to see
what the function does.)   Unfortunately, it won't work with 2.12 since it
uses ly:grob-array->list.

-David


lyric-alignment.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user