Re: Anacrusis

2013-09-08 Thread Jim Long
On Sat, Sep 07, 2013 at 08:28:52PM -0700, Mark Stephen Mrotek wrote:
 Hello:
 
 A partial measure contains 1 and 1/16 beat. How is that notated in the
 command \partial?
 
 Thank you.
 
 Mark

You say 1 and 1/16 *beat*, but I suspect you mean one quarter
*note* and one 16th *note*, correct?  In 4/4 time, one 16th of a
beat would be a 64th note.

Assuming that you mean five 16th notes (one and one-quarter
beats), the way to do it with partial is

\partial note-duration * multiplier

or 

\partial 16*5

Jim


\version 2.16.2

\score {
  \new Staff \relative e' {
\partial 16*5
e16 e e e e
a4 a a2
  }
}


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


Re: point and click

2013-09-08 Thread Helge Kruse

Am 07.09.2013 14:31, schrieb Janek Warchoł:


Well, there's a concept of preview mode and publish mode in
Frescobaldi (the second one produces pdfs without point-and-click).
The idea is that when you finish your work, you use publish mode to
create final pdf.
When you've done this, have two effects. First you have your ready to 
publish PDF document, second you have to run in preview mode again to 
regain point-and-click to continue in Frescobaldi.


I think it's far from trivial, but when the preview-information could be 
removed from a PDF file you wouldn't have that modes. But probably the 
PDF format inhibits this posprocessing.


Another idea would address the environments like Frescobaldi, that a 
publish mode is done to a different filename or directory. This would 
allow a workflow that can generate read to publish PDF files as well as 
always point-and-click (and other options) on.


Helge

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


Re: Score examples

2013-09-08 Thread Hilary Snaden
On 2013-09-02 13:50, Urs Liska wrote:
 I'm compiling a selection of examples to show LilyPond's output quality.
 I'm aiming at a collection of ca. 5 examples (1-page excerpts) of
 LilyPond scores tweaked to publication quality and a similar number of
 examples of out-of-the-box engraving.
 The latter is intended to show that one can _work_ with default scores
 quite good, that is one can play from them and one can use them to
 finish an edition for example, without having to bother about engraving
 details too early.
 
 Another goal of this collection is to show a variety of styles.

Here's a short choral work in my current style:

https://anonfiles.com/file/9c9eaa040864f5c82c5b774ea094eb84

-- 
Hilary

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


Re: point and click

2013-09-08 Thread Urs Liska
Might be an intersting idea, not for the general concept but for Frescobaldi 
development.

Should be trivial to append sth like '-draft' when compiling in preview mode.
(Has to be selectable in the preferences of course)

Urs



Helge Kruse helge.kruse-nos...@gmx.net schrieb:

Am 07.09.2013 14:31, schrieb Janek Warchoł:

 Well, there's a concept of preview mode and publish mode in
 Frescobaldi (the second one produces pdfs without point-and-click).
 The idea is that when you finish your work, you use publish mode to
 create final pdf.
When you've done this, have two effects. First you have your ready to 
publish PDF document, second you have to run in preview mode again to 
regain point-and-click to continue in Frescobaldi.

I think it's far from trivial, but when the preview-information could
be 
removed from a PDF file you wouldn't have that modes. But probably the 
PDF format inhibits this posprocessing.

Another idea would address the environments like Frescobaldi, that a 
publish mode is done to a different filename or directory. This would 
allow a workflow that can generate read to publish PDF files as well as

always point-and-click (and other options) on.

Helge

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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Beam groupings

2013-09-08 Thread EdBeesley
Rachael the version is 2.16.2.

I've now got the code to work, but the fix for this seems rather strange. If
I put the code before any declared notes in a part it doesn't work, e.g: 

vibestopstaff = \relative c'' { \time  2/4
  \set Timing.baseMoment = #(ly:make-moment 2 4) 
   \set Timing.beatStructure = #'(1) 
   \set Timing.beamExceptions = #'() 
  c8 ( bes   a f ) |
  
Whereas if I insert it after the first couple of notes it works as intended: 

 c8 ( bes \set Timing.baseMoment = #(ly:make-moment 2 4) 
   \set Timing.beatStructure = #'(1) 
   \set Timing.beamExceptions = #'()   a f ) |

Is this supposed to happen? I don't understand the necessity of having to
interleave it with notes before it's acknowledged by the parser

Peter your code didn't work at first, maybe I was putting it in the wrong
place. I tried combining it with the advice in the manual and inserted it
here:

 \new Staff = VibesT {
\overrideTimeSignatureSettings
 2/4
 2/4   
  #'(1)  
  #'()
 
   \vibestopstaff

This also works as intended. 

Thanks for the help everyone, I'm a recent convert from Sibelius and whilst
I love the quality of the output from Lilypond it sure is a steep learning
curve!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150443.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


Re: Beam groupings

2013-09-08 Thread David Kastrup
EdBeesley edplaysdr...@gmail.com writes:

 Rachael the version is 2.16.2.

 I've now got the code to work, but the fix for this seems rather strange. If
 I put the code before any declared notes in a part it doesn't work, e.g: 

 vibestopstaff = \relative c'' { \time  2/4
   \set Timing.baseMoment = #(ly:make-moment 2 4) 
\set Timing.beatStructure = #'(1) 
\set Timing.beamExceptions = #'() 
   c8 ( bes   a f ) |

Fixed in 2.17.12
URL:http://code.google.com/p/lilypond/issues/detail?id=3140

In the mean time, do something like \context Voice { \time 2/4 ...

or similar to get the Score context set up properly before the commands
register.

-- 
David Kastrup


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


Re: A Question and Apologies

2013-09-08 Thread Mike Solomon
On 8 sept. 2013, at 10:48, Phil Holmes m...@philholmes.net wrote:

 Concerning etiquette - please don't send such large attachments to the 
 mailing list.  It's trivial to reduce its size below 100k which is far more 
 manageable - there are people who help here who are on dial up.
  
 I now understand what you want but don't know offhand how to do it.  I attach 
 a smaller version of your scan in case anyone else knows.
 
 --
 Phil Holmes
  

You can get a similar effect by making a cross-staff arpeggio :

http://www.lilypond.org/doc/v2.16/Documentation/notation/expressive-marks-as-lines#arpeggio

and changing the stencil :

\override Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket

You'd need to write a more complicated stencil function to get the type of 
brace you're looking for.

Cheers,
MS

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


Re: Beam groupings

2013-09-08 Thread Eluze
EdBeesley wrote
 Rachael the version is 2.16.2.
 
 I've now got the code to work, but the fix for this seems rather strange.
 If I put the code before any declared notes in a part it doesn't work,
 e.g: 
 
 vibestopstaff = \relative c'' { \time  2/4
   \set Timing.baseMoment = #(ly:make-moment 2 4) 
\setvibestopstaff Timing.beatStructure = #'(1) 
\set Timing.beamExceptions = #'() 
   c8 ( bes   a f ) |
   

I can't reproduce the error(s).

I suppose your full code is something like 

*code above*
}
{\vibestopstaff}

then it compiles perfectly in 2.16.0 and higher.

only when removing or postponing the /\time 2/4/ then errors raise

Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150447.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


Re: LilyPond and ConTeXt

2013-09-08 Thread Henning Hraban Ramm
Am 2013-09-06 um 23:12 schrieb David Rogers davidandrewrog...@gmail.com:

 Hello
 There have been several methods in the history of LilyPond for
 integrating LilyPond scores with ConTeXt documents (ConTeXt is a newer
 more-flexible system somewhat analogous to LaTeX).
 
 Right now, which is the best choice for putting ConTeXt and LilyPond
 together? (Your answer might be Don't bother, just use LaTeX, if you
 have a good reason for saying that.)


Hi David,

I’m the one behind the previous lilypond module for ConTeXt and the current 
LilyPond filter suggestion.
For me, it works great (besides the usual layout problems with TeX).

I guess the matter is, what are you planning to do?
I’m typesetting songbooks.


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


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


Re: LilyPond and ConTeXt

2013-09-08 Thread Henning Hraban Ramm
Am 2013-09-06 um 23:50 schrieb Marc Hohl m...@hohlart.de:

 Am 06.09.2013 19:12, schrieb David Rogers:
 Hello
 
 There have been several methods in the history of LilyPond for
 integrating LilyPond scores with ConTeXt documents (ConTeXt is a newer
 more-flexible system somewhat analogous to LaTeX).
 
 Right now, which is the best choice for putting ConTeXt and LilyPond
 together? (Your answer might be Don't bother, just use LaTeX, if you
 have a good reason for saying that.)
 
 
 Hehe – just use LaTeX ;-)

I would not. Let’s not start a flame war here.

 I stumbled across this problem some time ago and found
 http://wiki.contextgarden.net/LilyPond
 
 which might work or not, but since this project would have been the first try 
 to get a grip with ConTeXt and I didn't manage to get even
 the stuff mentioned in this link up and running,

Can you tell me, what your problems were? I’d like to enhance the documentation.

 I decided to use
 XeLaTeX and lilypond-book for the simple reason that I find it easier to
 find help on the web concerning LaTeX-specific problems ;-)


Of course the LaTeX community is bigger. If LaTeX fits your needs, use it. 
ConTeXt needs a bit more own handicraft, but then you have all the adjustings 
screws at your fingertips.
I prefer the accessibility of ConTeXt’s setup commands over writing/adapting 
LaTeX style files that never *completely* fit your needs. And I don’t want to 
know about conflicting packages...


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





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


LSR - How to change images

2013-09-08 Thread Pierre Perol-Schneider
Dear List,

I'm trying to propose a new snippet to the LSR :
http://lsr.dsi.unimi.it/LSR/Item?id=886

My problem comes from the image :
1. it looks a little rough
2. above edge is cutted
3. but, more important, it does not show what v2.17 or v.2.17 actually make.

My question :
Is there a way to modifiy the related image ?
http://lsr.dsi.unimi.it/LSR/Image?id=886

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


Re: LilyPond and ConTeXt

2013-09-08 Thread David Kastrup
Henning Hraban Ramm lilypon...@fiee.net writes:

 Am 2013-09-06 um 23:50 schrieb Marc Hohl m...@hohlart.de:

 Am 06.09.2013 19:12, schrieb David Rogers:
 Hello
 
 There have been several methods in the history of LilyPond for
 integrating LilyPond scores with ConTeXt documents (ConTeXt is a newer
 more-flexible system somewhat analogous to LaTeX).
 
 Right now, which is the best choice for putting ConTeXt and LilyPond
 together? (Your answer might be Don't bother, just use LaTeX, if you
 have a good reason for saying that.)
 
 
 Hehe – just use LaTeX ;-)

 I would not. Let’s not start a flame war here.

Context is not supported by Lilypond-book as far as I can tell.  That
might be a worthwhile project for a Context user.

-- 
David Kastrup


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


Re: LSR - How to change images

2013-09-08 Thread Thomas Morley
2013/9/8 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com:
 Dear List,

 I'm trying to propose a new snippet to the LSR :
 http://lsr.dsi.unimi.it/LSR/Item?id=886

 My problem comes from the image :
 1. it looks a little rough
 2. above edge is cutted
 3. but, more important, it does not show what v2.17 or v.2.17 actually make.

 My question :
 Is there a way to modifiy the related image ?
 http://lsr.dsi.unimi.it/LSR/Image?id=886

 Cheers,
 Pierre

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


Hi Pierre,

it's a known problem. :(

I'd place
\markup \vspace #2 %% LSR-problem-workaround
on top of your file.

Cheers,
  Harm

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


Re: LilyPond and ConTeXt

2013-09-08 Thread Henning Hraban Ramm

Am 2013-09-08 um 16:28 schrieb David Kastrup d...@gnu.org:

 Right now, which is the best choice for putting ConTeXt and LilyPond
 together? (Your answer might be Don't bother, just use LaTeX, if you
 have a good reason for saying that.)
 
 Hehe – just use LaTeX ;-)
 
 I would not. Let’s not start a flame war here.
 
 Context is not supported by Lilypond-book as far as I can tell.  That
 might be a worthwhile project for a Context user.

No, the approach is different.

Lilypond-book is a preprocessor that works on a pre-LaTeX source, extracts the 
LilyPond snippets, compiles them and writes a LaTeX source with image 
inclusions back. (As far as I understand.)

With ConTeXt we use the filter module to call external programs on snippets 
at runtime (keeping track of changes, to avoid unnecessary runs), i.e. in the 
LilyPond case we write everything between \startlilypond and \stoplilypond into 
a buffer file, run LilyPond on it (if the snippet’s MD5 sum is different than 
the previous version) and inject the image inclusion directly into ConTeXt’s 
processing stream.

On the wiki page I show my version of the setup: 
http://wiki.contextgarden.net/LilyPond
It’s really simple Lua code. (Ok, you have to get used to ConTeXt’s use of Lua.)
The biggest part is the lookup on the number of systems - I decided to include 
single systems to let the page breaking to ConTeXt.

Both approaches have their merits, I guess.

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





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


Re: LSR - How to change images

2013-09-08 Thread Thomas Morley
2013/9/8 Thomas Morley thomasmorle...@gmail.com:
 2013/9/8 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com:
 Dear List,

 I'm trying to propose a new snippet to the LSR :
 http://lsr.dsi.unimi.it/LSR/Item?id=886

 My problem comes from the image :
 1. it looks a little rough
 2. above edge is cutted
 3. but, more important, it does not show what v2.17 or v.2.17 actually make.

 My question :
 Is there a way to modifiy the related image ?
 http://lsr.dsi.unimi.it/LSR/Image?id=886

 Cheers,
 Pierre

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


 Hi Pierre,

 it's a known problem. :(

 I'd place
 \markup \vspace #2 %% LSR-problem-workaround
 on top of your file.

 Cheers,
   Harm

For the version:
Please add
[needs LSR upgrade]
to the title of your snippet, if it shows what you expect, only with
versions higher than current LSR-version (2.14.2).
Do this, even if it compiles in some way with 2.14.2.

Cheers,
  Harm

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


Re: LilyPond and ConTeXt

2013-09-08 Thread Marc Hohl

Am 08.09.2013 11:20, schrieb Henning Hraban Ramm:

Am 2013-09-06 um 23:50 schrieb Marc Hohl m...@hohlart.de:


Am 06.09.2013 19:12, schrieb David Rogers:

Hello

There have been several methods in the history of LilyPond for
integrating LilyPond scores with ConTeXt documents (ConTeXt is a newer
more-flexible system somewhat analogous to LaTeX).

Right now, which is the best choice for putting ConTeXt and LilyPond
together? (Your answer might be Don't bother, just use LaTeX, if you
have a good reason for saying that.)



Hehe – just use LaTeX ;-)


I would not. Let’s not start a flame war here.


I did not intend to start a flame war, I was just quoting David's
remark ;-)



I stumbled across this problem some time ago and found
http://wiki.contextgarden.net/LilyPond

which might work or not, but since this project would have been the first try 
to get a grip with ConTeXt and I didn't manage to get even
the stuff mentioned in this link up and running,


Can you tell me, what your problems were? I’d like to enhance the documentation.


Well, I don't remember exactly where my problems were – it is just that
I work for 20 years with LaTeX, so I am quite familiar with it, whereas
playing half an hour with ConTeXt did not show up any included scores,
so I deinstalled it.

Nevertheless, I'd like to give ConTeXt a try in the future ...



I decided to use
XeLaTeX and lilypond-book for the simple reason that I find it easier to
find help on the web concerning LaTeX-specific problems ;-)



Of course the LaTeX community is bigger. If LaTeX fits your needs, use it.


It worked quite well for my project, but not out-of-the-box, as you may
guess ;-)


ConTeXt needs a bit more own handicraft, but then you have all the adjustings 
screws at your fingertips.
I prefer the accessibility of ConTeXt’s setup commands over writing/adapting 
LaTeX style files that
 never *completely* fit your needs. And I don’t want to know about 
conflicting packages...


ConTeXt seems to be monolithic and this makes it very interesting for
me.

My personal problem (or call it style of approach) is that I learned
LaTeX by buying Helmut Kopkas books and worked right through them from
cover to cover.
I miss a book that does the same for ConTeXt.

And yes, I know that there is *a lot* of information/manuals/stuff
about ConTeXt available, but printing 400+ pages of the manual and
placing it on my desktop is not the same as a good book that takes
you by the hand and explains everything from simple to complicated.

I may be outdated, but this is my preferred way of getting a grip on
ConTeXt ;-)

But I think this became quite off-topic now.

Regards,

Marc


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


Re: LSR - How to change images

2013-09-08 Thread Pierre Perol-Schneider
Thanks for the tip Harm.
Does this mean that one cannot manually change images ?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Beam groupings

2013-09-08 Thread Trevor Daniels

Eluze wrote Sunday, September 08, 2013 10:04 AM

 I can't reproduce the error(s).
 
 I suppose your full code is something like 
 
 *code above*
 }
 {\vibestopstaff}
 
 then it compiles perfectly in 2.16.0 and higher.
 
 only when removing or postponing the /\time 2/4/ then errors raise

Yes, \time resets all the beaming parameters for the specified time signature.

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


RE: Anacrusis

2013-09-08 Thread Mark Stephen Mrotek
Jim:

Thank you for your reply and the second way to accomplish the partial
measure.

Mark

-Original Message-
From: Jim Long [mailto:lilyp...@umpquanet.com] 
Sent: Saturday, September 07, 2013 11:30 PM
To: Mark Stephen Mrotek
Cc: lilypond-user@gnu.org
Subject: Re: Anacrusis

On Sat, Sep 07, 2013 at 08:28:52PM -0700, Mark Stephen Mrotek wrote:
 Hello:
 
 A partial measure contains 1 and 1/16 beat. How is that notated in the 
 command \partial?
 
 Thank you.
 
 Mark

You say 1 and 1/16 *beat*, but I suspect you mean one quarter
*note* and one 16th *note*, correct?  In 4/4 time, one 16th of a beat would
be a 64th note.

Assuming that you mean five 16th notes (one and one-quarter beats), the way
to do it with partial is

\partial note-duration * multiplier

or 

\partial 16*5

Jim


\version 2.16.2

\score {
  \new Staff \relative e' {
\partial 16*5
e16 e e e e
a4 a a2
  }
}


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


RE: Anacrusis

2013-09-08 Thread Mark Stephen Mrotek
Mr. Payne:

 

Read the documentation. It is an addition to 2.17 that is not in 2.16.2
which is the one that I regularly use.

 

Mark

 

From: Nick Payne [mailto:nick.pa...@internode.on.net] 
Sent: Saturday, September 07, 2013 10:56 PM
To: Mark Stephen Mrotek
Cc: lilypond-user@gnu.org
Subject: Re: Anacrusis

 

On 08/09/13 15:02, Mark Stephen Mrotek wrote:

Mr. Payne,

 

Perfect! Thank you. I assume that the -5/16 means that the measure starts
5/16 before the end. Correct?


See the NR section on upbeats:
http://www.lilypond.org/doc/v2.17/Documentation/notation/displaying-rhythms#
upbeats

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


Re: LSR - How to change images

2013-09-08 Thread Phil Holmes
Correct.  They're generated automatically.

--
Phil Holmes


  - Original Message - 
  From: Pierre Perol-Schneider 
  To: Thomas Morley 
  Cc: lilypond-user 
  Sent: Sunday, September 08, 2013 12:14 PM
  Subject: Re: LSR - How to change images


  Thanks for the tip Harm.
  Does this mean that one cannot manually change images ?


--


  ___
  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


announcement: OpenLilyLib Snippet Repository is open!

2013-09-08 Thread Janek Warchoł
Hi all,

following a discussion about LSR and its limitations (e.g. problems
with snippets written for development versions of LilyPond), I've
created a new place to store useful pieces of LilyPond code:

http://github.com/openlilylib/snippets (scroll down to see description)

Note that this is *not* intended as a competition to LSR.  The goal is
to have some place where we could store (and collaborate on!) snippets
that cannot be added to LSR.  It may also become a place to
collaborate on functions and features that would later be added to
LilyPond.

This is a Git repository, but don't worry - it's not difficult to use
it!  Code can be easily contributed using GitHub's web interface, see
instructions here:
http://github.com/openlilylib/snippets#contributing

There aren't many snippets there yet, so i invite you to contribute -
i don't require that the snippets you send are written perfectly.

Currently two projects are being developed there that i think are
worth looking at:
http://github.com/openlilylib/snippets/tree/master/templates/predefined-instruments
http://github.com/openlilylib/snippets/blob/master/notation-snippets/display-slur-control-points.ly

cheers,
Janek

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


some original LP scores

2013-09-08 Thread Dave Phillips

Greetings,

Some time ago I wrote to this list with some questions which were 
answered promptly by various members here. Thanks to their assistance I 
got re-started with LilyPond, and I've been busy using it via the 
Frescobaldi program.


I've revised some pieces and added some new things here :

http://linux-sound.org/dlp-music-lilypond/

Comments and suggestions are most welcome, particularly regarding part 
writing and instrument-specific matters. This work was done primarily in 
response to an on-going article project, I'd like it to be presented as 
well as possible.


Again, my deep thanks to the LP development and user communities.

Best regards,

dp

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


Re: LilyPond and ConTeXt

2013-09-08 Thread David Rogers
Henning Hraban Ramm lilypon...@fiee.net writes:

 Am 2013-09-06 um 23:12 schrieb David Rogers davidandrewrog...@gmail.com:

 Hello
 There have been several methods in the history of LilyPond for
 integrating LilyPond scores with ConTeXt documents (ConTeXt is a newer
 more-flexible system somewhat analogous to LaTeX).
 
 Right now, which is the best choice for putting ConTeXt and LilyPond
 together? (Your answer might be Don't bother, just use LaTeX, if you
 have a good reason for saying that.)


 Hi David,

 I’m the one behind the previous lilypond module for ConTeXt and the current 
 LilyPond filter suggestion.
 For me, it works great (besides the usual layout problems with TeX).

 I guess the matter is, what are you planning to do?
 I’m typesetting songbooks.

I'd like to be able to make a teaching book for piano students - short
pieces with comments and explanations in between, with the ability to
have section or chapter headings and other types of headings as well,
and easy control over page-breaking (both within the music and between
the pieces) would be nice. Shouldn't be more difficult than a songbook,
I would think - perhaps even less, because there are fewer lines of
lyrics.

-- 
Thanks
David

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


Re: some original LP scores

2013-09-08 Thread Janek Warchoł
Hi,

do you know GitHub?  I think it would be convenient to use it in this
situation - it would be easy to post comments about specific lines of
code, send you patches with suggestions how to improve things etc (i
consider doing this manually to be pretty inconvenient).

Even if you don't know github and git, you may be interested to try
this (i could help you with setup) - it will most probably be a very
enlightening experience, as LilyPond text input enables you to use a
very interesting workflow.

best,
Janek

2013/9/8 Dave Phillips dlphill...@woh.rr.com:
 Greetings,

 Some time ago I wrote to this list with some questions which were answered
 promptly by various members here. Thanks to their assistance I got
 re-started with LilyPond, and I've been busy using it via the Frescobaldi
 program.

 I've revised some pieces and added some new things here :

 http://linux-sound.org/dlp-music-lilypond/

 Comments and suggestions are most welcome, particularly regarding part
 writing and instrument-specific matters. This work was done primarily in
 response to an on-going article project, I'd like it to be presented as well
 as possible.

 Again, my deep thanks to the LP development and user communities.

 Best regards,

 dp

 ___
 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: some original LP scores

2013-09-08 Thread luis jure

thanks for sharing, dave. 

wow, i imagine umeko must have been very beautiful... i had a japanese
girlfriend in the late 1980s, and i still remember her fondly.

i can't say i read your score with the attention it deserves, but the
first thing i noticed is that starting on m. 52 the rests in the middle
voice seem to be missing (it's the lower part in m. 73). it also called my
attention that there are several tempo indications through the piece, but
no dynamics after the initial mf.

other than that, i would have oriented some ties differently, specially on
some chords. is this out-of-the-box? looks nice overall.

good to see you around, dave, looking forward to reading your article!


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


Extra Bar

2013-09-08 Thread Mark Stephen Mrotek
Hello:

 

At the end of the second alternative ending in the attached snippet an
unwanted bar appears and disrupts the meter.

I have experimented with placing

\set Timing.measurePosition = #(ly:make-moment 3/8)
after the second alternative. Using it restores the meter. It does not
remove the extra bar.

 

What other method should I try?

 

Thank you for your kind attention.

 

Mark

\version 2.16.2

\relative c'' {
  
  
  \time 3/4
  
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  \repeat volra 2 {
  e16 e8. e16 | e4 e e }
  \alternative {{ e4 r8. }{ e4 r8 }}
  \set Timing.measurePosition = #(ly:make-moment 3/8)
  \key ees \minor
  bes8 [ ges ees ] | d4 d d |
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Bar

2013-09-08 Thread Simon Bailey
hi,

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek carsonm...@ca.rr.comwrote:

 At the end of the second alternative ending in the attached snippet an
 unwanted bar appears and disrupts the meter.

 **

 I have experimented with placing

 \set Timing.measurePosition = #(ly:make-moment 3/8)
 after the second alternative. Using it restores the meter. It does not
 remove the extra bar.

 ** **

 What other method should I try?


you have two possibilities:

first:
you have a partial upbeat, so you also have a partial first repeat bar. use
the \set Timing.measurePosition in the first alternative like this:


\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  \repeat volta 2 {
  e16 e8. e16 | e4 e e }
  \alternative {
{
  \set Timing.measurePosition = #(ly:make-moment -7/16)
  e4 r8.
}
{
  e4 r8
  \key ees \minor
  bes8 [ ges ees ] |
}
  }
   d4 d d |
}


however, you then have a key change in the middle of the second
alternative. this is ugly. a more correct way of notating your example,
avoiding partial bars after the first bar:


\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  e16 e8. e16 |
  \repeat volta 2 {
e4 e e
  }
  \alternative {
{ e4 r8. e16 e8. e16 | }
{ e4 r8 }
  }
  bes8 [ ges ees ] |
  \key ees \minor
  d4 d d |
}


regards,
sb
-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: some original LP scores

2013-09-08 Thread SoundsFromSound
Dave:

Thank you so much for sharing these! They look great. Wonderful examples of
how beautiful engraved scores look using LilyPond.

Ben


Dave Phillips wrote
 Greetings,
 
 Some time ago I wrote to this list with some questions which were 
 answered promptly by various members here. Thanks to their assistance I 
 got re-started with LilyPond, and I've been busy using it via the 
 Frescobaldi program.
 
 I've revised some pieces and added some new things here :
 
  http://linux-sound.org/dlp-music-lilypond/
 
 Comments and suggestions are most welcome, particularly regarding part 
 writing and instrument-specific matters. This work was done primarily in 
 response to an on-going article project, I'd like it to be presented as 
 well as possible.
 
 Again, my deep thanks to the LP development and user communities.
 
 Best regards,
 
 dp
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user





-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/some-original-LP-scores-tp150462p150469.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


RE: Extra Bar

2013-09-08 Thread Mark Stephen Mrotek
Mr. Bailey,

 

Thank you for your reply and the detailed corrections. I will study both of
them to increase my knowledge.

 

Mark

 

From: bina...@gmail.com [mailto:bina...@gmail.com] On Behalf Of Simon Bailey
Sent: Sunday, September 08, 2013 11:30 AM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: Extra Bar

 

hi,

 

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek carsonm...@ca.rr.com
wrote:

At the end of the second alternative ending in the attached snippet an
unwanted bar appears and disrupts the meter.

I have experimented with placing

\set Timing.measurePosition = #(ly:make-moment 3/8)
after the second alternative. Using it restores the meter. It does not
remove the extra bar.

 

What other method should I try?

 

you have two possibilities:

 

first:

you have a partial upbeat, so you also have a partial first repeat bar. use
the \set Timing.measurePosition in the first alternative like this:

 

 

\relative c'' {

  \time 3/4 

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  \repeat volta 2 {

  e16 e8. e16 | e4 e e }

  \alternative {

{ 

  \set Timing.measurePosition = #(ly:make-moment -7/16)

  e4 r8. 

}

{ 

  e4 r8 

  \key ees \minor

  bes8 [ ges ees ] |

}

  }

   d4 d d |

}

 

 

however, you then have a key change in the middle of the second alternative.
this is ugly. a more correct way of notating your example, avoiding
partial bars after the first bar:

 

 

\relative c'' {

  \time 3/4

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  e16 e8. e16 |

  \repeat volta 2 {

e4 e e 

  }

  \alternative {

{ e4 r8. e16 e8. e16 | }

{ e4 r8 }

  }

  bes8 [ ges ees ] | 

  \key ees \minor

  d4 d d |

}

  

 

regards,

sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger. 

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


RE: Extra Bar

2013-09-08 Thread Mark Stephen Mrotek
Mr. Bailey,

 

Again thank you for your detailed suggestions. I opened both of them and
the second appeared closer to what I want. In addition your
commentary/explanation got me to ask What if? So I tried a few other
things and came up with the attached snippet.

 

As a teacher I appreciate what you have done to help me, a learner.

 

Mark

 

From: bina...@gmail.com [mailto:bina...@gmail.com] On Behalf Of Simon Bailey
Sent: Sunday, September 08, 2013 11:30 AM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: Extra Bar

 

hi,

 

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek carsonm...@ca.rr.com
wrote:

At the end of the second alternative ending in the attached snippet an
unwanted bar appears and disrupts the meter.

I have experimented with placing

\set Timing.measurePosition = #(ly:make-moment 3/8)
after the second alternative. Using it restores the meter. It does not
remove the extra bar.

 

What other method should I try?

 

you have two possibilities:

 

first:

you have a partial upbeat, so you also have a partial first repeat bar. use
the \set Timing.measurePosition in the first alternative like this:

 

 

\relative c'' {

  \time 3/4 

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  \repeat volta 2 {

  e16 e8. e16 | e4 e e }

  \alternative {

{ 

  \set Timing.measurePosition = #(ly:make-moment -7/16)

  e4 r8. 

}

{ 

  e4 r8 

  \key ees \minor

  bes8 [ ges ees ] |

}

  }

   d4 d d |

}

 

 

however, you then have a key change in the middle of the second alternative.
this is ugly. a more correct way of notating your example, avoiding
partial bars after the first bar:

 

 

\relative c'' {

  \time 3/4

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  e16 e8. e16 |

  \repeat volta 2 {

e4 e e 

  }

  \alternative {

{ e4 r8. e16 e8. e16 | }

{ e4 r8 }

  }

  bes8 [ ges ees ] | 

  \key ees \minor

  d4 d d |

}

  

 

regards,

sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger. 

\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  e16^\markup { \bold Minuetto } e8. e16 |
  \repeat volta 2 {
e4 e e 
  }
  \alternative {
{ e4 r8. e16 e8. e16 | }
{ e4 r8 }
  }
  \repeat volta 2 {
  \key ees \minor
  bes8^\markup { \bold Trio } [ ges ees ] | 
  
  d4 d d }
}
  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: can I set panning in midi

2013-09-08 Thread Karl Hammar
Karl Hammar:
 David Kastrup:
  k...@aspodata.se (Karl Hammar) writes:
  
   I can set midi instrument with e.g.
  
  [...]
  
   but can I set where in the stereo left-right sound picture the sound
   will be placed ?
  
  No.
...
  http://home.roadrunner.com/~jgglatt/tech/midispec/pan.htm
 
 mentions pan, perhaps this is fixable.

I'm trying to make 

\score { \unfoldRepeats %\articulate
  
\set Score.midiInstrument = #electric bass (finger) % 34
\new ChoirStaff 
  \new Staff {
\set Staff.midiPan = #90
\context Voice = Vs { \fmks }
  }
  \new Staff {
\set Staff.midiPan = #30
\context Voice = Va { \fmka }
  }
  \new Staff {
\set Staff.midiPan = #-30
\context Voice = Vt { \fmkt }
  }
  \new Staff {
\set Staff.midiPan = #-90
\context Voice = Vb { \fmkb }
  }

  
  \midi { \tempo 4 = 108 }
}

to work.

Getting from .ly file to c++ was easy, but how do I get the
pan-setting down to midi ?

My current try is

 http://turkos.aspodata.se/tmp/pan.diff

and my guess is that somehow
 Staff_performer::acknowledge_audio_element
is run, which adds things to the audio_staff.

Then, somehow something from midi-chunk.cc is run.

Soo, how far off from reality am I?

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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


Re: can I set panning in midi

2013-09-08 Thread David Kastrup

k...@aspodata.se (Karl Hammar) writes:

 Karl Hammar:
 David Kastrup:
  k...@aspodata.se (Karl Hammar) writes:
  
   I can set midi instrument with e.g.
  
  [...]
  
   but can I set where in the stereo left-right sound picture the sound
   will be placed ?
  
  No.
 ...
  http://home.roadrunner.com/~jgglatt/tech/midispec/pan.htm
 
 mentions pan, perhaps this is fixable.

 Getting from .ly file to c++ was easy, but how do I get the
 pan-setting down to midi ?

 My current try is

  http://turkos.aspodata.se/tmp/pan.diff

 and my guess is that somehow
  Staff_performer::acknowledge_audio_element
 is run, which adds things to the audio_staff.

 Then, somehow something from midi-chunk.cc is run.

 Soo, how far off from reality am I?

You should probably check with the available documentation for our Midi
code.  Last time I checked, the available documentation was called Jan
and lived in the Netherlands.

-- 
David Kastrup

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


Re: can I set panning in midi

2013-09-08 Thread Jan Nieuwenhuizen
David Kastrup writes:

 k...@aspodata.se (Karl Hammar) writes:
 Karl Hammar:
 David Kastrup:
  k...@aspodata.se (Karl Hammar) writes:
 Soo, how far off from reality am I?

 You should probably check with the available documentation for our Midi
 code.  Last time I checked, the available documentation was called Jan
 and lived in the Netherlands.

Hah.  It seems that you're doing something not unlike setting the
staff's instrument name, eg.  Maybe you can learn from that.  How does
the Audio_pan get into the staff, where are you announcing the Audio_pan
element?

Greetings, Jan

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

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


Re: some original LP scores

2013-09-08 Thread David Kastrup
luis jure l...@internet.com.uy writes:

 thanks for sharing, dave. 

 wow, i imagine umeko must have been very beautiful...

Not in tablature, I'm afraid (but that's not how Dave himself chose to
look at Umeko).  I entered a Type-Ugly issue as
URL:http://code.google.com/p/lilypond/issues/detail?id=3542.

It's not quite original as I had to sever a tie in order to make sure it
was not cause of the problem.

-- 
David Kastrup


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


Re:some original LP scores

2013-09-08 Thread Dave Phillips

On 09/08/2013 12:00 PM, lilypond-user-requ...@gnu.org aka luis jure wrote:



i can't say i read your score with the attention it deserves, but the
first thing i noticed is that starting on m. 52 the rests in the middle
voice seem to be missing (it's the lower part in m. 73). it also called my
attention that there are several tempo indications through the piece, but
no dynamics after the initial mf.

other than that, i would have oriented some ties differently, specially on
some chords. is this out-of-the-box? looks nice overall.


Hi Luis !

Ouch, no dynamics after the initial mf. Seriously, Umeko's LP code needs 
a complete rewrite, I'll fix the dynamics and a dozen other things that 
bother me now. IIRC, the code was last updated for LP 2.6. Btw, some of 
the missing rests are hidden, typically for space. I'll try to do better 
next time.


Btw, I've used vim for some editing jobs Frescobaldi doesn't do so well. 
Hard to beat it for things like


%s/foo/foobar/g



good to see you around, dave, looking forward to reading your article!




It's good to be around. :)  I'll post a note here when the article is 
published. It won't be soon, they want an article on Csound asap, but I 
admit that I got diverted by Frescobaldi. So now I have to finish the 
other article, then I can complete the one on LP. And then they want one 
on SuperCollider3. Of course I'm going to look at ways LP integrates (or 
not) with those systems, via FOMUS, LilyCollider, and whatever else I 
can find, hopefully from suggestions here. Since you're a fellow 
Csounder, can you suggest ways to link that system with LP ? IIRC Csound 
has some support for MusicXML, but I've never tested it.


Thanks for looking at the scores, and thanks especially for the 
suggestions for improvement.


Best,

dp


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


Worse error message in 2.17

2013-09-08 Thread Noeck
Hi,

if I forget to set the language correctly as in this example:

\version 2.16.0
%\language deutsch
{ b a c' h }

the error message in 2.16.0 was:

error: syntax error, unexpected STRING
{ b a c'
 h }

That told me: The h is wrong and I remembered to set the language.

In 2.17.19, lilypond tells me:

error: have to be in Lyric mode for lyrics
{ b a c'
 h }

I would consider this misleading, because a single string that does not
fit in the music input syntax is not yet a clear sign that the user
wants to write lyrics. I was searching for errors in the lyrics for a
while and then I realized the line break before the h in the error
message.

Could I file a bug/wish for that or do you consider it as normal?

My suggestion for the error message:
a) if the string fits with any language setting, ask the user if he
wants another input language.

if a) is difficult:
b) don't talk about lyrics here, at least not in the first place. More like:
h is not understandable in a music expression. Is that a typo, did you
forget to set the language correcly or did you want to write lyrics
here? (in better English)

Cheers,
Joram

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


Re: Worse error message in 2.17

2013-09-08 Thread David Kastrup
Noeck noeck.marb...@gmx.de writes:

 Hi,

 if I forget to set the language correctly as in this example:

 \version 2.16.0
 %\language deutsch
 { b a c' h }

 the error message in 2.16.0 was:

 error: syntax error, unexpected STRING
 { b a c'
  h }

 That told me: The h is wrong and I remembered to set the language.

 In 2.17.19, lilypond tells me:

 error: have to be in Lyric mode for lyrics
 { b a c'
  h }

 I would consider this misleading, because a single string that does not
 fit in the music input syntax is not yet a clear sign that the user
 wants to write lyrics. I was searching for errors in the lyrics for a
 while and then I realized the line break before the h in the error
 message.

 Could I file a bug/wish for that or do you consider it as normal?

URL:http://code.google.com/p/lilypond/issues/detail?id=3300

GNU LilyPond 2.17.26
Processing `xxx.ly'
Parsing...
xxx.ly:1:10: error: unrecognized string, not in text script or \lyricmode
{ b a c' 
 h }

It's better to get your wishes in before a fix is actually committed.
Participating in the review allows you to add your own ideas timely.

 My suggestion for the error message:
 a) if the string fits with any language setting, ask the user if he
 wants another input language.

Far too complex, too much second-guessing the user.

 if a) is difficult:
 b) don't talk about lyrics here, at least not in the first place. More like:
 h is not understandable in a music expression. Is that a typo, did you
 forget to set the language correcly or did you want to write lyrics
 here? (in better English)

We don't have error messages that verbose (that's the kind of stuff you
get in TeX _after_ pressing h for help).  Well, you see the current
goalpost (as of 2.17.26).  Try improving on that.

-- 
David Kastrup


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


Re: Worse error message in 2.17

2013-09-08 Thread Noeck
Hi David,

Am 08.09.2013 23:11, schrieb David Kastrup:
 URL:http://code.google.com/p/lilypond/issues/detail?id=3300
 
 GNU LilyPond 2.17.26
 Processing `xxx.ly'
 Parsing...
 xxx.ly:1:10: error: unrecognized string, not in text script or \lyricmode
 { b a c' 
  h }

Much better!

 It's better to get your wishes in before a fix is actually committed.
 Participating in the review allows you to add your own ideas timely.

I think I am satisfied with that message. I only wanted to avoid
pointing the user to lyricmode without mentioning any alternative
possible reason and without mentioning that one particular string is the
problem.

 My suggestion for the error message:
 a) if the string fits with any language setting, ask the user if he
 wants another input language.
 
 Far too complex, too much second-guessing the user.

Ok.

 b) don't talk about lyrics here, at least not in the first place. More like:
 h is not understandable in a music expression. Is that a typo, did you
 forget to set the language correcly or did you want to write lyrics
 here? (in better English)
 
 We don't have error messages that verbose 

That's ok, I found my version too long, too.

Cheers,
Joram

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


Re: Worse error message in 2.17

2013-09-08 Thread Eluze

hi

imo it's not worth to say where we are not - there are many other modes 
which could be mentioned!


wouldn't it be clearer to say: we are in \notemode -maybe even mention 
the language - and just tell that this string is recognized here!?


btw - I'm quite (am-)used now with/to this message and whenever I read 
it, I immediately know what's wrong ;-)


Eluze



Am 08.09.2013 23:11, schrieb David Kastrup:

Noeck noeck.marb...@gmx.de writes:


Hi,

if I forget to set the language correctly as in this example:

\version 2.16.0
%\language deutsch
{ b a c' h }

the error message in 2.16.0 was:

error: syntax error, unexpected STRING
{ b a c'
  h }

That told me: The h is wrong and I remembered to set the language.

In 2.17.19, lilypond tells me:

error: have to be in Lyric mode for lyrics
{ b a c'
  h }

I would consider this misleading, because a single string that does not
fit in the music input syntax is not yet a clear sign that the user
wants to write lyrics. I was searching for errors in the lyrics for a
while and then I realized the line break before the h in the error
message.

Could I file a bug/wish for that or do you consider it as normal?

URL:http://code.google.com/p/lilypond/issues/detail?id=3300

GNU LilyPond 2.17.26
Processing `xxx.ly'
Parsing...
xxx.ly:1:10: error: unrecognized string, not in text script or \lyricmode
{ b a c'
  h }

It's better to get your wishes in before a fix is actually committed.
Participating in the review allows you to add your own ideas timely.


My suggestion for the error message:
a) if the string fits with any language setting, ask the user if he
wants another input language.

Far too complex, too much second-guessing the user.


if a) is difficult:
b) don't talk about lyrics here, at least not in the first place. More like:
h is not understandable in a music expression. Is that a typo, did you
forget to set the language correcly or did you want to write lyrics
here? (in better English)

We don't have error messages that verbose (that's the kind of stuff you
get in TeX _after_ pressing h for help).  Well, you see the current
goalpost (as of 2.17.26).  Try improving on that.




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


Re: Worse error message in 2.17

2013-09-08 Thread David Kastrup
Eluze elu...@gmail.com writes:

 hi

 imo it's not worth to say where we are not - there are many other
 modes which could be mentioned!

 wouldn't it be clearer to say: we are in \notemode -maybe even
 mention the language - and just tell that this string is recognized
 here!?

Could be chordmode, or INITIAL mode, or drummode...

-- 
David Kastrup


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


Re: Worse error message in 2.17

2013-09-08 Thread Eluze
exactly - but if LilyPond knows in which mode she actually is why not 
tell it? - just a suggestion


Eluze


Am 08.09.2013 23:45, schrieb David Kastrup:

Eluze elu...@gmail.com writes:


hi

imo it's not worth to say where we are not - there are many other
modes which could be mentioned!

wouldn't it be clearer to say: we are in \notemode -maybe even
mention the language - and just tell that this string is recognized
here!?

Could be chordmode, or INITIAL mode, or drummode...




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


Re: Worse error message in 2.17

2013-09-08 Thread David Kastrup
Eluze elu...@gmail.com writes:

 exactly - but if LilyPond knows in which mode she actually is why not
 tell it? - just a suggestion

Because we then we have to fork into five or more error messages for the
same problem?

-- 
David Kastrup


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


Re: can I set panning in midi

2013-09-08 Thread Karl Hammar
Jan Nieuwenhiuzen:
 David Kastrup writes:
 
  k...@aspodata.se (Karl Hammar) writes:
  Karl Hammar:
  David Kastrup:
   k...@aspodata.se (Karl Hammar) writes:
  Soo, how far off from reality am I?
 
  You should probably check with the available documentation for our Midi
  code.  Last time I checked, the available documentation was called Jan
  and lived in the Netherlands.
 
 Hah.  It seems that you're doing something not unlike setting the
 staff's instrument name, eg.  Maybe you can learn from that.  How does
 the Audio_pan get into the staff, where are you announcing the Audio_pan
 element?

Not the faintest idéa, that is for the exciting continuation tomorrow!

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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


Re: some original LP scores

2013-09-08 Thread luis jure

on 2013-09-08 at 16:56 Dave Phillips wrote:

 Since you're a fellow Csounder, can you suggest ways to link that system
 with LP ? IIRC Csound has some support for MusicXML, but I've never
 tested it.

i did something very basic not long ago for a project, parsing the output
of the event-listener with a python script to generate a csound score. i
repeat it was *very basic*, according to my limited knowledge of python
and my non-existent programming skills... it was also hard-coded for our
specific LP code and csound orchestra, and it would be useless for general
use. but there are some ideas there.

i think this is a recurring theme on the lilypond community, the
possibility of rendering the music with good(ish) quality from the
lilypond score. at least *i* would be interested in something like that.

i see three possible lines of work:

1) improving lilypond's MIDI output. there's a thread still running about
panning, and there were others before that. right now lily's MIDI output is
very basic. of course MIDI itself is very limited, but if LP had a more
sophisticated MIDI module (or whatever it is called), that alone would be
a great improvement;

2) MusicXML? i must say that i know next to nothing about MusicXML itself,
or how it is supported by LP or Csound. but i guess there's much potential
there;

3) something along the lines of what i did. event-listener.ly would need
to be expanded to support more events, then different scripts could be
developed to parse the output and generate standard midi files or csound
scores or whatever. i think python is perfect for this task, but then
again i know very little or nothing about other programming languages.
from what i hear, many people like lua now.

i think those would be interesting projects if there were people with both
the qualifications and the disposition to work on them... i'd be glad to
involve myself in something along line 3) if it used python. but someone
is needed with solid LP scheme knowledge to expand event-listener.ly.


best,


lj






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


Re: Worse error message in 2.17

2013-09-08 Thread Eluze

hi David

is that a question or a statement?

I don't understand why this would fork into different messages

it's just my suggestion as a user - not knowing how it is handled in the 
back.


Eluze



Am 09.09.2013 00:20, schrieb David Kastrup:

Eluze elu...@gmail.com writes:


exactly - but if LilyPond knows in which mode she actually is why not
tell it? - just a suggestion

Because we then we have to fork into five or more error messages for the
same problem?




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


Re: LilyPond and ConTeXt

2013-09-08 Thread Urs Liska

Am 08.09.2013 17:18, schrieb David Rogers:

Henning Hraban Ramm lilypon...@fiee.net writes:


Am 2013-09-06 um 23:12 schrieb David Rogers davidandrewrog...@gmail.com:


Hello
There have been several methods in the history of LilyPond for
integrating LilyPond scores with ConTeXt documents (ConTeXt is a newer
more-flexible system somewhat analogous to LaTeX).

Right now, which is the best choice for putting ConTeXt and LilyPond
together? (Your answer might be Don't bother, just use LaTeX, if you
have a good reason for saying that.)


Hi David,

I’m the one behind the previous lilypond module for ConTeXt and the current 
LilyPond filter suggestion.
For me, it works great (besides the usual layout problems with TeX).

I guess the matter is, what are you planning to do?
I’m typesetting songbooks.

I'd like to be able to make a teaching book for piano students - short
pieces with comments and explanations in between, with the ability to
have section or chapter headings and other types of headings as well,
and easy control over page-breaking (both within the music and between
the pieces) would be nice. Shouldn't be more difficult than a songbook,
I would think - perhaps even less, because there are fewer lines of
lyrics.

You might check out musicexamples 
(http://www.openlilylib.org/musicexamples), a LaTeX package. Still 
slightly short of a first official release but maybe useful in that respect.
One thing on the list of ideas is to make a (LuaLaTeX only) extension 
allowing to enter LilyPond code like in lilypond-book that is then 
processed directly from compiling the document (similar to what Henning 
describes for ConTeXt).


Best
Urs

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


Rehearsal mark alignment change from 2.16 to 2.17

2013-09-08 Thread Jim Long
I did a build of 2.17.26 on FreeBSD today to try things out, and
quickly found one change I wanted to inquire about.

Given this code:

\score {
  \new Staff \relative c' {
\override RehearsalMark #'break-align-symbols = #'(clef bar)
\mark \default
c1
\mark \default
c1
  }
}

2.16.2 centers each mark over its alignment symbol (the clef and
the barline, respectively).

But in 2.17.26, the first mark is left-aligned with the
centerline of the clef, while the second mark is center-aligned
over the barline.

Is this intentional, or a mild bug?

Thanks!

Jim

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


TextSpanner in Score context?

2013-09-08 Thread Dominic
Hi everyone,

Is there any way that I can make a ralla tempo that is firmly in
the Score context, using MetronomeMarks and TextSpanners? I want the
ralla tempo to appear on the top of the score, not on every single
staff. But I also want to retain the ability to use TextSpanners as normal,
within individual staffs. Is this a possibility? Or, if not, what is the
most elegant alternative way of doing it? I realise that the question of
Tempo spanners has been raised before, but no solution was suggested, to
my knowledge.

I even tried the ludicrous idea of making a fake spanner by having something
like this:
/\repeat unfold 16 { \tempo . s16 }/
but that wasn't great because the dots didn't act as a single line (some of
them were pushed out of the way by high notes)

Any suggestions?

Thanks!

Dominic



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/TextSpanner-in-Score-context-tp150491.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


Re: TextSpanner in Score context?

2013-09-08 Thread Thomas Morley
2013/9/9 Dominic dominicirv...@gmail.com:
 Hi everyone,

 Is there any way that I can make a ralla tempo that is firmly in
 the Score context, using MetronomeMarks and TextSpanners? I want the
 ralla tempo to appear on the top of the score, not on every single
 staff. But I also want to retain the ability to use TextSpanners as normal,
 within individual staffs. Is this a possibility? Or, if not, what is the
 most elegant alternative way of doing it? I realise that the question of
 Tempo spanners has been raised before, but no solution was suggested, to
 my knowledge.

 I even tried the ludicrous idea of making a fake spanner by having something
 like this:
 /\repeat unfold 16 { \tempo . s16 }/
 but that wasn't great because the dots didn't act as a single line (some of
 them were pushed out of the way by high notes)

 Any suggestions?

 Thanks!

 Dominic

Hi Dominic,

seems the following minimal example works, though, I've really no clue
about the drawbacks.

\version 2.17.25

\layout {
  \context {
\Score
\consists Text_spanner_engraver
  \override TextSpanner #'after-line-breaking =
#ly:side-position-interface::move-to-extremal-staff
  }
  \context {
\Voice
\remove Text_spanner_engraver
  }
}

mI = \new Staff { c\startTextSpan d\stopTextSpan }
mII = \new Staff { c\startTextSpan d\stopTextSpan }

\new StaffGroup 
\mI
\mII


\mI
\mII


Cheers,
  Harm

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


Re: some original LP scores

2013-09-08 Thread Rachael Thomas Carlson

Hello dp:

Sonatina: Prelude, m.2 should have a third position marking instead of 
the second position marking that is in the score at the moment.


I am having some fun playing through these.  Has anyone performed them?

Rachael

On 09/08/2013 09:53 AM, Dave Phillips wrote:

Greetings,

Some time ago I wrote to this list with some questions which were
answered promptly by various members here. Thanks to their assistance I
got re-started with LilyPond, and I've been busy using it via the
Frescobaldi program.

I've revised some pieces and added some new things here :

 http://linux-sound.org/dlp-music-lilypond/

Comments and suggestions are most welcome, particularly regarding part
writing and instrument-specific matters. This work was done primarily in
response to an on-going article project, I'd like it to be presented as
well as possible.

Again, my deep thanks to the LP development and user communities.

Best regards,

dp

___
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: Rehearsal mark alignment change from 2.16 to 2.17

2013-09-08 Thread Keith OHara
Jim Long lilypond at umpquanet.com writes:

 2.16.2 centers each mark over its alignment symbol (the clef and
 the barline, respectively).
 
 But in 2.17.26, the first mark is left-aligned with the
 centerline of the clef, while the second mark is center-aligned
 over the barline.
 
 Is this intentional, or a mild bug?

It was intentional.  There is a reported bug about rehearsal marks
   http://code.google.com/p/lilypond/issues/detail?id=1150
with lots of evidence that rehearsal marks traditionally go right of the 
clef (and key signature if there is one) so I moved the default alignment
point of the clef to its right edge.  I am still trying to get the docu-
mentation all updated.

The change was to the 'break-anchor-alignment' setting of a Clef, so you
can override it as you like in your scores.

Is there something traditionally placed centered above the clef, that be
reason to reconsider the default behavior.


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


Re: LilyPond and ConTeXt

2013-09-08 Thread Henning Hraban Ramm

Am 2013-09-08 um 21:18 schrieb David Rogers davidandrewrog...@gmail.com:

 Henning Hraban Ramm lilypon...@fiee.net writes:
 
 I’m the one behind the previous lilypond module for ConTeXt and the current 
 LilyPond filter suggestion.
 For me, it works great (besides the usual layout problems with TeX).
 
 I guess the matter is, what are you planning to do?
 I’m typesetting songbooks.
 
 I'd like to be able to make a teaching book for piano students - short
 pieces with comments and explanations in between, with the ability to
 have section or chapter headings and other types of headings as well,
 and easy control over page-breaking (both within the music and between
 the pieces) would be nice. Shouldn't be more difficult than a songbook,
 I would think - perhaps even less, because there are fewer lines of
 lyrics.

Yes, sounds not too ambitious with regard to LilyPond in ConTeXt.

You can simply copy my setup, but you should name every single example then (to 
avoid recompiling if you re-arrange or insert one).
In my setup, every song is a component in its own file (that also allows me 
to reuse songs for different compilations), and I use the component name as 
buffer name.
If you have more than one example per file/component, you must at least attach 
a number. If that’s common in your book, it should be easy to use a TeX counter 
(I’m not good in TeX programming and would ask on the mailing list how to do 
that).
If it makes sense for you, you could also typeset your examples as numbered 
illustrations, just adapt the line with \\externalfigure

Urs’s suggestion also sounds good, if you want to choose the safe LaTeX way.


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





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


Re: Rehearsal mark alignment change from 2.16 to 2.17

2013-09-08 Thread Jim Long
On Mon, Sep 09, 2013 at 03:51:59AM +, Keith OHara wrote:
 
 It was intentional.  There is a reported bug about rehearsal marks
http://code.google.com/p/lilypond/issues/detail?id=1150
 with lots of evidence that rehearsal marks traditionally go right of the 
 clef (and key signature if there is one) so I moved the default alignment
 point of the clef to its right edge.  I am still trying to get the docu-
 mentation all updated.
 
 The change was to the 'break-anchor-alignment' setting of a Clef, so you
 can override it as you like in your scores.

Thank you, Keith.

Jim

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