Re: Way to flatten nested \include's?

2015-08-24 Thread Andrew Bernard
Of course I shall add include path arguments, and ~ expansion.

Andrew


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


Tilde expansion in \include

2015-08-24 Thread Andrew Bernard
While writing flatten-ly to recursively flatten nested include files, I notice 
that lilypond 2.19.25 (at least) does not honour ~ in a path name, and throws a 
fatal error.

The NR says you can say:

\include ~/libA/libA.ly”

Am I missing something?

Setting this has no effect (and why should it?):

#(ly:set-option 'relative-includes #t)

[I am on Linux where programs can generally figure out tilde expansions.]

Andrew


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


Re: Way to flatten nested \include's?

2015-08-24 Thread Johan Vromans
On Mon, 24 Aug 2015 09:35:35 +1000
Andrew Bernard andrew.bern...@gmail.com wrote:

 Although it can be written in Python or any language, I felt Scheme is in
 the spirit of lilypond.

Scheme is for LP extenstions. This tool, being a standalone program, can
much better be written in Perl or Python.

-- Johan

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


Re: A call to Cantique de Fauré

2015-08-24 Thread Andrew Bernard
Hi Brian,


It can hardly be censoring. :-) Recently I have posted several messages to this 
list and they simply do not appear, causing me to think my mailer is defective, 
only to eventually turn up days later. There must be an oddity in the mailing 
list software. It’s not discriminating against people, just behaving in a flaky 
manner.

Who maintains the mailing list software?

Andrew

On 24/08/2015 06:58, Brian Barker 
lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of 
b.m.bar...@btinternet.com wrote:


Well, I do - and I've already replied to the list (and to the 
questioner) with my discovery. But the list has - as it sometimes 
does - decided to censor my contribution and not accept it and 
publish it. If anyone knows why it discriminates against me (and some 
others) in this way, I'd like to know.


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


Re: Change size of notes in addQuote passage

2015-08-24 Thread Ralph Palmer
On Sun, Aug 23, 2015 at 4:55 PM, Owain Sutton ow...@owainsutton.co.uk
wrote:

 I want a full quote of the line, including slurs/dynamics/etc. so it's
 playable
 by a different instrument if the intended one is not present, so I'm not
 using
 Cue instead.  However, I want the quote to be with reduced size noteheads.
 This
 override doesn't cause any change:

 \addQuote sopQuote {
   \transpose c' c {
   \override NoteHead #'font-size = #-3 \sopCornet
 }
 }

 What's the best way to go about it?


Greetings, Owain Sutton -

It's not clear to me exactly what you want to see. Can you supply an
example? Would an ossia staff be appropriate?

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Way to flatten nested \include's?

2015-08-24 Thread Andrew Bernard
Greetings Javier.

Here is a program I wrote for you, flatten-ly to read a lilypond file and 
output it recursively flattening all the nested includes. It’s a shell script 
invoking guile.

Usage: flatten-ly file

Outputs to standard output.

Unashamedly Linux.

I’ll make it more robust, and add a couple of features, add a lilypond style 
wrapper and if there is any interest add it to openlilylib perhaps?

Andrew



From:  lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of 
Javier Ruiz-Alma
Reply-To:  Javier Ruiz-Alma
Date:  Sunday, 23 August 2015 07:20
To:  LilyPond User Group
Subject:  Way to flatten nested \include's?

Is there a way to ask lilypond to expands nested \include's and dump into new 
file, such I can review/compile a flattened version of the code (i.e. for 
debugging)?




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


Re: LilyJAZZ

2015-08-24 Thread Blöchl Bernhard
It might be helpful to have lilyjazz examples old/new side by side with 
explicite evidence to the unbeautiful elements?


I just got the new version happily to work. I cannot make such 
examples as I do not have the old/new version working simultaneosly. I 
fear my lilypond skills are not sufficiant to handle both versions side 
by side.


Regards


Am 23.08.2015 23:42, schrieb tisimst:

Tim,

Would you mind expounding a little further on what you feel has
degraded since the original was published? I will tell you what I've
done, but I would appreciate hearing your thoughts, especially if
many others feel similarly.

In bringing the original LilyJAZZ font up to speed, I don't
recall editing ANY of the original glyphs in the font. I did _add_
some to make it more complete, but that's it. 

The other thing that might be causing visual is the stylesheet I've
created to go along with the font family. If that's the problem,
please help me out by offering some suggestions. I've created
settings that I thought were reasonable and compliment the font, but
that doesn't mean they have to stay that way. I guess the nice thing
is that you can adapt it to whatever styles _you_ like.

Please help me know, if you would. Thanks!!

- Abraham

On Sunday, August 23, 2015, Tim McNamara [via Lilypond] [hidden
email] [7] wrote:


On Aug 23, 2015, at 1:37 PM, Tim McNamara [hidden email] [1]

wrote:




On Aug 23, 2015, at 6:56 AM, BB [hidden email] [2] wrote:


snip


Does anybody sucessful use LilyJAZZ?


Yes, I have been using it for over a year with excellent results,

although there are some quirks.  For example, it kills bar
numbering.  It also interferes with improvisationOn and I have to
turn off LilyJazz to be able to use that. Also, looking at the web
page that was referenced in other threads, it appears that the old
LilyJAZZ font has been completely replaced (looking at the example
lead sheet).  To my eyes the old font was much better and I won’t
be updating to the new version.  The new version looks awkward and
doesn’t visually flow very well.  YMMV.
___
lilypond-user mailing list
[hidden email] [3]
https://lists.gnu.org/mailman/listinfo/lilypond-user [4]

-

If you reply to this email, your message will be added to the
discussion below:
http://lilypond.1069038.n5.nabble.com/LilyJAZZ-tp179970p180026.html
[5]
To start a new topic under User, email a


href=javascript:_e(%7B%7D,#39;cvml#39;,#39;ml-node%2bs1069038n...@n5.nabble.com#39;);

target=_blankml-node+s1069038n3h2@...
To unsubscribe from Lilypond, click here.
NAML [6]


-
 View this message in context: Re: LilyJAZZ [8]
 Sent from the User mailing list archive [9] at Nabble.com.


Links:
--
[1] http:///user/SendEmail.jtp?type=nodeamp;node=180026amp;i=0
[2] http:///user/SendEmail.jtp?type=nodeamp;node=180026amp;i=1
[3] http:///user/SendEmail.jtp?type=nodeamp;node=180026amp;i=2
[4] https://lists.gnu.org/mailman/listinfo/lilypond-user
[5] http://lilypond.1069038.n5.nabble.com/LilyJAZZ-tp179970p180026.html
[6]
http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_vieweramp;id=instant_html%21nabble%3Aemail.namlamp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespaceamp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
[7]
http://webmailer.telecolumbus.net/user/SendEmail.jtp?type=nodenode=180036i=0
[8] http://lilypond.1069038.n5.nabble.com/LilyJAZZ-tp179970p180036.html
[9] http://lilypond.1069038.n5.nabble.com/User-f3.html

___
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: vertical spacing of rests

2015-08-24 Thread David Kastrup
Paul Morris p...@paulwmorris.com writes:

 On Aug 23, 2015, at 4:29 PM, Peter Selinger selin...@mathstat.dal.ca wrote:
 
 -  (ly:grob-set-property! rest 'stencil #f)
 +  (ly:grob-set-property! rest 'Y-offset offset)

 I wonder if this might work instead:

   (ly:grob-set-property! rest 'stencil empty-stencil)

You'd want a point-stencil instead.

-- 
David Kastrup

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


Errors when using TabStaff with stringTunings

2015-08-24 Thread Kevin Nowaczyk
I have a lilypond file which used to parse perfectly well several years ago. I 
recently reinstalled lilypond (2.18.2 from debian-stable) and now I receive an 
error. I've reduced the file down and determined that setting the stringTunings 
is the problem. The file I have has both guitar tab and bass guitar tab. If I 
leave the   \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20) line out, it 
displays correctly. If I add it in, it presents the following error:

GNU LilyPond 2.18.2
Processing `Steven_smith_working.ly'
Parsing...
Interpreting 
music...[8]/usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: In 
procedure ly:pitch-tones in expression (ly:pitch-tones (list-ref tuning #)):
/usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: Wrong type 
argument in position 1 (expecting Pitch): 4


My test file:

guitarmusic =  {
\key g \minor
R1*12
r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 
bes'\1 bes'\1
r bes'\1 bes'\1 bes'\1  r a'\1 a'\1 a'\1 r d''\1 d''\1 d''\1 r d''\1 
d''\1 d''\1
r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 
bes'\1 bes'\1
r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 d''\1 d''\1 d''\1 d''\1 d''\1 
d''\1 d''\1 d''\1
}

\version 2.12.3
\score {
\new StaffGroup 
\new TabStaff 
\set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20)
{
\guitarmusic
}


\layout{}
}

Obviously, if all I'm doing is standard-tuned guitar, I can leave out the call 
to stringTunings, but for bass guitar I need that call.
Thanks for any help,
Kevin Nowaczyk

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


Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Simon Albrecht

Hello Kevin,

welcome back to the Pond :-)
There have been many syntax changes since v2.12, and one of them is the 
culprit here, so you’ll want to get a look at 
http://lilypond.org/doc/v2.18/Documentation/usage/updating-files-with-convert_002dly. 
(In case you’re using Frescobaldi: Tools/Update with convert.ly…)

BTW: we use to have the version number right at the beginning of the file.
The attached version works fine.

All the best,
Simon

Am 24.08.2015 um 17:36 schrieb Kevin Nowaczyk:

I have a lilypond file which used to parse perfectly well several years ago. I 
recently reinstalled lilypond (2.18.2 from debian-stable) and now I receive an 
error. I've reduced the file down and determined that setting the stringTunings 
is the problem. The file I have has both guitar tab and bass guitar tab. If I 
leave the   \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20) line out, it 
displays correctly. If I add it in, it presents the following error:

GNU LilyPond 2.18.2
Processing `Steven_smith_working.ly'
Parsing...
Interpreting 
music...[8]/usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: In 
procedure ly:pitch-tones in expression (ly:pitch-tones (list-ref tuning #)):
/usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: Wrong type 
argument in position 1 (expecting Pitch): 4


My test file:

guitarmusic =  {
 \key g \minor
 R1*12
 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r 
bes'\1 bes'\1 bes'\1
 r bes'\1 bes'\1 bes'\1  r a'\1 a'\1 a'\1 r d''\1 d''\1 d''\1 r d''\1 
d''\1 d''\1
 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r 
bes'\1 bes'\1 bes'\1
 r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 d''\1 d''\1 d''\1 d''\1 d''\1 
d''\1 d''\1 d''\1
}

\version 2.12.3
\score {
 \new StaffGroup 
 \new TabStaff 
 \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20)
 {
 \guitarmusic
 }
 
 
 \layout{}
}

Obviously, if all I'm doing is standard-tuned guitar, I can leave out the call 
to stringTunings, but for bass guitar I need that call.
Thanks for any help,
Kevin Nowaczyk

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


\version 2.18.0

guitarmusic =  {
  \key g \minor
  R1*12
  r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1
  r bes'\1 bes'\1 bes'\1  r a'\1 a'\1 a'\1 r d''\1 d''\1 d''\1 r d''\1 d''\1 d''\1
  r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1
  r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1
}

\score {
  \new StaffGroup 
\new TabStaff 
  \set TabStaff.stringTunings = #`(,(ly:make-pitch 0 2 NATURAL) ,(ly:make-pitch -1 6 NATURAL) ,(ly:make-pitch -1 4 NATURAL) ,(ly:make-pitch -1 1 NATURAL) ,(ly:make-pitch -2 5 NATURAL) ,(ly:make-pitch -2 2 NATURAL) )
  {
\guitarmusic
  }

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


Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Marc Hohl

Am 24.08.2015 um 17:36 schrieb Kevin Nowaczyk:

I have a lilypond file which used to parse perfectly well several years ago. I 
recently reinstalled lilypond (2.18.2 from debian-stable) and now I receive an 
error. I've reduced the file down and determined that setting the stringTunings 
is the problem. The file I have has both guitar tab and bass guitar tab. If I 
leave the   \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20) line out, it 
displays correctly. If I add it in, it presents the following error:

GNU LilyPond 2.18.2
Processing `Steven_smith_working.ly'
Parsing...
Interpreting 
music...[8]/usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: In 
procedure ly:pitch-tones in expression (ly:pitch-tones (list-ref tuning #)):
/usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: Wrong type 
argument in position 1 (expecting Pitch): 4


IIRC the underlying mechanism has changed, but lilypond offers 
ready-to-use shortcuts that make life much easier ;-)


\set TabStaff.stringTunings = #bass-tuning

Lilypond offers:

guitar-tuning e, a, d g b e'
guitar-seven-string-tuning b,, e, a, d g b e'
guitar-drop-d-tuning d, a, d g b e'
guitar-drop-c-tuning c, g, c f a d'
guitar-open-g-tuning d, g, d g b d'
guitar-open-d-tuning d, a, d fis a d'
guitar-dadgad-tuning d, a, d g a d'
guitar-lute-tuning e, a, d fis b e'
guitar-asus4-tuning e, a, d e a e'
bass-tuning e,, a,, d, g,
bass-four-string-tuning e,, a,, d, g,
bass-drop-d-tuning d,, a,, d, g,
bass-five-string-tuning b,,, e,, a,, d, g,
bass-six-string-tuning b,,, e,, a,, d, g, c
mandolin-tuning g d' a' e''
banjo-open-g-tuning g' d g b d'
banjo-c-tuning g' c g b d'
banjo-modal-tuning g' d g c' d'
banjo-open-d-tuning a' d fis a d'
banjo-open-dm-tuning a' d fis a d'
ukulele-tuning g' c' e' a'
ukulele-d-tuning a' d' fis' b'
tenor-ukulele-tuning g c' e' a'
baritone-ukulele-tuning d g b e'
violin-tuning g d' a' e''
viola-tuning c g d' a'
cello-tuning c, g, d a
double-bass-tuning e,, a,, d, g,

HTH,

Marc





My test file:

guitarmusic =  {
 \key g \minor
 R1*12
 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r 
bes'\1 bes'\1 bes'\1
 r bes'\1 bes'\1 bes'\1  r a'\1 a'\1 a'\1 r d''\1 d''\1 d''\1 r d''\1 
d''\1 d''\1
 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r 
bes'\1 bes'\1 bes'\1
 r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 d''\1 d''\1 d''\1 d''\1 d''\1 
d''\1 d''\1 d''\1
}

\version 2.12.3
\score {
 \new StaffGroup 
 \new TabStaff 
 \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20)
 {
 \guitarmusic
 }
 
 
 \layout{}
}

Obviously, if all I'm doing is standard-tuned guitar, I can leave out the call 
to stringTunings, but for bass guitar I need that call.
Thanks for any help,
Kevin Nowaczyk

___
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: Change size of notes in addQuote passage

2015-08-24 Thread owainsutton
CAL0tT4vL=4mkthkhmgr-z+oj3jawnr7xvc9ahwhqj-goita...@mail.gmail.com

On Sun, Aug 23, 2015 at 4:55 PM, Owain Sutton ow...@owainsutton.co.uk
wrote:

 I want a full quote of the line, including slurs/dynamics/etc. so it's
 playable
 by a different instrument if the intended one is not present, so I'm not
 using
 Cue instead.  However, I want the quote to be with reduced size noteheads.
 This
 override doesn't cause any change:

 \addQuote sopQuote {
   \transpose c' c {
   \override NoteHead #'font-size = #-3 \sopCornet
 }
 }

 What's the best way to go about it?


Greetings, Owain Sutton -

It's not clear to me exactly what you want to see. Can you supply an
example? Would an ossia staff be appropriate?

Ralph

-- Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com

I'm not sure whether the functionality I'm looking for comes under 'quote' or 
'cue' operations.

This is the soprano cornet part I'm quoting from:  
http://i.imgur.com/OAknAsY.png

Using 'transposedCueDuring', it appears like this in a tenor horn part: 
http://i.imgur.com/06B1kgf.png. The slurs, dynamics etc. are stripped out, but 
I want them to be included.

Is there a way to (a) use 'transposedCueDuring' which retains these details 
from the original, or (b) use 'quoteDuring' instead, but with reduced note 
sizes similar to those from the 'cue' operation? 


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


Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread David Kastrup
Kevin Nowaczyk beakerbo...@yahoo.com writes:

 I have a lilypond file which used to parse perfectly well several
 years ago.

Run convert-ly -ed on the file.  At least on your example file, it
upgraded the version successfully.  The resulting code is rather ugly
but works.  You might want to look up the \stringTuning function in the
notation manual in order to do this in a prettier way.

-- 
David Kastrup

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


Re: Change size of notes in addQuote passage

2015-08-24 Thread Simon Albrecht

Am 24.08.2015 um 18:59 schrieb owainsut...@gmail.com:

Is there a way to (a) use 'transposedCueDuring' which retains these details
from the original,
Yes, see 
http://lilypond.org/doc/v2.19/Documentation/notation/writing-parts#index-quotedCueEventTypes.
Although actually a ‘cue’, as you are probably aware, is intended for 
notes which the instrument is not supposed to actually play.


Small side note: the accent in ‘Più’ should be the other way around. :-)

Yours, Simon

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


Re: Change size of notes in addQuote passage

2015-08-24 Thread Wols Lists
On 24/08/15 19:32, Simon Albrecht wrote:
 Am 24.08.2015 um 18:59 schrieb owainsut...@gmail.com:
 Is there a way to (a) use 'transposedCueDuring' which retains these
 details
 from the original,

 Yes, see
 http://lilypond.org/doc/v2.19/Documentation/notation/writing-parts#index-quotedCueEventTypes.
 
 Although actually a ‘cue’, as you are probably aware, is intended for
 notes which the instrument is not supposed to actually play.
 
Although actually a 'cue', as you are probably aware, is often played by
the wrong instrument in amateur bands because the instrument it's
written for is not there ... :-) :-) :-)

Cheers,
Wol

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


Equal spacing of notes in a bar

2015-08-24 Thread William Marchant
I have looked though the documentation without finding what I need. The 
attached code gives me a triplet whose notes are spaced according to the 
words.  I would like to equalize  the spacing between the notes.  Is 
there a snippet I have missed, or some technique that will provide this?

Bill

\version 2.18.2
global = {
  \language english
  \key bf \major
  \time 3/4
}
melody = \relative c' {
\tuplet 3/2 { bf8 c d }  c2 |
}
  VerseOne = \lyricmode {
  Give me a big
  }
 \score {
  \new ChoirStaff 
\new Staff 
  \new Voice = Song {
\global
\melody
  }
  \new Lyrics \lyricsto Song {
\VerseOne
  }

  
  \layout {
\context {
  \Score
}
  }
}


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


Re: Equal spacing of notes in a bar

2015-08-24 Thread Simon Albrecht

Hi Bill,

‘proportional notation’ is the magic word: 
http://lilypond.org/doc/v2.18/Documentation/notation/proportional-notation.


HTH, Simon

Am 24.08.2015 um 20:54 schrieb William Marchant:
I have looked though the documentation without finding what I need. 
The attached code gives me a triplet whose notes are spaced according 
to the words.  I would like to equalize  the spacing between the 
notes.  Is there a snippet I have missed, or some technique that will 
provide this?

Bill

\version 2.18.2
global = {
  \language english
  \key bf \major
  \time 3/4
}
melody = \relative c' {
\tuplet 3/2 { bf8 c d }  c2 |
}
  VerseOne = \lyricmode {
  Give me a big
  }
 \score {
  \new ChoirStaff 
\new Staff 
  \new Voice = Song {
\global
\melody
  }
  \new Lyrics \lyricsto Song {
\VerseOne
  }

  
  \layout {
\context {
  \Score
}
  }
}


___
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: vertical spacing of rests

2015-08-24 Thread David Kastrup
selin...@mathstat.dal.ca (Peter Selinger) writes:


 this is a true newbie question. I am trying to engrave two polyphonic
 voices on a single staff. Since the two voices have all their rests in
 common, I only want to typeset each rest once, so I use spacer rests
 in the second voice. Still the vertical spacing is such that all the
 rests are put near the top of the staff. I would like them to appear
 in their normal positions.

 From the manual, I know two ways to do this. Solution 1 is to enclose
 each rest between \oneVoice and \voiceOne, forcing standard vertical
 spacing:

 Solution 2 is to specify an explicit vertical position for each rest.

 Neither solution is particularly elegant, as they both require every
 rest to be marked up individually. Is there a global way to turn off
 vertical spacing for rests in a context, i.e., some command whose
 effect would be to make notes behave as with \voiceOne and rests
 behave as with \oneVoice?

You could try

\version 2.19.22

\new Staff 
  \new Voice \relative c'' {
\voiceOne
\override Rest.Y-offset = #0
r c r d
  }
  \new Voice \relative c'' {
\voiceTwo {
  s4 a8 a8 s4 b8 b8
}
  }



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


Re: Equal spacing of notes in a bar

2015-08-24 Thread tisimst
How about this: 
http://www.lilypond.org/doc/v2.18/Documentation/notation/proportional-notation

- Abraham

On 8/24/2015 12:55 PM, William Marchant [via Lilypond] wrote:
 I have looked though the documentation without finding what I need. The
 attached code gives me a triplet whose notes are spaced according to the
 words.  I would like to equalize  the spacing between the notes.  Is
 there a snippet I have missed, or some technique that will provide this?
 Bill

 \version 2.18.2
 global = {
\language english
\key bf \major
\time 3/4
 }
 melody = \relative c' {
  \tuplet 3/2 { bf8 c d }  c2 |
 }
VerseOne = \lyricmode {
Give me a big
}
   \score {
\new ChoirStaff 
  \new Staff 
\new Voice = Song {
  \global
  \melody
}
\new Lyrics \lyricsto Song {
  \VerseOne
}
  

\layout {
  \context {
\Score
  }
}
 }


 ___
 lilypond-user mailing list
 [hidden email] /user/SendEmail.jtp?type=nodenode=180075i=0
 https://lists.gnu.org/mailman/listinfo/lilypond-user


 
 If you reply to this email, your message will be added to the 
 discussion below:
 http://lilypond.1069038.n5.nabble.com/Equal-spacing-of-notes-in-a-bar-tp180075.html
  

 To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
 To unsubscribe from Lilypond, click here 
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=.
 NAML 
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
  






--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Equal-spacing-of-notes-in-a-bar-tp180075p180078.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Allow LyricText/SpanBar overlapping

2015-08-24 Thread Simon Albrecht

Hello,

following 19th century practice, I am using StaffGroup for choir scores. 
When there are longer syllables at the end of a measure, they avoid to 
overlap with the span bar, which costs horizontal space. I’d prefer this 
to be turned off, but how? I might conduct a lengthy and imprecise 
search over the manuals, but maybe someone can help out?


TIA, Simon
\version 2.19.25

mus = \relative {
  \partial 8
  fis'8( |
  g8.) 16 dis4
}
text = \lyricmode { Was -- sers gnug }

\layout {
  \context {
\Lyrics
\override LyricText.whiteout-box = ##t
\override LyricHyphen.whiteout = ##t
  }
}

\score {
  \new StaffGroup 
\mus
\addlyrics \text
\mus
  
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Way to flatten nested \include's?

2015-08-24 Thread Simon Albrecht

Hi Andrew,

many thanks for your work.
I just tried the script and can’t avoid getting an error about lacking 
rights. My command was:

$flatten-ly 18-der-stuermische-morgen.ly  debug.ly
sudo doesn’t help and it’s regardless of whether I place the script in 
/usr/bin/ or in ~/.

Can you tell why that is?

Yours, Simon

Am 24.08.2015 um 03:23 schrieb Andrew Bernard:

Greetings Javier.

Here is a program I wrote for you, flatten-ly to read a lilypond file 
and output it recursively flattening all the nested includes. It’s a 
shell script invoking guile.


Usage: flatten-ly file

Outputs to standard output.

Unashamedly Linux.

I’ll make it more robust, and add a couple of features, add a lilypond 
style wrapper and if there is any interest add it to openlilylib perhaps?


Andrew



From: lilypond-user-bounces+andrew.bernard=gmail@gnu.org 
mailto:lilypond-user-bounces+andrew.bernard=gmail@gnu.org on 
behalf of Javier Ruiz-Alma

Reply-To: Javier Ruiz-Alma
Date: Sunday, 23 August 2015 07:20
To: LilyPond User Group
Subject: Way to flatten nested \include's?

Is there a way to ask lilypond to expands nested \include's and dump 
into new file, such I can review/compile a flattened version of the 
code (i.e. for debugging)?




___
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: Way to flatten nested \include's?

2015-08-24 Thread Orm Finnendahl
Am Montag, den 24. August 2015 um 21:57:37 Uhr (+0200) schrieb Blöchl Bernhard:
 The attached file is a binary, not a lilypond file, regardless of the
 extension .ly?

No, it is a text file but the mime type of the attachment is specified
as application/octet stream. I changed it to text/plain in my Mail
program and then it was no problem to open it.

--
Orm

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


Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Simon Albrecht

Am 24.08.2015 um 22:12 schrieb Kevin Nowaczyk:

Thanks for the help everyone,

I would up changing the stringTungings line to:
\set Staff.stringTunings = \stringTuning e,, a,, d, g,
And everything works fine. However, I also tried the notaion:
\set Staff.stringTunings = #bass-tuning
but that didn't work. I'll have to figure that out at a later time.

All-in-all, I installed mediawiki with the Score plugin to show off a few 
guitar tabs I transcribed a few years ago. If you're curious, the first one 
(that now works) is here:
http://wiki.beakerboy.com/index.php/Steven_Smith
You may only hope that you don’t get any problems due to the legal 
(copyright) issues with this…


Yours, Simon

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


Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Kevin Nowaczyk
In this case..the band is little known and no longer together. I had it hidden 
from view for anonymous visitors except open it up for the next couple days for 
people here who were interested in checking it out.

I do like the automatic midi feature. It helps identify mistakes pretty easily.

Kevin


On Mon, 8/24/15, Simon Albrecht simon.albre...@mail.de wrote:

 Subject: Re: Errors when using TabStaff with stringTunings
 To: Kevin Nowaczyk beakerbo...@yahoo.com, lilypond-user@gnu.org
 Date: Monday, August 24, 2015, 4:25 PM
 
 Am 24.08.2015 um 22:12
 schrieb Kevin Nowaczyk:
  Thanks for the help
 everyone,
 
  I would
 up changing the stringTungings line to:
 
 \set Staff.stringTunings = \stringTuning e,, a,, d,
 g,
  And everything works fine.
 However, I also tried the notaion:
  \set
 Staff.stringTunings = #bass-tuning
  but
 that didn't work. I'll have to figure that out at a
 later time.
 
 
 All-in-all, I installed mediawiki with the Score plugin to
 show off a few guitar tabs I transcribed a few years ago. If
 you're curious, the first one (that now works) is
 here:
  http://wiki.beakerboy.com/index.php/Steven_Smith
 You may only hope that you don’t get any
 problems due to the legal 
 (copyright)
 issues with this…
 
 Yours,
 Simon
 

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


Re: vertical spacing of rests

2015-08-24 Thread Ralph Palmer
On Mon, Aug 24, 2015 at 2:56 PM, David Kastrup d...@gnu.org wrote:

 selin...@mathstat.dal.ca (Peter Selinger) writes:

 
  this is a true newbie question. I am trying to engrave two polyphonic
  voices on a single staff. Since the two voices have all their rests in
  common, I only want to typeset each rest once, so I use spacer rests
  in the second voice. Still the vertical spacing is such that all the
  rests are put near the top of the staff. I would like them to appear
  in their normal positions.
 
  From the manual, I know two ways to do this. Solution 1 is to enclose
  each rest between \oneVoice and \voiceOne, forcing standard vertical
  spacing:
 
  Solution 2 is to specify an explicit vertical position for each rest.

  Neither solution is particularly elegant, as they both require every
  rest to be marked up individually. Is there a global way to turn off
  vertical spacing for rests in a context, i.e., some command whose
  effect would be to make notes behave as with \voiceOne and rests
  behave as with \oneVoice?


I apologize if I'm just making noise, since I have not followed this thread
closely. As I understand it, the difficulty is with two voices, one staff,
and the position of rests, especially dotted rests. I also understand that
the merge rests definition I have been using (I confess I no longer know
who gave it to me) in LilyPond 2.18.2 apparently doesn't work. I'll add
that definition at the end of this message.

Spacer rests in one voice and positioned rests (e.g. b4\rest ) in the other
voice don't work?

Hope this helps,

Ralph

Anyway, here's the merge rests definition I've been using - much thanks to
the author!

%%% Start merge rests definition %%

#(define (rest-score r)
   (let ((score 0)
 (yoff (ly:grob-property-data r 'Y-offset))
 (sp (ly:grob-property-data r 'staff-position)))
 (if (number? yoff)
 (set! score (+ score 2))
 (if (eq? yoff 'calculation-in-progress)
 (set! score (- score 3
 (and (number? sp)
  (= 0 2 sp)
  (set! score (+ score 2))
  (set! score (- score (abs (- 1 sp)
 score))

#(define (merge-rests-on-positioning grob)
   (let* ((can-merge #f)
  (elts (ly:grob-object grob 'elements))
  (num-elts (and (ly:grob-array? elts)
 (ly:grob-array-length elts)))
  (two-voice? (= num-elts 2)))
 (if two-voice?
 (let* ((v1-grob (ly:grob-array-ref elts 0))
(v2-grob (ly:grob-array-ref elts 1))
(v1-rest (ly:grob-object v1-grob 'rest))
(v2-rest (ly:grob-object v2-grob 'rest)))
   (and
(ly:grob? v1-rest)
(ly:grob? v2-rest)
(let* ((v1-duration-log (ly:grob-property v1-rest
'duration-log))
   (v2-duration-log (ly:grob-property v2-rest
'duration-log))
   (v1-dot (ly:grob-object v1-rest 'dot))
   (v2-dot (ly:grob-object v2-rest 'dot))
   (v1-dot-count (and (ly:grob? v1-dot)
  (ly:grob-property v1-dot 'dot-count
-1)))
   (v2-dot-count (and (ly:grob? v2-dot)
  (ly:grob-property v2-dot 'dot-count
-1
  (set! can-merge
(and
 (number? v1-duration-log)
 (number? v2-duration-log)
 (= v1-duration-log v2-duration-log)
 (eq? v1-dot-count v2-dot-count)))
  (if can-merge
  ;; keep the rest that looks best:
  (let* ((keep-v1? (= (rest-score v1-rest)
   (rest-score v2-rest)))
 (rest-to-keep (if keep-v1? v1-rest v2-rest))
 (dot-to-kill (if keep-v1? v2-dot v1-dot)))
;; uncomment if you're curious of which rest was chosen:
;;(ly:grob-set-property! v1-rest 'color green)
;;(ly:grob-set-property! v2-rest 'color blue)
(ly:grob-suicide! (if keep-v1? v2-rest v1-rest))
(if (ly:grob? dot-to-kill)
(ly:grob-suicide! dot-to-kill))
(ly:grob-set-property! rest-to-keep 'direction 0)
(ly:rest::y-offset-callback rest-to-keep)))
 (if can-merge
 #t
 (ly:rest-collision::calc-positioning-done grob

%%% End merge rests definition %%



-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vertical spacing of rests

2015-08-24 Thread Trevor Daniels

selin...@mathstat.dal.ca (Peter Selinger) writes:

 this is a true newbie question. I am trying to engrave two polyphonic
 voices on a single staff. Since the two voices have all their rests in
 common, I only want to typeset each rest once, so I use spacer rests
 in the second voice. Still the vertical spacing is such that all the
 rests are put near the top of the staff. I would like them to appear
 in their normal positions.

 From the manual, I know two ways to do this. Solution 1 is to enclose
 each rest between \oneVoice and \voiceOne, forcing standard vertical
 spacing:

 Solution 2 is to specify an explicit vertical position for each rest.

 Neither solution is particularly elegant, as they both require every
 rest to be marked up individually. Is there a global way to turn off
 vertical spacing for rests in a context, i.e., some command whose
 effect would be to make notes behave as with \voiceOne and rests
 behave as with \oneVoice?

I think using

\override Rest.voiced-position = 0

in the voice in which you have rests might do the trick for you.

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


Re: Errors when using TabStaff with stringTunings

2015-08-24 Thread Kevin Nowaczyk
Thanks for the help everyone,

I would up changing the stringTungings line to:
\set Staff.stringTunings = \stringTuning e,, a,, d, g,
And everything works fine. However, I also tried the notaion:
\set Staff.stringTunings = #bass-tuning
but that didn't work. I'll have to figure that out at a later time.

All-in-all, I installed mediawiki with the Score plugin to show off a few 
guitar tabs I transcribed a few years ago. If you're curious, the first one 
(that now works) is here:
http://wiki.beakerboy.com/index.php/Steven_Smith

Thanks Again,
Kevin Nowaczyk 

On Mon, 8/24/15, David Kastrup d...@gnu.org wrote:

 Subject: Re: Errors when using TabStaff with stringTunings
 To: Kevin Nowaczyk beakerbo...@yahoo.com
 Cc: lilypond-user@gnu.org
 Date: Monday, August 24, 2015, 12:36 PM
 
 Kevin Nowaczyk beakerbo...@yahoo.com
 writes:
 
  I have a lilypond file
 which used to parse perfectly well several
  years ago.
 
 Run convert-ly -ed on the file.  At least on
 your example file, it
 upgraded the version
 successfully.  The resulting code is rather ugly
 but works.  You might want to look up the
 \stringTuning function in the
 notation
 manual in order to do this in a prettier way.
 
 -- 
 David
 Kastrup
 

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


Re: Way to flatten nested \include's?

2015-08-24 Thread Simon Albrecht

Am 24.08.2015 um 21:57 schrieb Blöchl Bernhard:
The attached file is a binary, not a lilypond file, regardless of the 
extension .ly?
Have another look: it’s not flatten.ly, but flatten-ly – without any 
file name extension.
It’s not a binary either, but plain text, and is used as a shell script, 
as Andrew said in his explanation below.


HTH, Simon




Am 24.08.2015 03:23, schrieb Andrew Bernard:

Greetings Javier.

Here is a program I wrote for you, flatten-ly to read a lilypond file
and output it recursively flattening all the nested includes. It's a
shell script invoking guile.

Usage: flatten-ly file

Outputs to standard output.

Unashamedly Linux.

I'll make it more robust, and add a couple of features, add a lilypond
style wrapper and if there is any interest add it to openlilylib
perhaps?

Andrew

From: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on
behalf of Javier Ruiz-Alma
Reply-To: Javier Ruiz-Alma
Date: Sunday, 23 August 2015 07:20
To: LilyPond User Group
Subject: Way to flatten nested include's?

Is there a way to ask lilypond to expands nested include's and dump
into new file, such I can review/compile a flattened version of the
code (i.e. for debugging)?


___
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



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


Re: Allow LyricText/SpanBar overlapping

2015-08-24 Thread Thomas Morley
2015-08-24 21:27 GMT+02:00 Simon Albrecht simon.albre...@mail.de:
 Hello,

 following 19th century practice, I am using StaffGroup for choir scores.
 When there are longer syllables at the end of a measure, they avoid to
 overlap with the span bar, which costs horizontal space. I’d prefer this to
 be turned off, but how? I might conduct a lengthy and imprecise search over
 the manuals, but maybe someone can help out?

 TIA, Simon

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


Hi Simon,

in \layout try:

\override LyricText.extra-spacing-height = #empty-interval

HTH,
  Harm

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


Re: Way to flatten nested \include's?

2015-08-24 Thread Blöchl Bernhard
The attached file is a binary, not a lilypond file, regardless of the 
extension .ly?




Am 24.08.2015 03:23, schrieb Andrew Bernard:

Greetings Javier.

Here is a program I wrote for you, flatten-ly to read a lilypond file
and output it recursively flattening all the nested includes. It's a
shell script invoking guile.

Usage: flatten-ly file

Outputs to standard output.

Unashamedly Linux.

I'll make it more robust, and add a couple of features, add a lilypond
style wrapper and if there is any interest add it to openlilylib
perhaps?

Andrew

From: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on
behalf of Javier Ruiz-Alma
Reply-To: Javier Ruiz-Alma
Date: Sunday, 23 August 2015 07:20
To: LilyPond User Group
Subject: Way to flatten nested include's?

Is there a way to ask lilypond to expands nested include's and dump
into new file, such I can review/compile a flattened version of the
code (i.e. for debugging)?


___
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: Change size of notes in addQuote passage

2015-08-24 Thread Owain Sutton
Indeed. I did manage to miss the Score.quotedCueEventTypes part of the docs 
before, my error.

I'd prefer not to have to list the events in this way, I just want everything 
included, and listing them sets up the potential for error, in omitting some.  
As I indicated earlier, I don't know whether 'cue' or 'quote' is the right 
option from a programmatic point of view.  'Cue' is certainly the colloquial 
term among musicians for such a part, though!

On 19:41, Mon 24 Aug 2015, Wols Lists wrote:
 Date: Mon, 24 Aug 2015 19:41:04 +0100
 From: Wols Lists antli...@youngman.org.uk
 Subject: Re: Change size of notes in addQuote passage
 To: lilypond-user@gnu.org
 List-Id: LilyPond user discussion lilypond-user.gnu.org
 
 On 24/08/15 19:32, Simon Albrecht wrote:
  Am 24.08.2015 um 18:59 schrieb owainsut...@gmail.com:
  Is there a way to (a) use 'transposedCueDuring' which retains these
  details
  from the original,
 
  Yes, see
  http://lilypond.org/doc/v2.19/Documentation/notation/writing-parts#index-quotedCueEventTypes.
  
  Although actually a ‘cue’, as you are probably aware, is intended for
  notes which the instrument is not supposed to actually play.
  
 Although actually a 'cue', as you are probably aware, is often played by
 the wrong instrument in amateur bands because the instrument it's
 written for is not there ... :-) :-) :-)
 
 Cheers,
 Wol
 
 ___
 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: Way to flatten nested \include's?

2015-08-24 Thread Andrew Bernard
Hi Johan,

Unless you enjoy writing Scheme as much as I do!

Scheme is perfectly fine for utility programs. It may be less maintainable for 
the hoi polloi - but then, the same can be said of llypond! :-)

While guile is aimed at being an extension language, don't forget that Scheme 
was taught at MIT for many, many years as the finest language to give students 
a deep insight into computing and computer science (refer SICP). [Sadly, they 
now teach Python instead. Real world practicality defeated beauty, insight, and 
elegance. :-(]

Andrew





On 24/08/2015 17:59, Johan Vromans 
lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of 
jvrom...@squirrel.nl wrote:

On Mon, 24 Aug 2015 09:35:35 +1000
Andrew Bernard andrew.bern...@gmail.com wrote:

 Although it can be written in Python or any language, I felt Scheme is in
 the spirit of lilypond.

Scheme is for LP extenstions. This tool, being a standalone program, can
much better be written in Perl or Python.

-- Johan

___
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


OT: Beauty of programming languages (was: Way to flatten nested \include's?)

2015-08-24 Thread Michael Gerdau
 While guile is aimed at being an extension language, don't forget that
 Scheme was taught at MIT for many, many years as the finest language to
 give students a deep insight into computing and computer science (refer
 SICP). [Sadly, they now teach Python instead. Real world practicality
 defeated beauty, insight, and elegance. :-(]

Well, beauty is in the eye of the beholder..

Anybody remembering APL ?

THAT is a beautiful language and most likely totally unuseable for the
vast majority of today's aspiring programmers :)

Kind regards,
Michael
-- 
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


flatten-ly

2015-08-24 Thread Andrew Bernard
Greetings All,

The utility to flatten nested includes, vastly improved. The moment I posted 
the initial draft I realised people keep includes in directories other than the 
current directory. This takes account of that.

Will publish to openlilylib when I make a lilypond wrapper for it similar to 
convert-ly.

It is a shell script using guile, not a binary executable. This version depends 
on having /usr/bin/guile. Even though it is not wrappered yet, I thought it 
would be useful to the OP.

NAME
  flatten-ly - flatten lilypond files with nested includes

SYNOPSIS
  flatten-ly [OPTIONS]

DESCRIPTION
  Utility to copy lilypond files, flattening nested includes. If no
  options are given, reads from standard input, writes to standard
  output.

OPTIONS:
  -i, --input file
 Specify input file.
  -o, --output file
 Specify output file.
  -I, --include path
 Search path for included files, a colon separated string.
  -h, --help
 Show usage.
  -v, --version
Report version.

Andrew





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


Putting flatten-ly into your lilypond installation

2015-08-24 Thread Andrew Bernard
If you want to put flatten-ly into your lilypond installation, copy it to the 
lilypond installation bin directory, and make a symbolic link to the lilypond 
guile wrapper in your bin directory where the other lilypond tools are.

For example:

$ cp flatten-ly ~/lilypond/usr/bin
$ ln -s ~/bin/lilypond-wrapper.guile ~/bin/flatten-ly

Then you don’t necessarily need to have guile installed on your system.

Andrew





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


Re: Equal spacing of notes in a bar

2015-08-24 Thread William Marchant
Thanks to Simon and Abraham.  I found the quoted reference on my own, 
but I need something which can be applied to  several single bars 
throughout the music.  It is the lyrics which are distorting just a few 
bars.  I had hoped there would be a snippet I am unable to find.  Is 
there one?  TIA.

Bill

On 15-08-24 03:56 PM, Simon Albrecht wrote:

Hi Bill,

‘proportional notation’ is the magic word: 
http://lilypond.org/doc/v2.18/Documentation/notation/proportional-notation.


HTH, Simon

Am 24.08.2015 um 20:54 schrieb William Marchant:
I have looked though the documentation without finding what I need. 
The attached code gives me a triplet whose notes are spaced according 
to the words.  I would like to equalize  the spacing between the 
notes.  Is there a snippet I have missed, or some technique that will 
provide this?

Bill

\version 2.18.2
global = {
  \language english
  \key bf \major
  \time 3/4
}
melody = \relative c' {
\tuplet 3/2 { bf8 c d }  c2 |
}
  VerseOne = \lyricmode {
  Give me a big
  }
 \score {
  \new ChoirStaff 
\new Staff 
  \new Voice = Song {
\global
\melody
  }
  \new Lyrics \lyricsto Song {
\VerseOne
  }

  
  \layout {
\context {
  \Score
}
  }
}


___
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: OT: Beauty of programming languages (was: Way to flatten nested \include's?)

2015-08-24 Thread Andrew Bernard
Greetings Michael,

I used to use APL! Truly wonderful.

As to beauty, while subjective, amongst mathematicians at least there is a 
shared sense of the beautiful, and not purely personal taste. Scheme has the 
elegance mathematicians and computer scientists perceive. Nobody could say 
Python is _beautiful_. [I use Python, so I am not just bashing it.]

Andrew




On 25/08/2015 09:37, Michael Gerdau 
lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of 
m...@qata.de wrote:


Anybody remembering APL ?


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


Re: OT: Beauty of programming languages

2015-08-24 Thread PMA

Michael Gerdau wrote:

Anybody remembering APL ?


APL was my main lang. for decades,
as is now its superset/descendant, J.

I've got weary trying to tell anybody
why.  But the curious might take a
peek at

http://www.jsoftware.com/

Pete


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


Re: Equal spacing of notes in a bar

2015-08-24 Thread David Nalesnik
On Mon, Aug 24, 2015 at 7:51 PM, William Marchant wmarch...@eastlink.ca
wrote:

 Thanks to Simon and Abraham.  I found the quoted reference on my own, but
 I need something which can be applied to  several single bars throughout
 the music.  It is the lyrics which are distorting just a few bars.  I had
 hoped there would be a snippet I am unable to find.  Is there one?  TIA.
 Bill


Maybe \newSpacingSection would serve?

http://lilypond.org/doc/v2.18/Documentation/notation/new-spacing-area

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


Re: OT: Beauty of programming languages

2015-08-24 Thread David Kastrup
PMA peterarmstr...@aya.yale.edu writes:

 Michael Gerdau wrote:
 Anybody remembering APL ?

 APL was my main lang. for decades,
 as is now its superset/descendant, J.

It is fitting that the language name is now a single character.  I am
just surprised that it is one in the ASCII character set.

-- 
David Kastrup

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


Re: OT: Beauty of programming languages

2015-08-24 Thread Andrew Bernard
Before we all get booted off for being OT, here’s quicksort in J, using a 
concept called tacit programming:

quicksort=: (($:@(#[), (=#[), $:@(#[)) ({~ ?@#)) ^: (1#)

Truly beautiful, in all seriousness. This is not a joke! :-)

Andrew


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


Re: OT: Beauty of programming languages

2015-08-24 Thread Andrew Bernard
Very amusing!

But what about B, C, D, E, F, G, K (an APL derivative), L (several), R, S, T (a 
Scheme dialect) to name a few?

Seriously now, APL had special keyboards with the symbols which were wondrous 
to behold. And indeed, J was constructed in recognition of the divine 
impracticality of it:

From https://en.wikipedia.org/wiki/J_%28programming_language%29

To avoid repeating the APL special-character problem, J requires only the basic 
ASCII character set, resorting to the use of the dot and colon as 
inflections[7] to form short words similar to digraphs. Most such primary 
(or primitive) J words serve as mathematical symbols, with the dot or colon 
extending the meaning of the basic characters available. Additionally, many 
characters which might need to be balanced in other languages (such as [] {}  
`` or ) are treated by J as stand-alone words or, when inflected, as 
single-character roots of multi-character words.

But in fact, we used to use APL with plain ASCII keyboards – worked just fine. 
And to be somewhat less Off Topic, the purpose of our using APL was for early 
research and development in computer music and synthesis software at The 
University of Melbourne here in Australia. APL class languages are particularly 
nicely suited to algorithmic music composition work.

Andrew



On 25/08/2015 14:28, David Kastrup 
lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of 
d...@gnu.org wrote:

It is fitting that the language name is now a single character.  I am
just surprised that it is one in the ASCII character set.


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