Re: Slashes in leadsheets

2012-02-11 Thread Francisco Vila
2012/2/10 Robin Bannister :
> Maybe you can make do with the (cheap imitation) slash provided towards the
> end of the same thread? See simile.ly

\chordmode { c1 g1 e1:m \percentCN e1:m \percentCN e1:m a1:m bes1 c1 }
\score {<< \new ChordNames { \set chordChanges = ##f \harmonies } >>}

Looks great, thanks!

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Slashes in leadsheets

2012-02-11 Thread Francisco Vila
2012/2/11 Thomas Morley :
> how aboutthe code below?  Is there something wrong with it?

Wonderful. Many thanks for those quick and clever responses!
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: LilyBin Launch

2012-02-11 Thread Janek Warchoł
2012/2/11 Brett McCoy :
> On Fri, Feb 10, 2012 at 7:24 PM, trevordixon  wrote:
>> The "Experimental Web-based LilyPond Editor" now has a name and a home at
>> http://www.lilybin.com! Features since last update in the previous thread
>> include:
>
> Doesn't seem to be reachable right now...

I can't access it, either: "Firefox can't find the server at www.lilybin.com."

Janek

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


Re: LilyBin Launch

2012-02-11 Thread GRAEME F ST CLAIR
I'm going to suggest that most of us have some sort of 
firewall/AV problem here.  I even tried 
downforeveryone.com and it came up with fail too.


Rgds, GFStC.

On Sat, 11 Feb 2012 09:34:23 +0100
 Janek Warchoł  wrote:

2012/2/11 Brett McCoy :
On Fri, Feb 10, 2012 at 7:24 PM, trevordixon 
 wrote:
The "Experimental Web-based LilyPond Editor" now has a 
name and a home at
http://www.lilybin.com! Features since last update in 
the previous thread

include:


Doesn't seem to be reachable right now...


I can't access it, either: "Firefox can't find the 
server at www.lilybin.com."


Janek

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



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


Re: LilyBin Launch

2012-02-11 Thread Robert Schmaus

Drop the "www" and it works ...


On 11 Feb 2012, at 09:34, Janek Warchoł  wrote:

> 2012/2/11 Brett McCoy :
>> On Fri, Feb 10, 2012 at 7:24 PM, trevordixon  wrote:
>>> The "Experimental Web-based LilyPond Editor" now has a name and a home at
>>> http://www.lilybin.com! Features since last update in the previous thread
>>> include:
>> 
>> Doesn't seem to be reachable right now...
> 
> I can't access it, either: "Firefox can't find the server at www.lilybin.com."
> 
> Janek
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: LilyBin Launch

2012-02-11 Thread trevordixon

Yep! Should be able to POST to http://lilybin.com/save. The body should
include 'code=' followed by the LilyPond score, and optionally '&version='
followed by either 'stable' or 'unstable'. The response will indicate an id,
which you can append to http://lilybin.com/ to get a url.


Nils Hammerfest wrote:
> 
> 
>> Dropbox file management features are meager right now. Soon I'll add
>> things like deleting files, saving PDFs, and other stuff. Please
>> contribute feature requests to this thread!
>> 
>> 
>> Trevor
> 
> can I send text to lilybin via http or another protocol/api? I want to do
> a shellscript to upload data and get the url back from your server. 
> 
> Nils
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/LilyBin-Launch-tp33304289p33305238.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: Instrument line in header block - first piece only?

2012-02-11 Thread -Eluze


harm6 wrote:
> 
> I'm not sure to understand:
> The default is explained in NR 3.2.1
> How to create custom-titles etc in NR 3.2.2
> 
> I don't think that there is any need to change something.
> 
hi Harm

my experience is that using instrument in oddFooterMarkup always shows the
instrument defined in the books' header and not that of the score.

can this be achieved?
Eluze
-- 
View this message in context: 
http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33305343.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: LilyBin Launch

2012-02-11 Thread trevordixon

www.lilybin.com wasn't working, but should be now. http://lilybin.com has
been working, and http://lily.sytes.net should still be up too.

Robert Schmaus wrote:
> 
> 
> Drop the "www" and it works ...
> 
> 
> On 11 Feb 2012, at 09:34, Janek Warchoł  wrote:
> 
>> 2012/2/11 Brett McCoy :
>>> On Fri, Feb 10, 2012 at 7:24 PM, trevordixon 
>>> wrote:
 The "Experimental Web-based LilyPond Editor" now has a name and a home
 at
 http://www.lilybin.com! Features since last update in the previous
 thread
 include:
>>> 
>>> Doesn't seem to be reachable right now...
>> 
>> I can't access it, either: "Firefox can't find the server at
>> www.lilybin.com."
>> 
>> Janek
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/LilyBin-Launch-tp33304289p33305350.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: LilyBin Launch

2012-02-11 Thread Janek Warchoł
2012/2/11 trevordixon :
>
> www.lilybin.com wasn't working, but should be now. http://lilybin.com has
> been working, and http://lily.sytes.net should still be up too.

All work for me now.  Thanks,
Janek

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


Re: LilyBin Launch

2012-02-11 Thread Federico Bruni

Il 11/02/2012 04:37, Bernardo Barros ha scritto:

+ would be nice a Diaspora button too, not just Facebook


there's no facebook button :)
just dropbox

the free alternartive to dropbox could be sparkleshare:
http://sparkleshare.org/

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


Re: LilyBin Launch

2012-02-11 Thread Helge Kruse

Am 11.02.2012 11:19, schrieb Federico Bruni:

Il 11/02/2012 04:37, Bernardo Barros ha scritto:

+ would be nice a Diaspora button too, not just Facebook


there's no facebook button :)
just dropbox

the free alternartive to dropbox could be sparkleshare:
http://sparkleshare.org/


This doesn't support all o/s that Lilypond supports.

Helge

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


Re: LilyBin Launch

2012-02-11 Thread Federico Bruni

Il 11/02/2012 11:16, Helge Kruse ha scritto:

Am 11.02.2012 11:19, schrieb Federico Bruni:

Il 11/02/2012 04:37, Bernardo Barros ha scritto:

+ would be nice a Diaspora button too, not just Facebook


there's no facebook button :)
just dropbox

the free alternartive to dropbox could be sparkleshare:
http://sparkleshare.org/


This doesn't support all o/s that Lilypond supports.



The only os missing is Windows.
And it seems that somehow you can install it even on Windows:

http://is101507.students.fhstp.ac.at/?p=147

http://sparkleshare.org/2011/06/releasing-sparkleshare-0-2/
"Plans for the near future
I would really like to try and get more people involved to work on the 
Windows version (it runs, but it’s hard to get running and it doesn’t 
integrate well with the system) "


I think that many people in this list consider freedom a more important 
value than "being absolutely crossplatform" and would be interested in 
this application (it works even on Android).


Cheers,
Federico

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


Mix MusixTex and LilyPond

2012-02-11 Thread Hartmut Leister
Hello all,

I'm writing/producing a song book, but want to use both LilyPond and
MusixTex, since I already got sheets in both types/languages.

Here's what I do so far:
(1) Use lilypond-book to translate LY to TEX
(2) link the new TEX-file from the MusixTex-Project
(3) translate MusixTex to pdf

Is there an easier way to combine LilyPond and MusixTex in one
document/project?
Is there a possibility to convert MusixTex to Lilypond or vice versa?

Best wishes
Hartmut

-- 
Hartmut Leister 
Hofer Straße 58a, 04317 Leipzig
0175/8491877
http://www-user.tu-chemnitz.de/~harl
--
E-Mails richtig schreiben:
http://www-user.tu-chemnitz.de/~harl/email_nettiquette.php
http://www-user.tu-chemnitz.de/~harl/gpg.php

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


Re: Mix MusixTex and LilyPond

2012-02-11 Thread David Kastrup
Hartmut Leister  writes:

> Hello all,
>
> I'm writing/producing a song book, but want to use both LilyPond and
> MusixTex, since I already got sheets in both types/languages.
>
> Here's what I do so far:
> (1) Use lilypond-book to translate LY to TEX
> (2) link the new TEX-file from the MusixTex-Project
> (3) translate MusixTex to pdf
>
> Is there an easier way to combine LilyPond and MusixTex in one
> document/project?
> Is there a possibility to convert MusixTex to Lilypond or vice versa?

MusiXTeX is about as useful for conversion to LilyPond as PostScript is
for conversion to LaTeX.  It is a very low-level format with lots of
nitty-gritty details which you need to convert into a higher-level
meaning if you aim to make a useful conversion.

Usually format conversion between different streaks is to find some
application that, for whatever reason, has import and export filters.

I don't think anything can import MusiXTeX.  And it does not produce
Midi either and does not has an actual view of the source that would be
convertible to anything but a score sheet.

So your best bet are likely optical music recognition programs in the
long run.

Other than that, you can likely typeset your MusicTeX sheets to PDF and
include them as graphics in the LaTeX part of your Lilypond-book
document.  That sounds like it would be somewhat more natural than your
current workflow.

-- 
David Kastrup


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


Re: Slashes in leadsheets

2012-02-11 Thread Robin Bannister
Thomas Morley wrote:  

how about the code below?  Is there something wrong with it?
(Tested with "2.14.2" and "2.15.24")


I thought Neil was implying it would stop working. 
I see it works with 2.15.29 too. 

But the result seems pretty halfbaked to me; 
what additional information is the player given 
via (the clutter of) slashes and percents? 
Slash noteheads are something else. 



Cheers, 
Robin


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


Re: Thinking about putting together a grant to support development onLilyPond

2012-02-11 Thread pls

Am 09.02.2012 um 17:26 schrieb Phil Holmes:

> - Original Message - From: "Han-Wen Nienhuys" 
> To: "Carl Sorensen" 
> 
>>> C) Development of score_ocr2ly, which would take a score pdf and turn it
>>> into .ly files matching the lilypond scoring standard
>> 
>> Heh.  This is a known problem, and the OCR part is very, very
>> difficult. It also has nothing to do with lilypond.
> 
> 
> There are a number of commercial products that, given a perfect 
> representation of a score, convert it to perfect musicXML - so it can't be 
> that hard.  
Hm, could you name some, please? I haven't come across such a product, yet.
> It may simply be that the OS community do not generally have these skills.
> 
> --
> Phil Holmes 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: LilyBin Launch

2012-02-11 Thread Nils
Am Sat, 11 Feb 2012 01:08:59 -0800 (PST)
schrieb trevordixon :

> 
> Yep! Should be able to POST to http://lilybin.com/save. The body
> should include 'code=' followed by the LilyPond score, and optionally
> '&version=' followed by either 'stable' or 'unstable'. The response
> will indicate an id, which you can append to http://lilybin.com/ to
> get a url.

Very good, will try that soon.
This leads to another question:
Is there an expiring time? 

I can imagine that the lilybin is not used as editor but more as a
quick show-and-forget or a quick test. Or maybe 10 to 20 tests in a
row, for "what is wrong?" questions over IRC. 

So I expect the files to be deleted after a short time, is that correct?

Nils
  

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


Re: LilyBin Launch

2012-02-11 Thread Nils
Am Sat, 11 Feb 2012 01:08:59 -0800 (PST)
schrieb trevordixon :

I forgot:
The return value gives me "revision", which is always 1.
It would be nice to return the ID via post so that my old file gets
overwritten.

Nils

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


Re: Thinking about putting together a grant to support development onLilyPond

2012-02-11 Thread Phil Holmes
- Original Message - 
From: "pls" 

To: "Phil Holmes" 

> There are a number of commercial products that, given a perfect 
> representation of a score, convert it to perfect musicXML - so it can't 
> be that hard.


Hm, could you name some, please? I haven't come across such a product, 
yet.


Sharpeye.

--
Phil Holmes



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


Re: Instrument line in header block - first piece only?

2012-02-11 Thread Thomas Morley
Hi Eluze,

2012/2/11 -Eluze :
>
>
> harm6 wrote:
>>
>> I'm not sure to understand:
>> The default is explained in NR 3.2.1
>> How to create custom-titles etc in NR 3.2.2
>>
>> I don't think that there is any need to change something.
>>
> hi Harm
>
> my experience is that using instrument in oddFooterMarkup always shows the
> instrument defined in the books' header and not that of the score.
>
> can this be achieved?
> Eluze

playing around with titling-init.ly I come up with :

\version "2.14.2"

myBookTitle =  \markup {
  \override #'(baseline-skip . 3.5)
  \column {
\fill-line { \fromproperty #'header:dedication }
\override #'(baseline-skip . 3.5)
\column {
  \huge \larger \bold
  \fill-line {
\larger \fromproperty #'header:myTitle
  }
  %\fill-line {
  %  \large \smaller \bold
  %  \larger \fromproperty #'header:subtitle
  %}
  %\fill-line {
  %  \smaller \bold
  %  \fromproperty #'header:subsubtitle
  %}
  \fill-line {
\fromproperty #'header:poet
  %  { \large \bold \fromproperty #'header:instrument }
\fromproperty #'header:myComposer
  }
  %\fill-line {
  %  \fromproperty #'header:meter
  %  \fromproperty #'header:arranger
  %}
}
  }
}

myScoreTitle = \markup {
\override #'(baseline-skip . 3.5)
\column {
  \fill-line { \fromproperty #'header:dedication }
  \override #'(baseline-skip . 3.5)
  \column {
\huge \larger \bold
\fill-line {
  \larger \fromproperty #'header:title
}
\fill-line {
  \large \smaller \bold
  \larger \fromproperty #'header:subtitle
}
\fill-line {
  \smaller \bold
  \fromproperty #'header:subsubtitle
}
\fill-line {
  \fromproperty #'header:poet
   % { \large \bold \fromproperty #'header:instrument }
  \null %\fromproperty #'header:composer
}
% \fill-line {
%   \fromproperty #'header:meter
%   \fromproperty #'header:arranger
% }
\fill-line {
  \fromproperty #'header:piece
  \fromproperty #'header:opus
}
  }
}
}

music = \relative c' {
\repeat unfold 10 { c1 \break }
\pageBreak
\repeat unfold 10 { c1 \break }
\pageBreak
\repeat unfold 10 { c1 \break }
\bar "|."
}

\paper {
ragged-right = ##f
ragged-last-bottom = ##f
scoreTitleMarkup = \myScoreTitle
bookTitleMarkup = \myBookTitle

oddHeaderMarkup = \markup
 \fill-line {
  %% force the header to take some space, otherwise the
  %% page layout becomes a complete mess.
  " "
  % Next line is commented to show the instrument
  % on the first page.
  %\on-the-fly #not-first-page
  \fromproperty #'header:instrument
  \on-the-fly #print-page-number-check-first
  \fromproperty #'page:page-number-string
}
}


\book {
\header {
myTitle = "Das Wohltemperierte Klavier"
myComposer = "J.S. Bach"
}
% FUGA I
 \bookpart {

\markup \vspace #5

\header {
title = "FUGA I"
piece = "a 4"
instrument = "First Instrument"
   }
\score {
\new Staff \music
}
 }
% Fuga II
 \bookpart {
\header {
title = "FUGA II"
piece = "a 4"
instrument = "Second Instrument"
myTitle = ""
myComposer = ""
}
\score {
\new Staff \music
}
 }
% Fuga III
 \bookpart {
\header {
title = "FUGA III"
piece = "a 4"
instrument = "Third Instrument"
myTitle = ""
myComposer = ""
}
\score {
\new Staff \music
}
 }
}

Note: I commented the currently not needed lines in order to
facilitate making other custom-output.

Personally I use the bookTitleMarkup only to create a custom-tagline.
For the title page I use sth like Nicolas demonstrated in
http://lsr.dsi.unimi.it/LSR/Item?id=368

HTH,
  Harm

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


Re: Slashes in leadsheets

2012-02-11 Thread Thomas Morley
Hi Robin,

2012/2/11 Robin Bannister :
> Thomas Morley wrote:
>>
>> how about the code below?  Is there something wrong with it?
>>
>> (Tested with "2.14.2" and "2.15.24")
>
>
> I thought Neil was implying it would stop working. I see it works with
> 2.15.29 too.
> But the result seems pretty halfbaked to me; what additional information is
> the player given via (the clutter of) slashes and percents?

agreed, completely. I merely tried to make work what Francisco wanted.

> Slash noteheads are something else.

Personally I'd prefer sth like the attached. But it might not work
with the latest devel-version due to the changes with EventChord. (I
can't test it. "2.15.24" is currently my highest version.)

Cheers,
  Harm
\version "2.14.2"

% http://lists.gnu.org/archive/html/lilypond-user/2009-01/msg00588.html
% http://lists.gnu.org/archive/html/lilypond-user/2009-01/msg00628.html 
% http://lists.gnu.org/archive/html/lilypond-user/2011-11/msg00196.html

#(define (has-duration? music) 
  (ly:duration? (ly:music-property music 'duration))) 

#(define (not-has-duration? music) 
  (not (has-duration? music))) 

keepsOnlyFirstNote = #(define-music-function (parser location music) (ly:music?) 
(music-map 
  (lambda (evt) 
   (if (eq? 'EventChord (ly:music-property evt 'name)) 
  (let ((elts (ly:music-property evt 'elements))) 
   (if (has-duration? (car elts)) 
(ly:music-set-property! evt 'elements (cons 
 (car elts) 
 (filter not-has-duration? (cdr elts))) 
  evt) 
music)) 

chordAlign =
#(define-music-function (parser location dir)(number?)

(define (chordNameCallback grob)
	"
	LEFT = -1
	RIGHT = 1
	CENTER = 0
	"
  (let* ((ch (ly:text-interface::print grob)))
  	(ly:stencil-aligned-to ch X dir)))
;; "2.15.24": remove the "$" in the following expression!
#{
%\once 
\override ChordNames.ChordName #'stencil = #$chordNameCallback
#})

Changes = \chordmode { \chordAlign #-1 r4 g:m r4 f8 d8:m7 ~ d1:m7 r4 g:m r4 f8 d8:m7 ~ d1:m7}
Melody = \relative c'' { 
g4 c a f ~ 
f1 \break  
g4 c a f ~ 
f1	   
}

\score {
<<
\new RhythmicStaff \with { 
	\override VerticalAxisGroup #'staff-staff-spacing =		
 		  #'((basic-distance . 1)
 		 (minimum-distance . 1)
 		 (padding . 1))
 	\accepts "ChordNames"
} 
<<
\new Voice \chords { \Changes }
\new Voice { \keepsOnlyFirstNote \Changes }
>>
  
\new Staff {
\key f \major
\clef treble
\time 4/4
\Melody  
}
 >>
 \layout {
   indent=0
\context {
	\ChordNames
	  \override ChordName #'Y-offset = #4
	  \override ChordName #'font-size = #'-1
	  noChordSymbol = ##f
	  chordChanges = ##t
}
\context {
	\RhythmicStaff
 	  \override StaffSymbol #'staff-space = #(magstep -3)
 	  \override StaffSymbol #'line-count = #0
 	  \override BarLine #'stencil = ##f
 	  \override TimeSignature #'transparent = ##t
 	  \override NoteHead #'style = #'slash 
 	  \override NoteColumn #'X-offset = #0.5
 	  fontSize = #-7
 	  \override Stem #'direction = #UP % = \stemUp 
}

 } % layout
} % score  

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


Re: Slashes in leadsheets

2012-02-11 Thread Robin Bannister

what Francisco wanted [?]


http://lists.gnu.org/archive/html/lilypond-es/2012-02/jpgGbKXsMUjKS.jpg

Cheers, 
Robin


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


Re: Thinking about putting together a grant to support development onLilyPond

2012-02-11 Thread Janek Warchoł
W dniu 10 lutego 2012 14:30 użytkownik Graham Percival
 napisał:
> I suggest the following:
>
> 1) pick a specific work, or body of works, which are
> unquestionably in the public domain.  A Dvorak string quartet?
> Beethoven piano concerto?  Bach chorales?  Something already in
> mutopia?
> (actually, I quite like the mutopia angle, since then nobody needs
> to spend time typing in a score)

I don't think that's a good idea.  People will read the description
and say "what's the point?  the score is already available, in free
format!  i better spend my money on something like Open Goldberg
Variations".
Remember that most people cannot tell good engraving from bad one.
Even many musicians don't; my conductor - otherwise a really competent
musician - uses finale-crap scores that make me cry, and doesn't even
notice any problem.
See how Musescore Open Goldberg Variations advertised themselves:
http://www.kickstarter.com/projects/293573191/open-goldberg-variations-setting-bach-free/posts/61854
The Musescore-made snippet is not that great engraving-wise, but people dug it.

W dniu 10 lutego 2012 14:36 użytkownik Graham Percival
 napisał:
> I know that lots of people will want lots of fancy stuff like
> lyrics, tablature, orchestral scores, contemporary notation, etc
> -- but I really, really, strongly suggest that you aim to have a
> turn-over of a month at most in the beginning, which means keeping
> the first few scores being fairly simple and small.

+1000

cheers,
Janek

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


Re: Slashes in leadsheets

2012-02-11 Thread David Kastrup
Thomas Morley  writes:

> Personally I'd prefer sth like the attached. But it might not work
> with the latest devel-version due to the changes with EventChord. (I
> can't test it. "2.15.24" is currently my highest version.)

I have not checked this in practice, but theoretically, the only
affected function would appear to be keepOnlyFirstNote (or so), and
since this function makes a difference only when there is more than one
note, namely, when there _is_ an EventChord, I don't think that the
EventChord changes should cause any difference here.

Of course, if you use chord repetitions (q) here, keepOnlyFirstNote will
only be able to do its job if you have already run \chordRepeats
manually (instead of waiting for its automatic run at the start of
typesetting).

I have been really messing with a lot of code, it would seem.

-- 
David Kastrup


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


Re: LilyBin Launch

2012-02-11 Thread MING TSANG
I like it.  Thank you for the convenience.
Question:
1.  Is it possible for Lilybin (lilypond editor) to display multiple pages?
2.  There is \midi{} on the sample (initial screen). How can I get the midi 
file as well? 

 
Blessing in+,
Ming


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


[Video]LilyBin.com and Laborejo Export

2012-02-11 Thread Nils
Hello,

I integrated LilyBin.com export/upload into Laborejo - Music Notation
Workshop.

Here is a short video showing the feature.

http://www.youtube.com/watch?v=2f15deJq_Bo

greetings, 

Nils
http://www.laborejo.org

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


Re: Instrument line in header block - first piece only?

2012-02-11 Thread -Eluze


harm6 wrote:
> 
> 
> 
> playing around with titling-init.ly I come up with :
> …
> 
hi Harm

this will also not reflect the score's header on the page header line
specially when you have more than one score per bookpart!

thanks
Eluze
-- 
View this message in context: 
http://old.nabble.com/Instrument-line-in-header-block---first-piece-only--tp33292446p33306696.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: LilyBin Launch

2012-02-11 Thread Brett McCoy
On Sat, Feb 11, 2012 at 3:39 AM, GRAEME F ST CLAIR
 wrote:
>
> I'm going to suggest that most of us have some sort of firewall/AV problem
> here.  I even tried downforeveryone.com and it came up with fail too.

I am running Linux so no built in firewall or anti-virus running here!
As it's working now, I think more likely DNS hadn't propagated around
the world yet.

-- 
Brett W. McCoy -- http://www.brettwmccoy.com

"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
    -- Jelaleddin Rumi

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


Re: LilyBin Launch

2012-02-11 Thread MING TSANG
Sorry!  I missed the next page and previous page buttons. Question 2 remains.  
Thank you.

 
Blessing in+,


>
> From: MING TSANG 
>To: "lilypond-user@gnu.org" ; 
>"lilypond-user-requ...@gnu.org"  
>Sent: Saturday, February 11, 2012 9:54:16 AM
>Subject: Re: LilyBin Launch
> 
>
>I like it.  Thank you for the convenience.
>Question:
>1.  Is it possible for Lilybin (lilypond editor) to display multiple pages?
>2.  There is \midi{} on the sample (initial screen). How can I get the midi 
>file as well? 
> 
>Blessing in+,
>Ming
>
>
>>
>>
>>
>>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Vertically align bar line in polyphonic music

2012-02-11 Thread Marcel Korpel
Hi all,

Example at http://pastebin.com/1USBkWCH

I am transcribing a 16th-century mass for 4 voices I got the next
problem: its Kyrie is divided in three parts that are separated by a
|| bar. The last note of each part is a longa (sometimes with a
fermata) that just fills up the rest of the space until all voices
pause. In the upper voices I manually expanded the internal measure
length to fit the longa in one bar (lines 47 and 76). Those voices
look correctly.

As the two lower voices reach the longa at earlier places, I need to
fill the leading space with invisible rests ('s', lines 98 and 118).
In the example the || appears too soon, it needs to be moved to the
end of the measure. But when I fill up the remaining time with 's1 s1'
(just after the single one in line 98, another (normal) bar line is
inserted at the place where the || was. Of course I don't want that
extra bar line to appear.

The question is: what's the best way to fill up that remaining space
in the two lower voices? Or is there a better way to vertically align
the || bar line? At
http://img209.imageshack.us/img209/4620/lilytest.png I uploaded a
mockup of what the score should look like.

Thanks in advance!

Kind regards,
Marcel

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


Re: Slashes in leadsheets

2012-02-11 Thread Francisco Vila
2012/2/11 Robin Bannister :
>> what Francisco wanted [?]
>
>
> http://lists.gnu.org/archive/html/lilypond-es/2012-02/jpgGbKXsMUjKS.jpg
>
>

Exactly, thanks. Latest example from Thomas Morley (not _that_ Thomas
Morley, I guess :-) ) is more precise and better, but I think plain
slashes are a quick way of indicating 'beat' repeats. Looks useful in
the most common case of leadsheets in which chords change in wholes or
halves, in beats at most, but not in eighths.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Slashes in leadsheets

2012-02-11 Thread David Nalesnik
Hi Francisco,

On Sat, Feb 11, 2012 at 4:54 PM, Francisco Vila wrote:

> 2012/2/11 Robin Bannister :
> >> what Francisco wanted [?]
> >
> >
> > http://lists.gnu.org/archive/html/lilypond-es/2012-02/jpgGbKXsMUjKS.jpg
> >
> >
>
> Exactly, thanks. Latest example from Thomas Morley (not _that_ Thomas
> Morley, I guess :-) ) is more precise and better, but I think plain
> slashes are a quick way of indicating 'beat' repeats.


What about something like this?  It's a simple Scheme engraver which
replaces repeated chord-name text with a slash.  (For the slash, I just
removed the dots from the repeat markup which Robin posted in the other
thread.)  It's pretty rough, but it works with your last example.  I don't
have a more extensive example to try it out on to see where it might break
down!

\version "2.15.24"

simile = \markup {
  \rotate #90 \translate #'(0 . 2) \beam #2 #-1 #0.5
}

test =
#(lambda (context)
  (let ((text #f))
`((acknowledgers
  (chord-name-interface .
,(lambda (engraver grob source-engraver)
  (if text
  (if (equal? text (ly:grob-property grob 'text))
  (set! (ly:grob-property grob 'text) simile)
  (set! text (ly:grob-property grob 'text)))
  (set! text (ly:grob-property grob 'text)


harmonies = \chordmode { c1 g e:m e:m e:m a:m bes c }

chs = \transpose c' c' {
  4 q q 
   \repeat unfold 3 {  }
  1
}

<< \new ChordNames { \set chordChanges = ##f \harmonies } >>

<<
  \new ChordNames { \chs }
  \new Staff \transpose c c' { \chs }
>>

\layout {
  \context {
\ChordNames
\consists #test
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Redefining Lilyponds internal scheme functions from my .ly file

2012-02-11 Thread Nils
Hello list,

Figured Bass standalone sharps and flats are much too small and have
the wrong position. I can change that in 
/scm/translation-functions.scm
(define-public (format-bass-figure figure event context)
line 147, change -2 2  to 0 0.
and line 160 change 0.3 to 0.1

Since there is a patch for this in the lilypond bugtracker, I think
for over a year or several years now, someone does not want this in
with a reason. However, I don't like to patch my Lilypond everytime I
upgrade.

Can I make these changes locally, attached to a .ly file so that I can
send it around?

Nils 

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


Re: lyrics disappear

2012-02-11 Thread -Eluze


ymingt wrote:
> 
> 2012-02-11_183404.png shows lyrics on the score.  I added voice two
> starting at 4th beat bar 5  to the end of bar 19 (first 3 beats). 
> 2012-02-11_183528.png shows that all lyrics in between disappear. Need
> help figure out why.
> 
> Here is the lilypond code:
> 
ther is this include which hinders a compilation:

\include "d:/lily_pond/include_number-notehead_smaller.ly"

hth
Eluze
-- 
View this message in context: 
http://old.nabble.com/lyrics-disappear-tp33308292p33308301.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: Vertically align bar line in polyphonic music

2012-02-11 Thread Matthew Collett
On 12/02/2012, at 9:25 am, Marcel Korpel wrote:

> I am transcribing a 16th-century mass for 4 voices I got the next
> problem: its Kyrie is divided in three parts that are separated by a
> || bar. The last note of each part is a longa (sometimes with a
> fermata) that just fills up the rest of the space until all voices
> pause. In the upper voices I manually expanded the internal measure
> length to fit the longa in one bar (lines 47 and 76). Those voices
> look correctly.

Unless you really want barlines at different times in different parts (and I am 
fairly sure you don't), leave the the timing translator and the bar line 
engraver in the score rather than moving them to the staff.  Then you only have 
to make and unmake the change of bar length in one part;  otherwise you need to 
do it in every part, which is tedious and error prone.

> As the two lower voices reach the longa at earlier places, I need to
> fill the leading space with invisible rests ('s', lines 98 and 118).

Just remember that the last bar has been made double length, so needs that much 
extra filling (i.e. an extra breve's worth in each part).

With those changes, it aligns fine for me.

Best wishes,
Matthew






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


Re: lyrics disappear

2012-02-11 Thread Matthew Collett
On 12/02/2012, at 12:55 pm, MING TSANG wrote:

> 2012-02-11_183404.png shows lyrics on the score.  I added voice two starting 
> at 4th beat bar 5  to the end of bar 19 (first 3 beats).  
> 2012-02-11_183528.png shows that all lyrics in between disappear. Need help 
> figure out why.

Don't use automatic voice creation with '\\'; it messes up the 'lyricsto', 
because it creates _two_ new voices.  Instead, use an explicit '\new Voice' for 
the second voice, so that the first voice continues the original one.

Best wishes,
Matthew


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


Re: Redefining Lilyponds internal scheme functions from my .ly file

2012-02-11 Thread Thomas Morley
Hi Nils

2012/2/12 Nils :
> Hello list,
>
> Figured Bass standalone sharps and flats are much too small and have
> the wrong position. I can change that in
> /scm/translation-functions.scm
> (define-public (format-bass-figure figure event context)
> line 147, change -2 2  to 0 0.
> and line 160 change 0.3 to 0.1
>
> Since there is a patch for this in the lilypond bugtracker, I think
> for over a year or several years now, someone does not want this in
> with a reason. However, I don't like to patch my Lilypond everytime I
> upgrade.
>
> Can I make these changes locally, attached to a .ly file so that I can
> send it around?
>
> Nils

1. Copy the definition of format-bass-figure in a file and name it,
perhaps myDefs.ly
2. Rename the definition. Perhaps #(define-public
(custom-format-bass-figure figure event context)
3. Add your changes/additions.
4. Include myDefs.ly in the current file you're working on.
5. Call it with figuredBassFormatter = #custom-format-bass-figure (in
\layout) or with
\set figuredBassFormatter = #custom-format-bass-figure in a context.

Isn't tested, but should work.

HTH,
  Harm

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


Re: lyrics disappear

2012-02-11 Thread Xavier Scheuer
On 12 February 2012 00:55, MING TSANG  wrote:
> 2012-02-11_183404.png shows lyrics on the score.  I added voice two starting
> at 4th beat bar 5  to the end of bar 19 (first 3 beats).
> 2012-02-11_183528.png shows that all lyrics in between disappear. Need help
> figure out why.

Don't use the << { … } \\ { … } >>  constructs, since they create
new voices "1" and "2" that are different from "main" voice outside
that construct.

Use explicitly instantiated voices instead.
http://code.google.com/p/lilypond/issues/detail?id=1316

Cheers,
Xavier

-- 
Xavier Scheuer 

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


Re: Vertically align bar line in polyphonic music

2012-02-11 Thread David Kastrup
Marcel Korpel  writes:

> Hi all,
>
> Example at http://pastebin.com/1USBkWCH
>
> I am transcribing a 16th-century mass for 4 voices I got the next
> problem: its Kyrie is divided in three parts that are separated by a
> || bar. The last note of each part is a longa (sometimes with a
> fermata) that just fills up the rest of the space until all voices
> pause. In the upper voices I manually expanded the internal measure
> length to fit the longa in one bar (lines 47 and 76). Those voices
> look correctly.
>
> As the two lower voices reach the longa at earlier places, I need to
> fill the leading space with invisible rests ('s', lines 98 and 118).
> In the example the || appears too soon, it needs to be moved to the
> end of the measure. But when I fill up the remaining time with 's1 s1'
> (just after the single one in line 98, another (normal) bar line is
> inserted at the place where the || was. Of course I don't want that
> extra bar line to appear.

16th century mass with full bar lines?

Anyway, you can scale the actual duration of a note with a given optical
duration by doing somthing like

c\longa*7/4

-- 
David Kastrup


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


Re: Instrument line in header block - first piece only?

2012-02-11 Thread Thomas Morley
Hi Eluze,

2012/2/11 -Eluze :
>
>
> harm6 wrote:
>>
>>
>>
>> playing around with titling-init.ly I come up with :
>> …
>>
> hi Harm
>
> this will also not reflect the score's header on the page header line
> specially when you have more than one score per bookpart!
>
> thanks
> Eluze

seems I don't catch your point. May I ask you to provide an example?

Best,
  Harm

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


Re: Slashes in leadsheets

2012-02-11 Thread Thomas Morley
Hi David,

2012/2/11 David Kastrup :
> Thomas Morley  writes:
>
>> Personally I'd prefer sth like the attached. But it might not work
>> with the latest devel-version due to the changes with EventChord. (I
>> can't test it. "2.15.24" is currently my highest version.)
>
> I have not checked this in practice, but theoretically, the only
> affected function would appear to be keepOnlyFirstNote (or so), and
> since this function makes a difference only when there is more than one
> note, namely, when there _is_ an EventChord, I don't think that the
> EventChord changes should cause any difference here.
>
> Of course, if you use chord repetitions (q) here, keepOnlyFirstNote will
> only be able to do its job if you have already run \chordRepeats
> manually (instead of waiting for its automatic run at the start of
> typesetting).
>
> I have been really messing with a lot of code, it would seem.
>
> --
> David Kastrup

as soon as I made an upgrade I'll test it.

Thanks,
  Harm

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


Re: Slashes in leadsheets

2012-02-11 Thread Thomas Morley
Hi David,

2012/2/12 David Nalesnik :
> Hi Francisco,
>
> On Sat, Feb 11, 2012 at 4:54 PM, Francisco Vila 
> wrote:
>>
>> 2012/2/11 Robin Bannister :
>> >> what Francisco wanted [?]
>> >
>> >
>> > http://lists.gnu.org/archive/html/lilypond-es/2012-02/jpgGbKXsMUjKS.jpg
>> >
>> >
>>
>> Exactly, thanks. Latest example from Thomas Morley (not _that_ Thomas
>> Morley, I guess :-) ) is more precise and better, but I think plain
>> slashes are a quick way of indicating 'beat' repeats.
>
>
> What about something like this?  It's a simple Scheme engraver which
> replaces repeated chord-name text with a slash.  (For the slash, I just
> removed the dots from the repeat markup which Robin posted in the other
> thread.)  It's pretty rough, but it works with your last example.  I don't
> have a more extensive example to try it out on to see where it might break
> down!
>
> \version "2.15.24"
>
> simile = \markup {
>   \rotate #90 \translate #'(0 . 2) \beam #2 #-1 #0.5
> }
>
> test =
> #(lambda (context)
>   (let ((text #f))
>     `((acknowledgers
>       (chord-name-interface .
>         ,(lambda (engraver grob source-engraver)
>           (if text
>               (if (equal? text (ly:grob-property grob 'text))
>                   (set! (ly:grob-property grob 'text) simile)
>  (set! text (ly:grob-property grob 'text)))
>               (set! text (ly:grob-property grob 'text)
>
>
> harmonies = \chordmode { c1 g e:m e:m e:m a:m bes c }
>
> chs = \transpose c' c' {
>   4 q q 
>    \repeat unfold 3 {  }
>   1
> }
>
> << \new ChordNames { \set chordChanges = ##f \harmonies } >>
>
> <<
>   \new ChordNames { \chs }
>   \new Staff \transpose c c' { \chs }
>>>
>
> \layout {
>   \context {
>     \ChordNames
>     \consists #test
>   }
> }

looks fine. Another example to study custom-engravers. :)

Thanks,
  Harm

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


Re: Slashes in leadsheets

2012-02-11 Thread David Kastrup
Thomas Morley  writes:

> 2012/2/11 David Kastrup :
>> Thomas Morley  writes:
>>
>>> Personally I'd prefer sth like the attached. But it might not work
>>> with the latest devel-version due to the changes with EventChord. (I
>>> can't test it. "2.15.24" is currently my highest version.)
>>
>> I have not checked this in practice, but theoretically, the only
>> affected function would appear to be keepOnlyFirstNote (or so), and
>> since this function makes a difference only when there is more than one
>> note, namely, when there _is_ an EventChord, I don't think that the
>> EventChord changes should cause any difference here.
>>
>> Of course, if you use chord repetitions (q) here, keepOnlyFirstNote will
>> only be able to do its job if you have already run \chordRepeats
>> manually (instead of waiting for its automatic run at the start of
>> typesetting).

On second thought, it will repeat a chord that has already been reduced
to a single note, and so again will do exactly what is needed.

> as soon as I made an upgrade I'll test it.

If it is important, I could do this myself, but actually I think that we
need every active and attentive user we can get to test the current
almost-before-stable-release versions on as much of their own code as
feasible.

-- 
David Kastrup

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


Re: Slashes in leadsheets

2012-02-11 Thread Thomas Morley
Hi David,

2012/2/12 David Kastrup :
> Thomas Morley  writes:
>
>> 2012/2/11 David Kastrup :
>>> Thomas Morley  writes:
>>>
 Personally I'd prefer sth like the attached. But it might not work
 with the latest devel-version due to the changes with EventChord. (I
 can't test it. "2.15.24" is currently my highest version.)
>>>
>>> I have not checked this in practice, but theoretically, the only
>>> affected function would appear to be keepOnlyFirstNote (or so), and
>>> since this function makes a difference only when there is more than one
>>> note, namely, when there _is_ an EventChord, I don't think that the
>>> EventChord changes should cause any difference here.
>>>
>>> Of course, if you use chord repetitions (q) here, keepOnlyFirstNote will
>>> only be able to do its job if you have already run \chordRepeats
>>> manually (instead of waiting for its automatic run at the start of
>>> typesetting).
>
> On second thought, it will repeat a chord that has already been reduced
> to a single note, and so again will do exactly what is needed.
>
>> as soon as I made an upgrade I'll test it.
>
> If it is important, I could do this myself, but actually I think that we
> need every active and attentive user we can get to test the current
> almost-before-stable-release versions on as much of their own code as
> feasible.
>
> --
> David Kastrup

just finished the upgrade to "2.15.29". Testing chord-rhythm-02.ly
compiles fine without any pronlem.

Other task? :)

Best,
  Harm

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


re: lyrics disappear

2012-02-11 Thread MING TSANG
sorry about the include.
The following should compile.

\version "2.14.0" 
 \include "english.ly"
 mbk = \break
 global = {\key e \major  \time 4/4  \tempo 4 = 95}
 nrS = \override  NoteHead #'color = #red
 nbS = \override  NoteHead #'color = #blue
 nE = \revert  NoteHead #'color
SSa = \relative c' {
%{a13-16%} b4. cs8 b4 gs'4  fs4. gs8 fs4 e4  cs4. b8 cs4 e4  fs2. e4 
%{a17-  %} e2.
}
SSc = \relative c'  {    
    %{b00-08%} <<{\voiceOne b4^\markup{\box " part C "}}\\{\voiceTwo b8( 
cs8)}>> | 
    <<{\voiceOne e2. gs8( e8)}\\{\voiceTwo e2. \times 2/3{gs8( fs8 e8)}}>> | 
    <<{\voiceOne gs2. fs4}\\{\voiceTwo gs2. fs4}>> | 
    <<{\voiceOne e2. cs4}\\{\voiceTwo e2. \times 2/3{cs8( e8 cs8)}}>> | 
    <<{\voiceOne b2. b4}\\{\voiceTwo b2. b8(cs8)}>> | 
    <<{\voiceOne e2. gs8( e8)}\\{\voiceTwo e2. \times 2/3{gs8( fs8 e8)}}>> | 
    <<{\voiceOne gs2. fs4}\\{\voiceTwo gs2. fs8( gs8)}>>  | 
    <<{\voiceOne b2. gs4}\\{\voiceTwo b2. gs8( b8)}>> |  
    %{b09-12%} <<{\voiceOne b8~( b2 gs8) b8[( gs8)]}\\{\voiceTwo b8~( b2 gs8) 
b8( gs8)}>> | 
    <<{\voiceOne e2. b4}\\{\voiceTwo e2. b4}>> | 
    <<{\voiceOne cs2~( cs8 e8) e8[( cs8)]}\\{\voiceTwo cs2~( cs8 e8) e8( 
cs8)}>> | 
    <<{\voiceOne b2. b4}\\{\voiceTwo b2. b8( cs8)}>> | 
    <<{\voiceOne e2.  gs8( e8)}\\{\voiceTwo e2. \times 2/3{gs8( fs8 e8)}}>>  | 
    <<{\voiceOne gs2. fs4}\\{gs2. fs4}>> | 
    <<{\voiceOne e2. }\\{\voiceTwo e2.}>>
}
%---
SScx = \relative c' {  
%{b00-08%} b4^\markup{\box " part C "} | e2. gs8( e8) | gs2. fs4 | e2. cs4 | 
b2. b4 | e2. gs8( e8) | gs2. fs4 | b2. gs4 |  
%{b09-12%} b8~( b2 gs8) b8[( gs8)] | e2. b4 | cs2~( cs8 e8) e8[( cs8)] | b2. b4 
| e2.  gs8( e8) | gs2. fs4 | e2. 
}
LLa = \lyricmode {
 耶  和  華  是  愛, 譲  我  安  身  靑  草  溪  水  邊, 神  令 
 我  省  察  心  中  的  幽  暗, 共  同  渡  毎  一  天.
 耶  和  華  是  愛, 在  困  境  中  衪  保  守  引  牽. 神  為
 我  擺  設  豐  足  的  恩  惠, 在  危  難  也  不  會  變.
}
LLc = \lyricmode {
奇  異  恩  典, 何  等  甘  甜, 我  罪  已  得  赦  免; 前 
我  失  喪, 今  被  尋  回, 瞎  眼  今  得  看  見.    
}
LLabc = \lyricmode {   \set fontSize = #'1.8
 \LLa    \LLc   
}
LLbx = \lyricmode { \set  stanza = #"2. "  \set fontSize = #'3.0
}
\score {
  \new GrandStaff = "GrandStaff_score" <<
        \new ChoirStaff <<
  \new Staff <<
    \clef "treble"   
    \global    
    \new Voice = "Sop"  {   
        \voiceOne  {   \SSa  \SSc   \SSa  
 }}
    \new Lyrics \lyricsto "Sop" { \LLabc   }
  >>
 >>
  >>
   \layout {  indent = #'0   
    \context { 
 \RemoveEmptyStaffContext
 \override VerticalAxisGroup #'remove-first = ##t
    }    
  }
  \midi {
    \context {
  \Score
  tempoWholesPerMinute = #(ly:make-moment 95 4)
    }
  }
}
%}



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


Re: lyrics disappear

2012-02-11 Thread MING TSANG
Thank you for the info.

The reason I try this approach is because I have 96 bars of voice 1 and voice 2 
comes in at bars 51-70 only.  The notes on pdf seems ok except the lyrics.  I 
am seeking work around.

If I use new voice approach, that I need to have 50 bars rest or space before 
coding voice 2.

 
Blessing in+,
Ming


>
> From: Matthew Collett 
>To: MING TSANG  
>Cc: lilypond-usermailinglist  
>Sent: Saturday, February 11, 2012 7:17:10 PM
>Subject: Re: lyrics disappear
> 
>On 12/02/2012, at 12:55 pm, MING TSANG wrote:
>
>> 2012-02-11_183404.png shows lyrics on the score.  I added voice two starting 
>> at 4th beat bar 5  to the end of bar 19 (first 3 beats).  
>> 2012-02-11_183528.png shows that all lyrics in between disappear. Need help 
>> figure out why.
>
>Don't use automatic voice creation with '\\'; it messes up the 'lyricsto', 
>because it creates _two_ new voices.  Instead, use an explicit '\new Voice' 
>for the second voice, so that the first voice continues the original one.
>
>Best wishes,
>Matthew
>
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyrics disappear

2012-02-11 Thread MING TSANG
Thank you for the info.  I am looking forward to have see the enhanced << .. \\ 
.. >> construct.

 
Blessing in+,


>
> From: Xavier Scheuer 
>To: MING TSANG  
>Cc: "lilypond-user-requ...@gnu.org" ; 
>lilypond-usermailinglist  
>Sent: Saturday, February 11, 2012 7:27:24 PM
>Subject: Re: lyrics disappear
> 
>On 12 February 2012 00:55, MING TSANG  wrote:
>> 2012-02-11_183404.png shows lyrics on the score.  I added voice two starting
>> at 4th beat bar 5  to the end of bar 19 (first 3 beats).
>> 2012-02-11_183528.png shows that all lyrics in between disappear. Need help
>> figure out why.
>
>Don't use the << { … } \\ { … } >>  constructs, since they create
>new voices "1" and "2" that are different from "main" voice outside
>that construct.
>
>Use explicitly instantiated voices instead.
>http://code.google.com/p/lilypond/issues/detail?id=1316
>
>Cheers,
>Xavier
>
>-- 
>Xavier Scheuer 
>
>
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyrics disappear

2012-02-11 Thread Matthew Collett
On 12/02/2012, at 2:23 pm, MING TSANG wrote:

> If I use new voice approach, that I need to have 50 bars rest or space before 
> coding voice 2.

No, you can still start with one voice and then split in two after 50 bars, 
using 'new Voice' for the second voice at the split.

Best wishes,
Matthew


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


Re: lyrics disappear

2012-02-11 Thread Carl Sorensen
On 2/11/12 6:23 PM, "MING TSANG"  wrote:

>Thank you for the info.
>
>
>The reason I try this approach is because I have 96 bars of voice 1 and
>voice 2 comes in at bars 51-70 only.  The notes on pdf seems ok except
>the lyrics.  I am seeking work around.
>
>If I use new voice approach, that I need to have 50 bars rest or space
>before coding voice 2.


No, you can do something like:

version "2.15.26"

\score {
  <<
\new Voice = "one" {
  a'' b''
  << 
{
  \voiceOne c'' d''
}
\new Voice {
  \voiceTwo
  e' f'
}
  >>
}
\new Lyrics \lyricsto "one" {
  fee fie fo fum
}
  >>
}




HTH,

Carl


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