Re: Transposing instruments in orchestra score

2014-05-09 Thread David Kastrup
Kieren MacMillan kieren_macmil...@sympatico.ca writes:

 Hello all,

 Sorry I’m late to the party…

 A critical feature of a proper and useable multi-instrumentalist
 framework would be the ability to put in global variables which
 include the key signature(s) for the work, and the part would present
 the correct transposition of that key signature (as well as the
 pitches, of course) upon the switchInstrument call.

This works when using music quotes.  Music quotes are a somewhat
awkwardly limited single-context contraption, so it's indeed likely that
a \key statement, affecting a Staff, would not transfer well.

 David and I played around with some options last year, and the thread
 ended on a less-than-enthusastic note. Perhaps it’s time to revive
 this and clean it up once and for all?

I don't see a once-and-for-all solution on the wall.  But perhaps there
is room for more convenient trickery.

-- 
David Kastrup

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


Re: Transposing instruments in orchestra score

2014-05-09 Thread Orm Finnendahl
Hi all,

 as I understand the situation, the most convenient situation for all
would be the possibility of a context switch in mid-score affecting
the way lilypond is interpreting (seeing) the pitches, which could get
changed globally by including different files with redefinitions of
the context-switch statement. This is in analogy of the transposition
statement except that it doesn't affect midi but notation and
therefore probably is much trickier to handle properly.

I'd be very willing to sponsor this, if there is a feasible solution
within a reasonable amount of time.

David, Kieren, anybody?

--
Orm

Am Freitag, den 09. Mai 2014 um 07:08:19 Uhr (+0200) schrieb David Kastrup:
 Kieren MacMillan kieren_macmil...@sympatico.ca writes:
 
  David and I played around with some options last year, and the thread
  ended on a less-than-enthusastic note. Perhaps it’s time to revive
  this and clean it up once and for all?
 
 I don't see a once-and-for-all solution on the wall.  But perhaps there
 is room for more convenient trickery.

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


Re: Transposing instruments in orchestra score

2014-05-09 Thread David Kastrup
Orm Finnendahl orm.finnend...@hfmdk-frankfurt.de writes:

 Hi all,

  as I understand the situation, the most convenient situation for all
 would be the possibility of a context switch in mid-score affecting
 the way lilypond is interpreting (seeing) the pitches, which could get
 changed globally by including different files with redefinitions of
 the context-switch statement. This is in analogy of the transposition
 statement except that it doesn't affect midi but notation and
 therefore probably is much trickier to handle properly.

A lot of things look at pitches.  With Midi, it's just an offset to the
final output.  You could do stuff like

\transposition #(ly:make-pitch 0 0 3/100)

and that has a reasonable interpretation (no idea whether the way
pitches are implemented will result in reasonable Midi, though).  With
visuals, not so much.  And it's not just an offset: a whole
arrangement of notename and accidentals and custom engravers might
depend on them.

-- 
David Kastrup

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


Re: Trill span problem

2014-05-09 Thread Simon Albrecht

Am 09.05.2014 00:06, schrieb Peter Bjuhr:


On 2014-05-08 16:22, Knute Snortum wrote:
I have a problem with sequential trill spans.  they seems to be just 
a little too long and therefore they stagger vertically.  I would 
think the solution is to shorten the trill span but I'm not sure how 
to do this.


\version 2.18.2


\relative c''' {

\time 2/4

  | f2 \startTrillSpan \ppp

  | d2 \startTrillSpan

  | c4 \startTrillSpan d \startTrillSpan

  | c4 \startTrillSpan b \startTrillSpan

  | c2 \startTrillSpan

  | b2 \startTrillSpan

  | a2 \startTrillSpan

  | f2 \startTrillSpan

}



I don't know if it's the best solution, but you can try adding

\override TrillSpanner.bound-details #'right #'padding = #1.9

Or \override TrillSpanner.bound-details.right.padding = 1.9 with the 
very convenient new 2.18 syntax.



before all the trills.


Best
Peter


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


Transcribing individual score pages from scans

2014-05-09 Thread David Cuenca
Hi,

I'm a contributor from Wikisource, an online digital library part of the
Wikimedia Foundation, where we transcribe works in the public domain. Since
last year we have enabled a mediawiki extension to render scores [1], which
now enables our users to transcribe pages with music like these [2] [3]

Of course that is great when a work is only one page long, but for us it
becomes problematic to stitch together all the different pages into a
single one (what we call transclusion).
Some users are just considering each page independent, but that doesn't
allow us to generate a whole lilypond file for download. For instance check
this Catalan song [4], if you click on edit you will see that we are
combining two pages [5] and [6], where the text resides.

What we would like is to combine these pages to generate the lilypond file.
I have been checking the input structure documentation [7] and I found
\book and \bookpart, but I didn't see anything like \bookpage.
Is there any command that would help us to achieve the page separation that
we need?

Thanks,
David -- User:Micru



[1] https://www.mediawiki.org/wiki/Extension:Score
[2]
https://en.wikisource.org/wiki/Page:A_Dictionary_of_Music_and_Musicians_vol_1.djvu/24
[3]
https://fr.wikisource.org/wiki/Page:Barzaz_Breiz,_huiti%C3%A8me_%C3%A9dition.djvu/641
[4]
https://ca.wikisource.org/wiki/Segona_serie_de_can%C3%A7ons_populars_catalanes/Fum,_fum,_fum
[5]
https://ca.wikisource.org/wiki/P%C3%A0gina%3ASegona_serie_de_can%C3%A7ons_populars_catalanes_(1909).djvu/100
[6]
https://ca.wikisource.org/wiki/P%C3%A0gina%3ASegona_serie_de_can%C3%A7ons_populars_catalanes_(1909).djvu/101
[7] http://lilypond.org/doc/v2.16/Documentation/notation/input-structure
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Transcribing individual score pages from scans

2014-05-09 Thread Urs Liska

Am 09.05.2014 12:16, schrieb David Cuenca:

Hi,

I'm a contributor from Wikisource, an online digital library part of the
Wikimedia Foundation, where we transcribe works in the public domain. Since
last year we have enabled a mediawiki extension to render scores [1], which
now enables our users to transcribe pages with music like these [2] [3]

Of course that is great when a work is only one page long, but for us it
becomes problematic to stitch together all the different pages into a
single one (what we call transclusion).
Some users are just considering each page independent, but that doesn't
allow us to generate a whole lilypond file for download. For instance check
this Catalan song [4], if you click on edit you will see that we are
combining two pages [5] and [6], where the text resides.

What we would like is to combine these pages to generate the lilypond file.
I have been checking the input structure documentation [7] and I found
\book and \bookpart, but I didn't see anything like \bookpage.
Is there any command that would help us to achieve the page separation that
we need?


If I'm not mistaken that should be quite easy to achieve.
You can organize LilyPond input in variables, and you can combine those 
variables to larger units. That is, you don't use variables only to 
store the different parts in a score, but you can also separate 
different sections of it.


I'm not completely sure if that fits your use case, but you may have a 
start with something like:


violinPageI = ŗelative c'' {
% some music
}

violinPageII = ŗelative c'' {
% some music
}

violinMusic = {
  \violinPageI
  \violinPageII
}

\score {
  \new Staff \violinMusic
}

With this you can as well create alternative scores for individual pages 
if you like.


Does that sound plausible?

Best
Urs



Thanks,
David -- User:Micru



[1] https://www.mediawiki.org/wiki/Extension:Score
[2]
https://en.wikisource.org/wiki/Page:A_Dictionary_of_Music_and_Musicians_vol_1.djvu/24
[3]
https://fr.wikisource.org/wiki/Page:Barzaz_Breiz,_huiti%C3%A8me_%C3%A9dition.djvu/641
[4]
https://ca.wikisource.org/wiki/Segona_serie_de_can%C3%A7ons_populars_catalanes/Fum,_fum,_fum
[5]
https://ca.wikisource.org/wiki/P%C3%A0gina%3ASegona_serie_de_can%C3%A7ons_populars_catalanes_(1909).djvu/100
[6]
https://ca.wikisource.org/wiki/P%C3%A0gina%3ASegona_serie_de_can%C3%A7ons_populars_catalanes_(1909).djvu/101
[7] http://lilypond.org/doc/v2.16/Documentation/notation/input-structure



___
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: Transcribing individual score pages from scans

2014-05-09 Thread Urs Liska

Am 09.05.2014 12:26, schrieb Urs Liska:

Am 09.05.2014 12:16, schrieb David Cuenca:

Hi,

I'm a contributor from Wikisource, an online digital library part of the
Wikimedia Foundation, where we transcribe works in the public domain.
Since
last year we have enabled a mediawiki extension to render scores [1],
which
now enables our users to transcribe pages with music like these [2] [3]

Of course that is great when a work is only one page long, but for us it
becomes problematic to stitch together all the different pages into a
single one (what we call transclusion).
Some users are just considering each page independent, but that doesn't
allow us to generate a whole lilypond file for download. For instance
check
this Catalan song [4], if you click on edit you will see that we are
combining two pages [5] and [6], where the text resides.

What we would like is to combine these pages to generate the lilypond
file.
I have been checking the input structure documentation [7] and I found
\book and \bookpart, but I didn't see anything like \bookpage.
Is there any command that would help us to achieve the page separation
that
we need?


If I'm not mistaken that should be quite easy to achieve.
You can organize LilyPond input in variables, and you can combine those
variables to larger units. That is, you don't use variables only to
store the different parts in a score, but you can also separate
different sections of it.

I'm not completely sure if that fits your use case, but you may have a
start with something like:

violinPageI = ŗelative c'' {
% some music
}

violinPageII = ŗelative c'' {
% some music
}

violinMusic = {
   \violinPageI
   \violinPageII
}

\score {
   \new Staff \violinMusic
}

With this you can as well create alternative scores for individual pages
if you like.

Does that sound plausible?

Best
Urs



Oh, I've already a few additional remarks that I forgot.

Of course you will want to store the variables in individual files and 
include them.


If you have spanners reaching from one variable to another (e.g. slurs) 
you will have to enclose the variables in an explicitly created voice:


violinMusic = \new Voice {
% ...
}

Urs



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


Re: Transcribing individual score pages from scans

2014-05-09 Thread David Cuenca
Hi Urs,

unfortunately we cannot work with files, nor variables. The only thing we
can do is to join text inputs. What we are after is a way to append the
source texts that generate individual pages and generate a valid lilypond
input just by adding a header/footer.

Is that possible?

Thanks
David


On Fri, May 9, 2014 at 12:31 PM, Urs Liska u...@openlilylib.org wrote:

 Am 09.05.2014 12:26, schrieb Urs Liska:

  Am 09.05.2014 12:16, schrieb David Cuenca:

 Hi,

 I'm a contributor from Wikisource, an online digital library part of the
 Wikimedia Foundation, where we transcribe works in the public domain.
 Since
 last year we have enabled a mediawiki extension to render scores [1],
 which
 now enables our users to transcribe pages with music like these [2] [3]

 Of course that is great when a work is only one page long, but for us it
 becomes problematic to stitch together all the different pages into a
 single one (what we call transclusion).
 Some users are just considering each page independent, but that doesn't
 allow us to generate a whole lilypond file for download. For instance
 check
 this Catalan song [4], if you click on edit you will see that we are
 combining two pages [5] and [6], where the text resides.

 What we would like is to combine these pages to generate the lilypond
 file.
 I have been checking the input structure documentation [7] and I found
 \book and \bookpart, but I didn't see anything like \bookpage.
 Is there any command that would help us to achieve the page separation
 that
 we need?


 If I'm not mistaken that should be quite easy to achieve.
 You can organize LilyPond input in variables, and you can combine those
 variables to larger units. That is, you don't use variables only to
 store the different parts in a score, but you can also separate
 different sections of it.

 I'm not completely sure if that fits your use case, but you may have a
 start with something like:

 violinPageI = ŗelative c'' {
 % some music
 }

 violinPageII = ŗelative c'' {
 % some music
 }

 violinMusic = {
\violinPageI
\violinPageII
 }

 \score {
\new Staff \violinMusic
 }

 With this you can as well create alternative scores for individual pages
 if you like.

 Does that sound plausible?

 Best
 Urs


 Oh, I've already a few additional remarks that I forgot.

 Of course you will want to store the variables in individual files and
 include them.

 If you have spanners reaching from one variable to another (e.g. slurs)
 you will have to enclose the variables in an explicitly created voice:

 violinMusic = \new Voice {
 % ...
 }

 Urs




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




-- 
Etiamsi omnes, ego non
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Slur that spans staves

2014-05-09 Thread Knute Snortum
I am trying to typeset a slur that spans staves (see photo).

https://drive.google.com/file/d/0B_aEseOV9KTXQ3pDVjJaZ05ZX2c/edit?usp=sharing
​

I can use \shape, but this can't span the upper staff. Any ideas?

Knute Snortum
(via Gmail)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur that spans staves

2014-05-09 Thread Phil Holmes
You make the music cross the staves, and the slur follows:

http://lilypond.org/doc/v2.19/Documentation/notation/common-notation-for-keyboards

--
Phil Holmes


  - Original Message - 
  From: Knute Snortum 
  To: lilypond-user@gnu.org 
  Sent: Friday, May 09, 2014 3:22 PM
  Subject: Slur that spans staves


  I am trying to typeset a slur that spans staves (see photo).


  https://drive.google.com/file/d/0B_aEseOV9KTXQ3pDVjJaZ05ZX2c/edit?usp=sharing​


  I can use \shape, but this can't span the upper staff. Any ideas?



  Knute Snortum
  (via Gmail)




--


  ___
  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: Slur that spans staves

2014-05-09 Thread Urs Liska

Am 09.05.2014 16:22, schrieb Knute Snortum:

I am trying to typeset a slur that spans staves (see photo).

https://drive.google.com/file/d/0B_aEseOV9KTXQ3pDVjJaZ05ZX2c/edit?usp=sharing
​

I can use \shape, but this can't span the upper staff. Any ideas?

Knute Snortum
(via Gmail)



Please send some code.

The issue is probably related to voicing.
If you can make one voice cross the staves the slur will do also.
But if you don't attach the slur to both des's you're heading for trouble.

So either make the des''' the sequence of the l.h. voice and the lower 
staff rest the sequence of the r.h. voice, or use a hidden voice just 
for typesetting the slur.
(see 
http://lilypondblog.org/2013/07/voice-contexts-in-temporary-polyphonic-sections/ 
for a similar problem)


HTH
Urs

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


Re: Trill span problem

2014-05-09 Thread Knute Snortum
Thanks, that did it.

I knew there had to be some variable or setting I could change.  I looked
in TrillSpanner but I couldn't figure out which variable to change.


Knute Snortum
(via Gmail)


On Fri, May 9, 2014 at 1:43 AM, Simon Albrecht simon.albre...@mail.dewrote:

  Am 09.05.2014 00:06, schrieb Peter Bjuhr:


 On 2014-05-08 16:22, Knute Snortum wrote:

 I have a problem with sequential trill spans.  they seems to be just a
 little too long and therefore they stagger vertically.  I would think the
 solution is to shorten the trill span but I'm not sure how to do this.

  \version 2.18.2


  \relative c''' {

   \time 2/4

   | f2 \startTrillSpan \ppp

   | d2 \startTrillSpan

   | c4 \startTrillSpan d \startTrillSpan

   | c4 \startTrillSpan b \startTrillSpan

   | c2 \startTrillSpan

   | b2 \startTrillSpan

   | a2 \startTrillSpan

   | f2 \startTrillSpan

 }


 I don't know if it's the best solution, but you can try adding

 \override TrillSpanner.bound-details #'right #'padding = #1.9

 Or \override TrillSpanner.bound-details.right.padding = 1.9 with the very
 convenient new 2.18 syntax.


 before all the trills.


 Best
 Peter

 Best, Simon

 ___
 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


Fwd: [SPAM] Re: Slur that spans staves

2014-05-09 Thread Urs Liska

I assume you intended to write this to the list...


 Original-Nachricht 
Betreff: [SPAM] Re: Slur that spans staves
Datum: Fri, 9 May 2014 08:23:56 -0700
Von: Knute Snortum ksnor...@gmail.com
An: Urs Liska u...@openlilylib.org

Phil, that did it, thanks.  I had to stand on my head a bit to get the note
onto the upper staff, but I did it.  Not pretty, but it works.


Knute Snortum
(via Gmail)


On Fri, May 9, 2014 at 7:26 AM, Urs Liska u...@openlilylib.org wrote:


Am 09.05.2014 16:22, schrieb Knute Snortum:


I am trying to typeset a slur that spans staves (see photo).

https://drive.google.com/file/d/0B_aEseOV9KTXQ3pDVjJaZ05ZX2c/
edit?usp=sharing
​

I can use \shape, but this can't span the upper staff. Any ideas?

Knute Snortum
(via Gmail)



Please send some code.

The issue is probably related to voicing.
If you can make one voice cross the staves the slur will do also.
But if you don't attach the slur to both des's you're heading for trouble.

So either make the des''' the sequence of the l.h. voice and the lower
staff rest the sequence of the r.h. voice, or use a hidden voice just for
typesetting the slur.
(see http://lilypondblog.org/2013/07/voice-contexts-in-
temporary-polyphonic-sections/ for a similar problem)

HTH
Urs

___
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: [SPAM] Re: Slur that spans staves

2014-05-09 Thread Phil Holmes
- Original Message - 
From: Urs Liska u...@openlilylib.org

To: lilypond-user lilypond-user@gnu.org
Sent: Friday, May 09, 2014 4:24 PM
Subject: Fwd: [SPAM] Re: Slur that spans staves



I assume you intended to write this to the list...


 Original-Nachricht 
Betreff: [SPAM] Re: Slur that spans staves
Datum: Fri, 9 May 2014 08:23:56 -0700
Von: Knute Snortum ksnor...@gmail.com
An: Urs Liska u...@openlilylib.org

Phil, that did it, thanks.  I had to stand on my head a bit to get the 
note

onto the upper staff, but I did it.  Not pretty, but it works.


Knute Snortum
(via Gmail)



Don't think it's that hard.  What was your solution?

--
Phil Holmes 



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


Re: [SPAM] Re: Slur that spans staves

2014-05-09 Thread Knute Snortum
I used a \change Staff = up to get the D flat on the RH staff, but
because I needed to have a rest in the LH, I put both in separate voices.

Begin snippet
staffUp = \change Staff = up
...

  {

   | af [ b bf ( c ]

   \oneVoice

   | \staffUp df'2 ) ~ \f \fermata

   | df8 r \acciaccatura { c8 } c,8 \sf r \break

 } \\ {

   \oneVoice

   | s2 | R2 \fermataMarkup | R2

  }

 

End snippet


Knute Snortum
(via Gmail)


On Fri, May 9, 2014 at 8:32 AM, Phil Holmes m...@philholmes.net wrote:

 - Original Message - From: Urs Liska u...@openlilylib.org
 To: lilypond-user lilypond-user@gnu.org
 Sent: Friday, May 09, 2014 4:24 PM
 Subject: Fwd: [SPAM] Re: Slur that spans staves



  I assume you intended to write this to the list...


  Original-Nachricht 
 Betreff: [SPAM] Re: Slur that spans staves
 Datum: Fri, 9 May 2014 08:23:56 -0700
 Von: Knute Snortum ksnor...@gmail.com
 An: Urs Liska u...@openlilylib.org

 Phil, that did it, thanks.  I had to stand on my head a bit to get the
 note
 onto the upper staff, but I did it.  Not pretty, but it works.


 Knute Snortum
 (via Gmail)



 Don't think it's that hard.  What was your solution?

 --
 Phil Holmes

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

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


MIDI error compiling source

2014-05-09 Thread Knute Snortum
The attached LilyPond file producing programming errors below.  I've
pared down the source so that it's smaller but still emits a warning.
 Anyone know why the warnings are produced?  The PDF and MIDI files seem
fine.  It's just that I don't like producing error messages.

Starting lilypond-windows.exe 2.18.2 [midi_error_test.ly]...

Processing `.../midi_error_test.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Interpreting music...

MIDI output to `midi_error_test.mid'...

programming error: Going back in MIDI time.

continuing, cross fingers

programming error: Going back in MIDI time.

continuing, cross fingers

programming error: Going back in MIDI time.

continuing, cross fingers

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `midi_error_test.ps'...

Converting to `./midi_error_test.pdf'...

Success: compilation successfully completed

Completed successfully in 2.7.

Knute Snortum
(via Gmail)
\version 2.18.2
\language english

staffUp = \change Staff = up
staffDown = \change Staff = down

highVoice = \relative c''' {
  | \acciaccatura { d8 } f, a c8 [ \staffDown f, a c \staffUp
\acciaccatura { c''8 } f, af b \staffDown f, af df ] \staffUp
  | \acciaccatura { d''8 } f, a c8 \staffDown f, a c \staffUp
df' f af [ \acciaccatura { d'8 } f, a c ]
  | \acciaccatura { d'8 } f, a c8 [ \staffDown f, a c \staffUp
\acciaccatura { c''8 } f, af b \staffDown f, af df ] \staffUp
  | \acciaccatura { d''8 } f, a c8 [ \staffDown f, a c \staffUp
df' f af \staffDown af b ] \staffUp
}

lowVoice = \relative c'' {
  | \acciaccatura { s8 } s2 
  | s4 af b8 r
  | s2 * 2
}

global = {
  \key f \major
  \time 2/4
  \accidentalStyle piano
}

\score {
  \new PianoStaff 
\new Staff = up {
  \global
  \highVoice 
}
\new Staff = down {
  \global
  \lowVoice 
}
  
  \layout {
  }
  \midi {
\tempo 4 = 160
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI error compiling source

2014-05-09 Thread Phil Holmes
I think it's to do with the grace notes.  There's no error in 2.19.2, so you 
may want to adopt the development version if you want to avoid the issue being 
flagged.

--
Phil Holmes


  - Original Message - 
  From: Knute Snortum 
  To: lilypond-user@gnu.org 
  Sent: Friday, May 09, 2014 5:35 PM
  Subject: MIDI error compiling source


  The attached LilyPond file producing programming errors below.  I've pared 
down the source so that it's smaller but still emits a warning.  Anyone know 
why the warnings are produced?  The PDF and MIDI files seem fine.  It's just 
that I don't like producing error messages.


  Starting lilypond-windows.exe 2.18.2 [midi_error_test.ly]...

  Processing `.../midi_error_test.ly'

  Parsing...

  Interpreting music...

  Preprocessing graphical objects...

  Interpreting music...

  MIDI output to `midi_error_test.mid'...

  programming error: Going back in MIDI time.

  continuing, cross fingers

  programming error: Going back in MIDI time.

  continuing, cross fingers

  programming error: Going back in MIDI time.

  continuing, cross fingers

  Finding the ideal number of pages...

  Fitting music on 1 page...

  Drawing systems...

  Layout output to `midi_error_test.ps'...

  Converting to `./midi_error_test.pdf'...

  Success: compilation successfully completed


  Completed successfully in 2.7.



  Knute Snortum
  (via Gmail)


--


  ___
  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: MIDI error compiling source

2014-05-09 Thread Knute Snortum
Thanks, that's the info I need.  I'm typesetting for Mutopia and they use
2.18.2 and they don't want errors, but if there's no way to exclude the
errors without moving to 2.19.2, I think they'll understand.


Knute Snortum
(via Gmail)


On Fri, May 9, 2014 at 10:00 AM, Phil Holmes m...@philholmes.net wrote:

  I think it's to do with the grace notes.  There's no error in 2.19.2, so
 you may want to adopt the development version if you want to avoid the
 issue being flagged.

 --
 Phil Holmes



 - Original Message -
 *From:* Knute Snortum ksnor...@gmail.com
 *To:* lilypond-user@gnu.org
 *Sent:* Friday, May 09, 2014 5:35 PM
 *Subject:* MIDI error compiling source

 The attached LilyPond file producing programming errors below.  I've
 pared down the source so that it's smaller but still emits a warning.
  Anyone know why the warnings are produced?  The PDF and MIDI files seem
 fine.  It's just that I don't like producing error messages.

 Starting lilypond-windows.exe 2.18.2 [midi_error_test.ly]...

 Processing `.../midi_error_test.ly'

 Parsing...

 Interpreting music...

 Preprocessing graphical objects...

 Interpreting music...

 MIDI output to `midi_error_test.mid'...

 programming error: Going back in MIDI time.

 continuing, cross fingers

 programming error: Going back in MIDI time.

 continuing, cross fingers

 programming error: Going back in MIDI time.

 continuing, cross fingers

 Finding the ideal number of pages...

 Fitting music on 1 page...

 Drawing systems...

 Layout output to `midi_error_test.ps'...

 Converting to `./midi_error_test.pdf'...

 Success: compilation successfully completed

 Completed successfully in 2.7.

 Knute Snortum
 (via Gmail)

 --

 ___
 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


Any advice for getting emacs working with lilypond on MacOsX?

2014-05-09 Thread rif
The documentation seems spotty and inadequate compared to when I tried this
a few years ago.  I feel hopelessly lost.

I found
http://www.lilypond.org/doc/v2.19/Documentation/usage/text-editor-support.
This tells me I need to do a make install.  This implies I need the
source to do anything at all with emacs mode? I found a source bundle
herehttp://lilypond.org/source.html,
along with the warning We do not recommend that you attempt to build
LilyPond yourself; almost all user needs are better met with the pre-built
version. Unclear whether using emacs is included in almost all user
needs or not.

[Side issue: the parallel structure of the documentation on the website is
*very* confusing.  In particular, I spent quite a few minutes puzzled about
why the Source link in the Download tab at the top of
http://www.lilypond.org/doc/v2.19/Documentation/web/download led to
http://lilypond.org/doc/v2.19/Documentation/web/source/Documentation/web/index.htmlrather
than back to the source bundle.  Is this intentional?]

OK, so I download the source bundle, and now I'm left with no more
instructions than make install.  But in what directory?  I tried it in
the elisp directory and the lilypond directory above it, but in both cases
I got errors.

I also tried skipping the install step and just directly pointing at the
directories.  This seems to give me at least a partial solution, although
it's warning me that lilypond-words doesn't exist.  Probably because it
needs to compile that somehow?

Am I missing something basic/obvious/simple?  Any advice is welcome.  I'd
love to get emacs and lilypond working.  I'm happy to contribute a doc fix
to make this easier for others later.

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


Re: Any advice for getting emacs working with lilypond on MacOsX?

2014-05-09 Thread Tim McNamara

On May 9, 2014, at 12:43 PM, rif r...@mit.edu wrote:

 The documentation seems spotty and inadequate compared to when I tried this a 
 few years ago.  I feel hopelessly lost.
 
 I found 
 http://www.lilypond.org/doc/v2.19/Documentation/usage/text-editor-support. 
 This tells me I need to do a make install.  This implies I need the source 
 to do anything at all with emacs mode? I found a source bundle here, along 
 with the warning We do not recommend that you attempt to build LilyPond 
 yourself; almost all user needs are better met with the pre-built version. 
 Unclear whether using emacs is included in almost all user needs or not.
 
 [Side issue: the parallel structure of the documentation on the website is 
 *very* confusing.  In particular, I spent quite a few minutes puzzled about 
 why the Source link in the Download tab at the top of 
 http://www.lilypond.org/doc/v2.19/Documentation/web/download led to 
 http://lilypond.org/doc/v2.19/Documentation/web/source/Documentation/web/index.html
  rather than back to the source bundle.  Is this intentional?]
 
 OK, so I download the source bundle, and now I'm left with no more 
 instructions than make install.  But in what directory?  I tried it in the 
 elisp directory and the lilypond directory above it, but in both cases I got 
 errors.
 
 I also tried skipping the install step and just directly pointing at the 
 directories.  This seems to give me at least a partial solution, although 
 it's warning me that lilypond-words doesn't exist.  Probably because it needs 
 to compile that somehow?
 
 Am I missing something basic/obvious/simple?  Any advice is welcome.  I'd 
 love to get emacs and lilypond working.  I'm happy to contribute a doc fix to 
 make this easier for others later.

I used lilypond-mode in Emacs once upon a time but use other tools now.  Just 
use the standard Lilypond pre-compiled bundle and put it in your /Applications 
folder.  You do not need to roll your own and it’s probably best if you don’t 
for the reasons you mention.  IIRC there is a site-lisp directory inside the 
Lilypond.app bundle which contains lilypond-mode and/or lilypond-mode comes 
with Emacs by default.  I don’t think this is maintained or updated but I could 
well be wrong on that, so it may have been left behind by developments in 
Lilypond.  Frescobaldi is now so easy to install that I wouldn’t recommend 
bothering with lilypond-mode in Emacs unless you really like Emacs (I like 
Emacs but find it’s like using a sledgehammer to crack walnuts most of the 
time- gets the job done but there are better tools).

Add some things to your .emacs file:


;;_
;;lilypond-mode
;;_

(autoload 'LilyPond-mode lilypond-mode LilyPond Editing Mode t)
(add-to-list 'auto-mode-alist '(\\.ly$ . LilyPond-mode))
(add-to-list 'auto-mode-alist '(\\.ily$ . LilyPond-mode))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))


and tell Emacs where the stuff it needs in Lilypond is to be found (this is Mac 
specific to deal with the app bundle; other *nixen would have Lilypond stuff 
elsewhere. Note there is a place you need to edit to put in your user name):

(setq path 
/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/Users/tim/bin:/Users/YOUR_USER_NAME/Applications/LilyPond.app/Contents/Resources/bin)
(setenv PATH path)

(setq load-path (append (list 
(expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp))
 load-path))



I think that’s it.  Hope this helps!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mensural ligature

2014-05-09 Thread R. Mattes
On Fri, 09 May 2014 20:17:05 +0200, Jean-Charles Malahieude wrote
 Le 09/05/2014 01:04, k...@aspodata.se disait :
  Jean-Charles Malahieude:
  On my way to typeset a mass by Monteverdi, I'm blocked with some
  ligatures (see
 
http://musicofyesterday.com/historical-music-theory/expanded-history-musical-notation-part-4/
  for examples)

??? Who wrote that page? That's the most confused (and IMHO sometimes
even wrong)

  You seem to equate ligatures with legato, I'd be interested to hear
  if you have any references to that.
 

 There are plenty of them in

http://imslp.org/wiki/Sanctissimae_Virgini_Missa_senis_vocibus_ac_Vesperae_pluribus_decantandae_%28Monteverdi,_Claudio%29#IMSLP37009

 You'll find one example herewith (page 6 of the full pdf, stamped 4
 of the Cantus part).

The one in CANTUS/page 4 on sol(us) is a simple COP ligature, two
semibreves.


 Cheers, Ralf Mattes


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


Re: Any advice for getting emacs working with lilypond on MacOsX?

2014-05-09 Thread R. Mattes
On Fri, 9 May 2014 13:44:31 -0500, Tim McNamara wrote
 [...snip...]
 (setq path

/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/Users/tim/bin:/Users/YOUR_USER_NAME/Applications/LilyPond.app/Contents/Resources/bin)
 (setenv PATH path)

 (setq load-path (append (list
(expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp))
load-path))

Much easier to do:
(add-to-list 'load-path
(expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp))


Cheers, Ralf Mattes


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


Re: Transposing instruments in orchestra score

2014-05-09 Thread Flaming Hakama by Elaine
 whether the way
 pitches are implemented will result in reasonable Midi, though).  With
 visuals, not so much.  And it's not just an offset: a whole
 arrangement of notename and accidentals and custom engravers might
 depend on them.

 --
 David Kastrup



 --

 Message: 7
 Date: Fri, 09 May 2014 10:43:27 +0200
 From: Simon Albrecht simon.albre...@mail.de
 To: lilypond-user@gnu.org
 Subject: Re: Trill span problem
 Message-ID: 536c952f.3020...@mail.de
 Content-Type: text/plain; charset=iso-8859-1; Format=flowed

 Am 09.05.2014 00:06, schrieb Peter Bjuhr:
 
  On 2014-05-08 16:22, Knute Snortum wrote:
  I have a problem with sequential trill spans.  they seems to be just
  a little too long and therefore they stagger vertically.  I would
  think the solution is to shorten the trill span but I'm not sure how
  to do this.
 
  \version 2.18.2
 
 
  \relative c''' {
 
  \time 2/4
 
| f2 \startTrillSpan \ppp
 
| d2 \startTrillSpan
 
| c4 \startTrillSpan d \startTrillSpan
 
| c4 \startTrillSpan b \startTrillSpan
 
| c2 \startTrillSpan
 
| b2 \startTrillSpan
 
| a2 \startTrillSpan
 
| f2 \startTrillSpan
 
  }
 
 
  I don't know if it's the best solution, but you can try adding
 
  \override TrillSpanner.bound-details #'right #'padding = #1.9
 
 Or \override TrillSpanner.bound-details.right.padding = 1.9 with the
 very convenient new 2.18 syntax.
 
 
  before all the trills.
 
 
  Best
  Peter
 
 Best, Simon
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20140509/f1f95f42/attachment.html
 

 --

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


 End of lilypond-user Digest, Vol 138, Issue 35
 **

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


Re: Transposing instruments in orchestra score

2014-05-09 Thread Kieren MacMillan
Hi David,

 I am curious as to what are the killer use cases?

I compose and arrange music theatre works (amongst other things). In the pit, 
we almost always have a multi-wind player. A very normal part would see that 
one person playing:
mm 1-10 on Bb clarinet
mm. 20-42 on [C+8] piccolo
mm. 54-72 on Bb-8 bass clarinet
mm. 84-100 on [G] alto flute
etc.
where the key(s) of the CONCERT-PITCH MUSIC (i.e., not just the TRANSPOSITION 
of the instrument) might change between instrument switches, or even 
mid-instrument block.

I want to write:

wind_notes = {
  \switchInstrument #”cl”
  cl. music here, in concert pitch
  \switchInstrument #”picc”
  picc. music here, in concert pitch
  \switchInstrument #””
  b.cl. music here, in concert pitch
  \switchInstrument #”picc”
  a.fl. music here, in concert pitch
}

 Another way of asking this is, what is so terrible with the obvious approach?

You have to put the key information redundantly in each instrumentalist’s music.

A better [i.e, more maintainable and “object-oriented”] approach is this:

global = {
  \key a \minor s1*8
  \key e \minor s1*4
  \key c \major s1*10
}

and then in both part and full score use

\new Staff  \global \wind_notes 

In the part, all the instrumental transpositions should apply; in the score, I 
should be able to choose (C score or transposed).

Makes sense?

Best,
Kieren.

--
Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


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


Re: scheme function for staccato

2014-05-09 Thread MarcM

FYI, the addStaccato function has been updated and works in 2.19.

http://lsr.di.unimi.it/LSR/Snippet?id=82



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-scheme-function-for-staccato-tp5429p162238.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: Any advice for getting emacs working with lilypond on MacOsX?

2014-05-09 Thread rif
Cool.  Maybe it makes sense to update the documentation to indicate the
elisp files are in the precompiled tarball and just to point at them?  That
make install is a red herring.


On Fri, May 9, 2014 at 12:15 PM, R. Mattes r...@mh-freiburg.de wrote:

 On Fri, 9 May 2014 13:44:31 -0500, Tim McNamara wrote
  [...snip...]
  (setq path
 

 /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/Users/tim/bin:/Users/YOUR_USER_NAME/Applications/LilyPond.app/Contents/Resources/bin)
  (setenv PATH path)
 
  (setq load-path (append (list

 (expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp))
 load-path))

 Much easier to do:
 (add-to-list 'load-path

 (expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp))


 Cheers, Ralf Mattes


 ___
 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: Any advice for getting emacs working with lilypond on MacOsX?

2014-05-09 Thread rif
And just to be clear, when you see Frescobaldi is easy to install, it looks
to me like I have to first install Homebrew, then I have to manually
install XQuartz and and MacTeX [neither of which is packaged with
Homebrew], and *then* I can just do a brew install frescobaldi?


On Fri, May 9, 2014 at 8:15 PM, rif r...@mit.edu wrote:

 Cool.  Maybe it makes sense to update the documentation to indicate the
 elisp files are in the precompiled tarball and just to point at them?  That
 make install is a red herring.


 On Fri, May 9, 2014 at 12:15 PM, R. Mattes r...@mh-freiburg.de wrote:

 On Fri, 9 May 2014 13:44:31 -0500, Tim McNamara wrote
  [...snip...]
  (setq path
 

 /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/Users/tim/bin:/Users/YOUR_USER_NAME/Applications/LilyPond.app/Contents/Resources/bin)
  (setenv PATH path)
 
  (setq load-path (append (list

 (expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp))
 load-path))

 Much easier to do:
 (add-to-list 'load-path

 (expand-file-name/Applications/LilyPond.app/Contents/Resources/share/emacs/site-lisp))


 Cheers, Ralf Mattes


 ___
 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