Re: Music font switching question

2014-07-10 Thread tisimst
Christopher R. Maden wrote
 Add the new different things at the *end* of the list, not the
 beginning, so that code that used to work continues to work.
 
 Otherwise, it seems good to me...

Well, it's not really new because it already happens first under the covers. 
It's just hard-coded to the emmentaler fonts.

Regards,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Music-font-switching-question-tp164224p164227.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: Question for all LilyPond users (especially power users)

2014-07-10 Thread Marc Hohl

Am 09.07.2014 07:43, schrieb tisimst:

Greetings, All!

I have worked out a very nice way to switch between notation fonts in
LilyPond, both on a global document level and a local usage level. Up until
now, there were only a couple of music fonts available that were really
usable on a professional level: /Emmentaler/ (the default, built-in font)
and /Gonville/. There are also /LilyJAZZ/ and /Bravura/ (a SMuFL-compliant
font), but they require some serious hacks to make them work and they have
trouble with even some basic notation elements (like tempo markings,
arpeggios, etc.).

I am pleased to announce that I have several new music fonts, both in OTF
and SVG formats, that I'd like people to be able to use, but this requires a
patch to a single file, so anyone wanting to patch the file can do it with
little effort. It makes using other fonts as easy as putting a single
\include statement at the top of a .ly file. I use them all the time, but
I really want to share with the community that has shared so much with me.

*My question is this: /Is anyone interested in this?/*


Of course, count me in!

Marc


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


Re: Question for all LilyPond users (especially power users)

2014-07-10 Thread Pierre Perol-Schneider
2014-07-09 22:40 GMT+02:00 tisimst tisi...@gmail.com:


 Recently, a user (I forget the name...) made some updates to
 the LilyJAZZ ensemble by introducing a font specifically designed for
 chords, which includes both lower and uppercase letters and shortcuts to
 the
 sharp, flat, etc. symbols.


I did that, but I let it unfinished for a couple of weeks now...
see =
http://lilypond.1069038.n5.nabble.com/LilyJAZZ-in-v2-18-td162423.html#a162444

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


Re: Music font switching question

2014-07-10 Thread Janek Warchoł
Hi,

2014-07-09 0:16 GMT+02:00 tisimst tisi...@gmail.com:
 Let me explain. When one wants to change the text fonts _globally_, there is
 the very useful Scheme function make-pango-font-tree, which looks
 something like this when used:

 \paper {
   #(define fonts
 (make-pango-font-tree
 FreeSerif  ; the serif font
 FreeSans  ; the sans-serif font
 Inconsolata  ; the mono-space font
 (/ staff-height pt 20)))
 }

 You simply put this block into you .ly file and now you get those fonts
 instead of the defaults. /What if/, using a similar syntax we could change
 the music and brace fonts like this (additions highlighted):

 \paper {
   #(define fonts
 (make-pango-font-tree
 /*gonville  ; the music notation font
 emmentaler  ; the music brace font*/
 FreeSerif  ; the serif font
 FreeSans  ; the sans-serif font
 Inconsolata  ; the mono-space font
 (/ staff-height pt 20)))
 }

I think something like this would be perfectly acceptable.

cheers,
Janek

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


Re: Beam subdivided at non-periodic intervals

2014-07-10 Thread Pierre Perol-Schneider
Hi Javier,

2014-07-09 8:11 GMT+02:00 Javier Ruiz-Alma jav...@ruiz-alma.com:

 The \subdivideBeams statement adds the unwanted subdivisions at the time
 signature beats.


Hum, strange...
You've written that before my mail and I just recieved it this morning!?
I'm not sure to understand how this list works but happy to see that we
came to the same conclusion. ;)
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Proportional-Notation Durations

2014-07-10 Thread PMA

Thomas Morley wrote:

2014-07-09 0:24 GMT+02:00 PMApeterarmstr...@aya.yale.edu:

Hi List.

I'm looking for a LilyPond way to specify note duration
in a Proportional Notation context using exactly _one_
stemless notehead type.

Perhaps the first option is a mid-level horizontal line
extending distance-X from the notehead.  (The space
following would indicate silence.)

But I want ask: has anyone done this instead with the
_hairpin_ -- attached to a note-head via pitch params,
tapered to a param-specified length, and filled?

If not, or in any case, any other ideas?

Thanks in advance for your time.
Pete




Hi Pete,

do you mean something like:
http://lists.gnu.org/archive/html/lilypond-user/2012-12/msg00145.html
?

Somewhere on my computer I've an updated version, if the link shows
what you're looking for.

Cheers,
   Harm


Hi Yerself, Harm!

I will give this a shot.  (Better update to 2.18
first - I've been still treading water in 2.12.3).

Thanks!
Pete

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


Re: Chord Symbols with inversions

2014-07-10 Thread Richard Shann
On Wed, 2014-07-09 at 17:53 +0200, David Kastrup wrote:
 Richard Shann rich...@rshann.plus.com writes:
 
  Thank you for this. With that I have now got as far as the attached
[...]
 Sigh.  No minimal working example. 
I've created a minimal example now, the numeric time signature has
appeared, but with a warning:

warning: time signature symbol `numeric24' not found; reverting to
numbered style

which appears twice. The code is as follows:
 
\version 2.18.0
\score {
  \set Score.timing = ##f 

  \new ChordNames \with {
  \override BarLine.bar-extent = #'(-2 . 2)
  \consists Bar_engraver
  \consists Text_engraver
  \consists Script_engraver
  \consists Time_signature_engraver
  \override TimeSignature  #'style = #'numeric 
}
 {\time 2/4 f' a' c'' e''}

}
The Text and Script engravers are for things like \fermata and \markup
which will be needed though not in this minimal example.

Do I have something wrong here still?

Richard





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


Re: Integrating a markup in a music-function

2014-07-10 Thread Thomas Morley-2
Schneidy wrote
 Hi List,
 
 On the French forum Remy and I (see:
 http://lilypond-french-users.1298960.n2.nabble.com/instrumentName-sur-plusieurs-lignes-dans-une-fonction-tt7581499.html)
 are stucked with a markup function.
 
 Here we are so far :
 
 \version 2.18.2
 
 #(define (general-column align-dir baseline mols)
   (let* ((aligned-mols (map (lambda (x) (ly:stencil-aligned-to x X
 align-dir)) mols)))
 (stack-lines -1 0.0 baseline aligned-mols)))
 
 #(define-markup-command (textCenter layout props args)(markup-list?)
   #:properties ((baseline-skip))
   (general-column CENTER baseline-skip (wordwrap-internal-markup-list
 layout props #f args)))
 
 shortIncipit =
 #(define-music-function (parser location InstrName ) (markup?)
   #{
 \set Staff.instrumentName = \markup {
 \override #'(line-width . 12)
 #InstrName
   }
   #})
 
 myInst = \markup\textCenter { Cantus primi chori }
 
 \layout {
   indent = 30
 }
 
 { \shortIncipit\myInst c' }
 
 What we would like is to integrate \textCenter in the shortIncipit
 function
 in order to be able to write :
 
 { \shortIncipit #Cantus primi chori c' }
 
 Anyone ?
 
 Cheers,
 Pierre

Hi Pierre,

try:

\version 2.18.2

#(define (general-column align-dir baseline mols)
  (let* ((aligned-mols 
   (map (lambda (x) (ly:stencil-aligned-to x X align-dir)) mols)))
(stack-lines -1 0.0 baseline aligned-mols)))
  
#(define-markup-command (center-text-string layout props arg)
  (string?)
  #:properties ((baseline-skip)
wordwrap-string-internal-markup-list)
  (general-column CENTER baseline-skip
   (wordwrap-string-internal-markup-list layout props #f arg)))
   
shortIncipit =
#(define-music-function (parser location instr-name ) (markup?)
  #{
\set Staff.instrumentName = 
  \markup {
\override #'(line-width . 12)
\center-text-string #instr-name
  }
  #})

\layout { indent = 30 }

{ \shortIncipit Cantus primi chori c' }


OT: I'm replying via the nabble-interface, because your post didn't appear
in my mails til now. Currently it seems I miss several mails.
Some of them I notice, when they are quoted. 

Others with the same experience?

Cheers,
  Harm




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Integrating-a-markup-in-a-music-function-tp164214p164234.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: Integrating a markup in a music-function

2014-07-10 Thread Marc Hohl

Am 10.07.2014 10:54, schrieb Thomas Morley-2:
[...]

OT: I'm replying via the nabble-interface, because your post didn't appear
in my mails til now. Currently it seems I miss several mails.
Some of them I notice, when they are quoted.

Others with the same experience?


Yes, some messages are delayed for several hours, or even a whole day.

Strange ...

Marc


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


Optical spacing -- no more?

2014-07-10 Thread James Harkins
Something I've been wondering about for awhile... lilypond.org boasts of 
optical spacing for notes with alternating up and down stems, but it 
seems this feature has been lost somewhere (or disabled by default). In 
this example, it's quite plain to my eyes that the stems are not equally 
spaced within the bars.


\version 2.18.2
\relative c'' { e4 c, f' d, g' e, a' f, }

Which is correct -- the website, or LP's behavior?

hjh

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


Re: Optical spacing -- no more?

2014-07-10 Thread Urs Liska

Am 10.07.2014 11:39, schrieb James Harkins:

\version 2.18.2
\relative c'' { e4 c, f' d, g' e, a' f, }


Hm, there have been quite significant improvements in the horizontal 
spacing engine recently. Can it be that this is a side-effect of this?


--


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


RE: Beam subdivided at non-periodic intervals

2014-07-10 Thread Mark Stephen Mrotek
Javier,

 

Certainly more elegant and efficient than mine. Thank you for the instructions.

 

Mark

 

From: Javier Ruiz-Alma [mailto:jav...@ruiz-alma.com] 
Sent: Tuesday, July 08, 2014 11:11 PM
To: Mark Stephen Mrotek; 'LilyPond User Group'
Subject: Re: Beam subdivided at non-periodic intervals

 

The \subdivideBeams statement adds the unwanted subdivisions at the time 
signature beats.
Once I did away with this, the passage renders with just two overrides per 
break in the beam.  Not as elegant as defining a custom beat count structure, 
but the intent is clear.

\version 2.18.2 

\relative c{

\time 4/4

\key g \minor

\ottava #1

ees16 [ \set stemRightBeamCount = #1 d \set stemLeftBeamCount = #1

f ees \set stemRightBeamCount = #1 d \set stemLeftBeamCount = #1

c b d \set stemRightBeamCount = #1 c \set stemLeftBeamCount = #1

bes a g fis]

}

 

 

On Tuesday, July 8, 2014 10:22 PM, Mark Stephen Mrotek carsonm...@ca.rr.com 
wrote:

 

Javier,

 

You are welcome!

 

Mark

 

From: Javier Ruiz-Alma [mailto:jav...@ruiz-alma.com] 
Sent: Tuesday, July 08, 2014 9:17 PM
To: Mark Stephen Mrotek; 'LilyPond User Group'
Subject: Re: Beam subdivided at non-periodic intervals

 

I'm surprised that it does.  Thanks for coming up with that option.

I was stuck in the section on Subdivided beams, but failed to come up with any 
combination of \baseMoment and \beatStructure that would render these beam 
subdivisions.

 

On Tuesday, July 8, 2014 8:39 PM, Mark Stephen Mrotek carsonm...@ca.rr.com 
wrote:

 

Javier,

 

I am not sure it is the most elegant solution, yet it appears to work.

The command “\set stemLeftBeamCount” is at

http://lilypond.org/doc/v2.18/Documentation/notation/beams#manual-beams

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Javier 
Ruiz-Alma
Sent: Tuesday, July 08, 2014 5:55 PM
To: LilyPond User Group
Subject: Beam subdivided at non-periodic intervals

 

I need help implementing beam subdivisions with non-periodic beat structure 
(see image). Thank You!

 

Below base code for this measure:

%% 

\version 2.18.2 

\relative c{

\time 4/4

\key g \minor

\set subdivideBeams = ##t

\ottava #1

ees16[ d f ees d c b d c bes a g fis]

}

 

 

 

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


Re: Header markup question

2014-07-10 Thread Noeck
Hi Abraham,

this was the next point on my LilyPond todo list, doing such a spacing
cheat sheet. Thanks a lot for sharing. Can you provide a link such that
other users can be pointed to it?

Thanks,
Joram

Am 08.07.2014 16:48, schrieb Abraham Lee:
 On Tue, Jul 8, 2014 at 5:05 AM, Larry Kent kentla...@gmail.com wrote:
 I'm editing a file that was created in 2.16.  Within the *\paper*
 settings, I have the following two lines that put headers on pages
 after the first, and they print too close to the top edge of the
 paper.  What markup should be added to move the headers down a bit?


 *evenHeaderMarkup=\markup \fill-line { \fromproperty
 #'page:page-number-string \htitle \hcomposer }

 *

 *oddHeaderMarkup= \markup \fill-line { \on-the-fly #not-first-page
 \hcomposer \on-the-fly #not-first-page \htitle \on-the-fly
 #not-first-page \fromproperty #'page:page-number-string }*

 **


 Thanks.

 Larry Kent
 Tampa, FL
 
 Larry,
 
 This may also help. I made this diagram because I had trouble
 understanding which page layout properties did what. See attached for a
 graphical example of vertical layout properties (some rigid, some
 flexible). This, in conjunction with the description in the notation
 reference 
 (http://www.lilypond.org/doc/v2.18/Documentation/notation/page-layout),
 should give you enough options.
 
 Also, you could also do the something like this in a \markup block:
 
 \markup { \column {   \line { \what-you-want-to-print } } }
 
 This will force a little extra space on top of \what-you-want-to-print.
 
 Regards,
 Abraham
 
 
 ___
 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: Chord Symbols with inversions

2014-07-10 Thread Thomas Morley
2014-07-09 13:52 GMT+02:00 Richard Shann rich...@rshann.plus.com:
 Hi list,

 With notation like
 \version 2.18.0
 \chordmode {
   c/g
 }
 I can get chord names with /G at the end to indicate a G added below the
 root of the chord.
 With the notation
  \new ChordNames
  {
  c' e' g'1
  }

 I can get the chord symbol C typeset, but is there any way to get the
 C/G symbol typeset via this syntax? Obviously, if I just add the low G
 it interprets it as a chord on the root G.

 Richard


How about:

\version 2.18.0

bass =
#(define-music-function (parser location mus)(ly:music?)
  (if (music-is-of-type? mus 'note-event)
  (ly:music-set-property! mus 'bass #t)
  mus)
  mus)

\new ChordNames
 {
 c' e' g' \bass g,2
 c' e' g' \bass e2
 c' e' g' \bass fis2
 }

HTH,
  Harm

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


Re: Header markup question

2014-07-10 Thread Abraham Lee

On Thu, Jul 10, 2014 at 4:03 AM, Noeck noeck.marb...@gmx.de wrote:

Hi Abraham,

this was the next point on my LilyPond todo list, doing such a spacing
cheat sheet. Thanks a lot for sharing. Can you provide a link such 
that

other users can be pointed to it?

Thanks,
Joram

Am 08.07.2014 16:48, schrieb Abraham Lee:
 On Tue, Jul 8, 2014 at 5:05 AM, Larry Kent kentla...@gmail.com 
wrote:

 I'm editing a file that was created in 2.16.  Within the *\paper*
 settings, I have the following two lines that put headers on pages
 after the first, and they print too close to the top edge of the
 paper.  What markup should be added to move the headers down a bit?


 *evenHeaderMarkup=\markup \fill-line { \fromproperty
 #'page:page-number-string \htitle \hcomposer }

 *

 *oddHeaderMarkup= \markup \fill-line { \on-the-fly #not-first-page
 \hcomposer \on-the-fly #not-first-page \htitle \on-the-fly
 #not-first-page \fromproperty #'page:page-number-string }*

 **


 Thanks.

 Larry Kent
 Tampa, FL

 
 Larry,
 
 This may also help. I made this diagram because I had trouble
 understanding which page layout properties did what. See attached 
for a

 graphical example of vertical layout properties (some rigid, some
 flexible). This, in conjunction with the description in the notation
 reference 
(http://www.lilypond.org/doc/v2.18/Documentation/notation/page-layout),

 should give you enough options.
 
 Also, you could also do the something like this in a \markup block:
 
 \markup { \column {   \line { \what-you-want-to-print } } }
 
 This will force a little extra space on top of 
\what-you-want-to-print.
 
 Regards,

 Abraham
 
 
 ___

 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



Joram,

Good idea! I'm not sure how to contribute it to openlilylib properly, 
but it seems like that might be a nice place to make it permanently 
available if Janek/Urs might be willing to place it there :)


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


I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Son_V
Hi, some days ago I posted a message to say that I couldn't import an xml
organ file made with Musescore; yesterday I installed Forte 5 basic took
from GAOTD, and at my surprise it read perfectly the xml files I couldn't
made Lilypond read . At this point i could think there is a problem in the
LilyPond import section. I installed Forte 5 premium demo (the basic edition
can't export to xml) and imported the xml file produced by Musescore (all
OK) and export it back to a new xml file. I got another, different error.

 Importing in Ubuntustudio, Frescobaldi 2.0.13, LilyPond 2.16.2 from
the Musescore xml output

The file couldn't be converted. Error message:
musicxml2ly: Lettura di MusicXML da /home/vincent/Musica/CANC/cazz/prova.xml
...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
Traceback (most recent call last):
  File /usr/bin/musicxml2ly, line 2986, in module
main()
  File /usr/bin/musicxml2ly, line 2981, in main
voices = convert (filename, options)
  File /usr/bin/musicxml2ly, line 2896, in convert
update_score_setup (score, part_list, voices)
  File /usr/bin/musicxml2ly, line 2794, in update_score_setup
score_structure.set_part_information (part_id, staves_info)
  File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1935, in
set_part_information
self.contents.set_part_information (part_id, staves_info)
  File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1774, in
set_part_information
c.set_part_information (part_name, staves_info)
AttributeError: PartGroupInfo instance has no attribute
'set_part_information'

 Importing in Ubuntustudio,  from the from the Forte 5 premium demo
xml output

The file couldn't be converted. Error message:
musicxml2ly: Lettura di MusicXML da
/home/vincent/Musica/CANC/cazz/provaII.xml ...
Traceback (most recent call last):
  File /usr/bin/musicxml2ly, line 2986, in module
main()
  File /usr/bin/musicxml2ly, line 2981, in main
voices = convert (filename, options)
  File /usr/bin/musicxml2ly, line 2883, in convert
score_information = extract_score_information (tree)
  File /usr/bin/musicxml2ly, line 201, in extract_score_information
set_if_exists ('title', movement_title.get_text ())
AttributeError: 'NoneType' object has no attribute 'get_text'

What can be done? :-( 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/I-was-unable-to-import-an-xml-ogan-file-from-Musescore-update-tp164243.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: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Phil Holmes
- Original Message - 
From: Son_V vincenzo.a...@gmail.com

To: lilypond-user@gnu.org
Sent: Thursday, July 10, 2014 11:59 AM
Subject: I was unable to import an xml ogan file from Musescore - update



What can be done? :-( 



Please see my reply on bugs to your duplicate message about this.

--
Phil Holmes

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


Re: Chord Symbols with inversions

2014-07-10 Thread David Kastrup
Richard Shann rich...@rshann.plus.com writes:

 On Wed, 2014-07-09 at 17:53 +0200, David Kastrup wrote:
 Richard Shann rich...@rshann.plus.com writes:
 
  Thank you for this. With that I have now got as far as the attached
 [...]
 Sigh.  No minimal working example. 
 I've created a minimal example now, the numeric time signature has
 appeared, but with a warning:

 warning: time signature symbol `numeric24' not found; reverting to
 numbered style

Not obvious?

   \override TimeSignature  #'style = #'numeric 

 Do I have something wrong here still?

There is no #'numeric time signature style, only #'numbered.  But you
may invoke it using \numericTimeSignature if you like.  It's defined as

%% numeric time signature

numericTimeSignature = \override Staff.TimeSignature.style = #'numbered
defaultTimeSignature = \revert Staff.TimeSignature.style

in ly/property-init.ly

-- 
David Kastrup

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


Re: Chord Symbols with inversions

2014-07-10 Thread Richard Shann
On Thu, 2014-07-10 at 11:11 +0200, David Kastrup wrote:
\override TimeSignature  #'style = #'numeric 
 
  Do I have something wrong here still?
 
 There is no #'numeric time signature style, only #'numbered.  But you
 may invoke it using \numericTimeSignature if you like. 

Hmm, I guess I was thrown by the fact that it worked, the default
style changed to numeric, only later did I notice the warning. By then I
had established it in my mind as correct syntax.
All fixed now, thank you
Richard



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


Re: Chord Symbols with inversions

2014-07-10 Thread David Kastrup
Richard Shann rich...@rshann.plus.com writes:

 On Thu, 2014-07-10 at 11:11 +0200, David Kastrup wrote:
\override TimeSignature  #'style = #'numeric 
 
  Do I have something wrong here still?
 
 There is no #'numeric time signature style, only #'numbered.  But you
 may invoke it using \numericTimeSignature if you like. 

 Hmm, I guess I was thrown by the fact that it worked, the default
 style changed to numeric, only later did I notice the warning.

It does seem like a strange choice to revert to something _different_
from the default setting when no recognized style is specified.

-- 
David Kastrup

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


Re: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread James

On 10/07/14 11:59, Son_V wrote:

Hi, some days ago I posted a message to say that I couldn't import an xml
organ file made with Musescore; yesterday I installed Forte 5 basic took
from GAOTD, and at my surprise it read perfectly the xml files I couldn't
made Lilypond read . At this point i could think there is a problem in the
LilyPond import section. I installed Forte 5 premium demo (the basic edition
can't export to xml) and imported the xml file produced by Musescore (all
OK) and export it back to a new xml file. I got another, different error.

 Importing in Ubuntustudio, Frescobaldi 2.0.13, LilyPond 2.16.2 from
the Musescore xml output

The file couldn't be converted. Error message:
musicxml2ly: Lettura di MusicXML da /home/vincent/Musica/CANC/cazz/prova.xml
...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
musicxml2ly: Conversione nelle espressioni di LilyPond...
Traceback (most recent call last):
   File /usr/bin/musicxml2ly, line 2986, in module
 main()
   File /usr/bin/musicxml2ly, line 2981, in main
 voices = convert (filename, options)
   File /usr/bin/musicxml2ly, line 2896, in convert
 update_score_setup (score, part_list, voices)
   File /usr/bin/musicxml2ly, line 2794, in update_score_setup
 score_structure.set_part_information (part_id, staves_info)
   File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1935, in
set_part_information
 self.contents.set_part_information (part_id, staves_info)
   File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1774, in
set_part_information
 c.set_part_information (part_name, staves_info)
AttributeError: PartGroupInfo instance has no attribute
'set_part_information'

 Importing in Ubuntustudio,  from the from the Forte 5 premium demo
xml output

The file couldn't be converted. Error message:
musicxml2ly: Lettura di MusicXML da
/home/vincent/Musica/CANC/cazz/provaII.xml ...
Traceback (most recent call last):
   File /usr/bin/musicxml2ly, line 2986, in module
 main()
   File /usr/bin/musicxml2ly, line 2981, in main
 voices = convert (filename, options)
   File /usr/bin/musicxml2ly, line 2883, in convert
 score_information = extract_score_information (tree)
   File /usr/bin/musicxml2ly, line 201, in extract_score_information
 set_if_exists ('title', movement_title.get_text ())
AttributeError: 'NoneType' object has no attribute 'get_text'

What can be done? :-(





I'd attach the xml file you are trying to convert (if it is small enough 
- or give someone a place they can get it from) and report this to 
'bug-lilyp...@gnu.org'.


James

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


Re: Optical spacing -- no more?

2014-07-10 Thread Noeck

Am 10.07.2014 11:42, schrieb Urs Liska:
 Am 10.07.2014 11:39, schrieb James Harkins:
 \version 2.18.2
 \relative c'' { e4 c, f' d, g' e, a' f, }
 
 Hm, there have been quite significant improvements in the horizontal
 spacing engine recently. Can it be that this is a side-effect of this?


It seems like this disappeared before 2.16.2. Since then I can see no
difference. But I agree, the current spacing does not look like the
optical spacing to me.

Cheers,
Joram

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


Re: Optical spacing -- no more?

2014-07-10 Thread David Kastrup
Noeck noeck.marb...@gmx.de writes:

 Am 10.07.2014 11:42, schrieb Urs Liska:
 Am 10.07.2014 11:39, schrieb James Harkins:
 \version 2.18.2
 \relative c'' { e4 c, f' d, g' e, a' f, }
 
 Hm, there have been quite significant improvements in the horizontal
 spacing engine recently. Can it be that this is a side-effect of this?


 It seems like this disappeared before 2.16.2. Since then I can see no
 difference. But I agree, the current spacing does not look like the
 optical spacing to me.

I think that is an optical illusion, as to be expected from optical
spacing.

If I write

\relative c'' { e4 c, f' d, g' e, a' f, }
% \addlyrics { ! ! ! ! ! ! ! ! }

I get


And in the lyrics one sees quite well that the middle notes are spaced
further apart than the outer ones.

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


Re: Optical spacing -- no more?

2014-07-10 Thread David Kastrup
David Kastrup d...@gnu.org writes:

 If I write

 \relative c'' { e4 c, f' d, g' e, a' f, }
 % \addlyrics { ! ! ! ! ! ! ! ! }

Obviously, remove the % character for that experiment...

-- 
David Kastrup

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


List defect?

2014-07-10 Thread Simon Albrecht
Hello,

now there definitely seems to be something wrong with mail delivery on the 
list. Some people already reported they were not receiving some posts at all. 
With me, some posts pop up another time two days or so after they were 
originally sent (including my own). Do any of you know what might be going on? 
And where to eventually report this buggy behaviour?

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


Re: Optical spacing -- no more?

2014-07-10 Thread Noeck


Am 10.07.2014 14:50, schrieb David Kastrup:
 David Kastrup d...@gnu.org writes:
 
 If I write

 \relative c'' { e4 c, f' d, g' e, a' f, }
 % \addlyrics { ! ! ! ! ! ! ! ! }
 
 Obviously, remove the % character for that experiment...
 

That is quite convincing.
So I guess the default spacing is now a bit thighter compared to
http://lilypond.org/doc/v2.14/Documentation/essay/engraving-details#optical-spacing
which reduces the optical impression but the feature is still there.

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


Re: Optical spacing -- no more?

2014-07-10 Thread Mark Knoop
At 15:15 on 10 Jul 2014, Noeck wrote:
Am 10.07.2014 14:50, schrieb David Kastrup:
 David Kastrup d...@gnu.org writes:
 
 If I write

 \relative c'' { e4 c, f' d, g' e, a' f, }
 % \addlyrics { ! ! ! ! ! ! ! ! }
 
 Obviously, remove the % character for that experiment...
 

That is quite convincing.
So I guess the default spacing is now a bit thighter compared to
http://lilypond.org/doc/v2.14/Documentation/essay/engraving-details#optical-spacing
which reduces the optical impression but the feature is still there.

For some reason (presumably to slightly exaggerate the effect) the
example in the essay includes:

\override NoteSpacing.stem-spacing-correction = #0.6

as opposed to the default of #0.5. Might it be a good idea for the
feature to be illustrated with the default value?

-- 
Mark Knoop

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


Re: List defect?

2014-07-10 Thread Richard Shann
On Thu, 2014-07-10 at 14:53 +0200, Simon Albrecht wrote:
 Hello,
 
 now there definitely seems to be something wrong with mail delivery on
 the list.
I too have been receiving the emails on the list in haphazard order over
the past few days. What else I've noticed (over a month or so) is
complaints from the postmaster of this list about excessive bounces - I
don't get this from other lists.

Richard

  Some people already reported they were not receiving some posts at
 all. With me, some posts pop up another time two days or so after they
 were originally sent (including my own). Do any of you know what might
 be going on? And where to eventually report this buggy behaviour?
 
 Yours, 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


Re: Optical spacing -- no more?

2014-07-10 Thread David Kastrup
Mark Knoop m...@opus11.net writes:

 At 15:15 on 10 Jul 2014, Noeck wrote:
Am 10.07.2014 14:50, schrieb David Kastrup:
 David Kastrup d...@gnu.org writes:
 
 If I write

 \relative c'' { e4 c, f' d, g' e, a' f, }
 % \addlyrics { ! ! ! ! ! ! ! ! }
 
 Obviously, remove the % character for that experiment...
 

That is quite convincing.
So I guess the default spacing is now a bit thighter compared to
http://lilypond.org/doc/v2.14/Documentation/essay/engraving-details#optical-spacing
which reduces the optical impression but the feature is still there.

 For some reason (presumably to slightly exaggerate the effect) the
 example in the essay includes:

 \override NoteSpacing.stem-spacing-correction = #0.6

 as opposed to the default of #0.5. Might it be a good idea for the
 feature to be illustrated with the default value?

Well, I don't know whether we are supposed to alter the essay after the
fact...  It's conceivable that the defaults changed over time, too.

-- 
David Kastrup

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


Re: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Son_V
Well, the file produced by Musescore:
http://www.freefilehosting.net/prova_1 

and the same file imported in Forte Premium demo and re-exported in an xml
file:
http://www.freefilehosting.net/provaii 

But what messes me is that the first file, the one produced by MuseScore,
can be imported in Denemo (BUT it sees FIVE voices!) and, WITHOUT any
problem, by Forte. I think maybe there's a problem with musixml2ly ... but
what can be done? Thanks.




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/I-was-unable-to-import-an-xml-ogan-file-from-Musescore-update-tp164243p164256.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: Integrating a markup in a music-function

2014-07-10 Thread Urs Liska

Am 10.07.2014 10:54, schrieb Thomas Morley-2:

OT: I'm replying via the nabble-interface, because your post didn't appear
in my mails til now. Currently it seems I miss several mails.
Some of them I notice, when they are quoted.

Others with the same experience?



I have the impression that some of my own posts don't show up in my inbox.

Urs

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


Re: lilypondforum.nl

2014-07-10 Thread Johan Vromans
Janek Warchoł janek.lilyp...@gmail.com writes:

 Have you heard about discourse? (http://www.discourse.org/,
 http://blog.codinghorror.com/civilized-discourse-construction-kit/)
 It's being developed by creators of Stack Overflow, which means
 excellent pedigree.

On the risk of getting off-topic: IMHO having too many discussion
platforms may work counter-productive. I personally stopped
participating in Stack Overflow c.s. when I only got 'wrong forum'
responses.

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


Re: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Richard Shann
On Thu, 2014-07-10 at 09:45 -0700, Son_V wrote:
 the one produced by MuseScore,
 can be imported in Denemo (BUT it sees FIVE voices!) 
well, it sees 5 voices because, bizarrely MuseScore has numbered the
three voices 1, 2 and 5
The two empty ones are harmless (empty) and easily deleted of course.

Richard



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


Re: Optical spacing -- no more?

2014-07-10 Thread Janek Warchoł
Hi,

2014-07-10 15:15 GMT+02:00 Noeck noeck.marb...@gmx.de:
 So I guess the default spacing is now a bit thighter compared to
 http://lilypond.org/doc/v2.14/Documentation/essay/engraving-details#optical-spacing

Nope - the difference is because you're comparing different examples.
Example in Essay has both quarters and eights, and this is what makes
the spacing wider there (common shortest duration becomes an eight
instead of quarter). See for yourself:

relative c'' { e4 c, f' d, g' e, a' f, }
{ c'4 e''4 e'4 b'4 }

% versus
{
   c'4 e''4 e'4 b'4 |
   \stemDown
   b'8[ e'' a' e'']
   \stemNeutral
   e'8[ e'8 e'8 e'8]
}

So, I don't think there were any significant changes to spacing in this regard.

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


Re: Header markup question

2014-07-10 Thread Janek Warchoł
Hi,

2014-07-10 12:18 GMT+02:00 Abraham Lee tisi...@gmail.com:
 Good idea! I'm not sure how to contribute it to openlilylib properly, but it
 seems like that might be a nice place to make it permanently available if
 Janek/Urs might be willing to place it there :)

I fully support placing it somewhere visible, but i think that it
doesn't quite fit the characteristic of openlilylib - this is a piece
of documentation, not code with some functionality.

I would rather add it here
https://github.com/openlilylib/development-resources/tree/master/learning-resources,
but then it's not really a visible place :(

Janek

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


Re: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Phil Holmes
- Original Message - 
From: Son_V vincenzo.a...@gmail.com

To: lilypond-user@gnu.org
Sent: Thursday, July 10, 2014 5:45 PM
Subject: Re: I was unable to import an xml ogan file from Musescore - update



Well, the file produced by Musescore:
http://www.freefilehosting.net/prova_1

and the same file imported in Forte Premium demo and re-exported in an xml
file:
http://www.freefilehosting.net/provaii

But what messes me is that the first file, the one produced by MuseScore,
can be imported in Denemo (BUT it sees FIVE voices!) and, WITHOUT any
problem, by Forte. I think maybe there's a problem with musixml2ly ... but
what can be done? Thanks.


[echo]

You could see whether you can reduce the XML file to a tiny example that
still breaks the import, and post it here. We can then use that to raise a
bug report.

You could also hand edit the XML source to get rid of the error in the
PartGroupInfo section.


--
Phil Holmes 



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


Re: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Son_V
Ok, but how can Denemo load the file that LilyPond can't open, and so makes
Forte?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/I-was-unable-to-import-an-xml-ogan-file-from-Musescore-update-tp164243p164263.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: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Son_V
Sorry but I can understand what a tiny example is, but I'm not able to make
one ... and, about the hand edit the XML source to get rid of the error in
the PartGroupInfo section ... what could i do??? :-(
Thanks.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/I-was-unable-to-import-an-xml-ogan-file-from-Musescore-update-tp164243p164264.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: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Phil Holmes
- Original Message - 
From: Son_V vincenzo.a...@gmail.com

To: lilypond-user@gnu.org
Sent: Thursday, July 10, 2014 7:04 PM
Subject: Re: I was unable to import an xml ogan file from Musescore - update


Ok, but how can Denemo load the file that LilyPond can't open, and so 
makes

Forte?


Either because Denemo is more tolerant of incorrect XML, or there's a bug in 
the LilyPond MusicXML importer.


--
Phil Holmes 



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


Re: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Phil Holmes
- Original Message - 
From: Son_V vincenzo.a...@gmail.com

To: lilypond-user@gnu.org
Sent: Thursday, July 10, 2014 7:08 PM
Subject: Re: I was unable to import an xml ogan file from Musescore - update


Sorry but I can understand what a tiny example is, but I'm not able to 
make
one ... and, about the hand edit the XML source to get rid of the error 
in

the PartGroupInfo section ... what could i do??? :-(
Thanks.


A LilyPond tiny example is descried here:

http://lilypond.org/tiny-examples.html

Try taking sections out of the XML until it's as small as possible whilst 
still showing the problem.


--
Phil Holmes 



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


Re: Integrating a markup in a music-function

2014-07-10 Thread Pierre Perol-Schneider
Hi Harm,

2014-07-10 10:54 GMT+02:00 Thomas Morley-2 thomasmorle...@gmail.com:


 try:

 \version 2.18.2

 #(define (general-column align-dir baseline mols)
   (let* ((aligned-mols
(map (lambda (x) (ly:stencil-aligned-to x X align-dir)) mols)))
 (stack-lines -1 0.0 baseline aligned-mols)))

 #(define-markup-command (center-text-string layout props arg)
   (string?)
   #:properties ((baseline-skip)
 wordwrap-string-internal-markup-list)
   (general-column CENTER baseline-skip
(wordwrap-string-internal-markup-list layout props #f arg)))

 shortIncipit =
 #(define-music-function (parser location instr-name ) (markup?)
   #{
 \set Staff.instrumentName =
   \markup {
 \override #'(line-width . 12)
 \center-text-string #instr-name
   }
   #})

 \layout { indent = 30 }

 { \shortIncipit Cantus primi chori c' }


Perfect !
Thanks Harm,


 OT: I'm replying via the nabble-interface, because your post didn't appear
 in my mails til now. Currently it seems I miss several mails.
 Some of them I notice, when they are quoted.

 Others with the same experience?


Indeed, I've mentioned it here :
http://lilypond.1069038.n5.nabble.com/Beam-subdivided-at-non-periodic-intervals-tt164174.html#none

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


Re: Question for all LilyPond users (especially power users)

2014-07-10 Thread Urs Liska

I had answered this but it seems my mobile had trashed the message ...

As we've been discussing earlier I still think this a tremenduous 
achievement. I don't know whether this reflects the latest state but I 
very much enjoyed engraving a score with five different fonts. See

https://dl.dropboxusercontent.com/u/49478835/lilypond-fonts/lilypond-fonts-haydn-cadenza.tar.gz
(this is a non-permanent link and may be removed any time).

If you haven't gone other ways in the meantime I still think that 
openlilylib would be a suitable place for that, particularly after the 
current reorganization has completed. Incorporating into LilyPond itself 
will impose a number of issues, e.g. how to distribute the fonts? They 
aren't produced from sources and can't easily be built together with 
LilyPond.


Best
Urs

Am 09.07.2014 13:56, schrieb SoundsFromSound:

tisimst wrote

Greetings, All!

I have worked out a very nice way to switch between notation fonts in
LilyPond, both on a global document level and a local usage level. Up
until now, there were only a couple of music fonts available that were
really usable on a professional level:

/

Emmentaler

/

  (the default, built-in font) and

/

Gonville

/

. There are also

/

LilyJAZZ

/

  and

/

Bravura

/

  (a SMuFL-compliant font), but they require some serious hacks to make
them work and they have trouble with even some basic notation elements
(like tempo markings, arpeggios, etc.).

I am pleased to announce that I have several new music fonts, both in OTF
and SVG formats, that I'd like people to be able to use, but this requires
a patch to a single file, so anyone wanting to patch the file can do it
with little effort. It makes using other fonts as easy as putting a single
\include statement at the top of a .ly file. I use them all the time,
but I really want to share with the community that has shared so much with
me.

*

My question is this:

/

Is anyone interested in this?

/*


I know that the notation font is a small part of the way a score looks,
but I think we can all recall a time when a score just didn't look that
good and it was because of the notation elements, not just the score
layout.

And, just so you know, I have LilyJAZZ (including all the latest and
greatest efforts for chords and a bunch of missing articulations,
characters, etc.) and Bravura (my version is called

/

Profondo

/

, for OFL licensing reasons) working perfectly as alternate music fonts.
In addition, these all provide access to all the ancient notation glyphs
as well, so nothing is lost (except for Gonville, which I haven't taken
the time to update at all).

I eagerly await your responses!

Happily Engraving,
Abraham


I'm certainly interested in hearing more about this!



-
composer | sound designer
LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Question-for-all-LilyPond-users-especially-power-users-tp164178p164183.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




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


Re: Question for all LilyPond users (especially power users)

2014-07-10 Thread Kieren MacMillan
Hi all,

 I still think this a tremenduous achievement.

+1

 https://dl.dropboxusercontent.com/u/49478835/lilypond-fonts/lilypond-fonts-haydn-cadenza.tar.gz

Amazing!

Each font has its compelling points, doesn’t it?
In any case, *choice* is a great thing.

Thanks [to all],
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


N'th time bar markup

2014-07-10 Thread Richard Shann
Dear List,
The example given in the docs
http://www.lilypond.org/doc/v2.18/Documentation/notation/long-repeats#index-volta-bracket-with-text
 for n'th time bar with arbitrary text uses a separate definition for
the markup to be placed in the n'th time marker. This is a bit awkward
to output from Denemo, and would not help clarity in any case, as the
definition would only be used once and would be widely separated from
its use.
So, I would like to inline the markup, but I'm having trouble figuring
out what scheme is seeing for the defined value. I've put in a
#(display ...) to print out the scheme representation, but I'm not quite
up to deciphering this. So if someone could put me out of my misery and
say what needs to go in place of the  in the following to allow me
to uncomment those lines and drop the definition at the head, I would be
grateful.

\version 2.18.0
voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
#(display voltaAdLib)

\relative c'' {
  c1
 % \set Score.repeatCommands =
 %   #(let ((voltaAdLib ?)) (list(list 'volta voltaAdLib) 'start-repeat))
  c4 b d e
  \set Score.repeatCommands = #'((volta #f) (volta 4.) end-repeat)
  f1
  \set Score.repeatCommands = #'((volta #f))
}


Richard




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


Re: I was unable to import an xml ogan file from Musescore - update

2014-07-10 Thread Federico Bruni
2014-07-10 21:52 GMT+02:00 Federico Bruni fedel...@gmail.com:

 See my file attached, all the measures are commented except the first and
 the problem is still present.
 This is not yet a minimal example. You should dig more. Try commenting
 staff 2 and leave only staff one. Be careful to comment in the right
 places; xmlcopyeditor will print a warning if there's something wrong. Run
 again musicxml2ly and see if the error is still present.


I reduced it to a single measure and I can import in Denemo. In Denemo I
see there's an upbeat or pickup at the beginning. Maybe this is what causes
trouble?

I've just tried musicxml2ly developed by philomelos¹ and I get a different
error:

Traceback (most recent call last):
  File ./musicxml2ly, line 3369, in module
main()
  File ./musicxml2ly, line 3363, in main
voices = convert (filename, options)
  File ./musicxml2ly, line 3241, in convert
(voices, staff_info) = get_all_voices (parts)
  File ./musicxml2ly, line 2837, in get_all_voices
part_ly_voices[n] = musicxml_voice_to_lily_voice (v)
  File ./musicxml2ly, line 2644, in musicxml_voice_to_lily_voice
if (beamed == begin or slurred == start) and
(len(voice._elements[idx+1].get_typed_children (musicxml.Lyric)) != 0):
IndexError: list index out of range

¹ https://github.com/Philomelos/lilypond-musicxml2ly-dev
?xml version=1.0 encoding=UTF-8?
!DOCTYPE score-partwise PUBLIC -//Recordare//DTD MusicXML 2.0 Partwise//EN http://www.musicxml.org/dtds/partwise.dtd;
score-partwise
  identification
encoding
  softwareMuseScore 1.2/software
  encoding-date2014-06-08/encoding-date
  /encoding
/identification
  defaults
scaling
  millimeters7.056/millimeters
  tenths40/tenths
  /scaling
page-layout
  page-height1683.67/page-height
  page-width1190.48/page-width
  page-margins type=even
left-margin56.6893/left-margin
right-margin56.6893/right-margin
top-margin56.6893/top-margin
bottom-margin113.379/bottom-margin
/page-margins
  page-margins type=odd
left-margin56.6893/left-margin
right-margin56.6893/right-margin
top-margin56.6893/top-margin
bottom-margin113.379/bottom-margin
/page-margins
  /page-layout
/defaults
  credit page=1
credit-words default-x=595.238 default-y=1626.98 font-size=24 justify=center valign=topLaudes et gratia miserachs organo/credit-words
/credit
  part-list
part-group type=start number=1
  group-symbolbrace/group-symbol
  /part-group
score-part id=P1
  part-nameOrgano/part-name
  part-abbreviationOrg./part-abbreviation
  score-instrument id=P1-I3
instrument-nameOrgano/instrument-name
/score-instrument
  midi-instrument id=P1-I3
midi-channel1/midi-channel
midi-program20/midi-program
volume78.7402/volume
pan0/pan
/midi-instrument
  /score-part
/part-list
  part id=P1
measure number=1 width=178.05
  print
system-layout
  system-margins
left-margin107.78/left-margin
right-margin0.00/right-margin
/system-margins
  top-system-distance214.12/top-system-distance
  /system-layout
staff-layout number=2
  staff-distance65.00/staff-distance
  /staff-layout
/print
  attributes
divisions2/divisions
key
  fifths-1/fifths
  modemajor/mode
  /key
time
  beats4/beats
  beat-type4/beat-type
  /time
staves2/staves
clef number=1
  signG/sign
  line2/line
  /clef
clef number=2
  signF/sign
  line4/line
  /clef
/attributes
  note default-x=85.03 default-y=-25.00
pitch
  stepA/step
  octave4/octave
  /pitch
duration4/duration
voice1/voice
typehalf/type
stemup/stem
staff1/staff
notations
  slur type=start number=1/
  /notations
/note
/measure
  /part
/score-partwise
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Optical spacing -- no more?

2014-07-10 Thread Abraham Lee
On Thu, Jul 10, 2014 at 3:39 AM, James Harkins jamshar...@gmail.com 
wrote:
Something I've been wondering about for awhile... lilypond.org boasts 
of optical spacing for notes with alternating up and down stems, 
but it seems this feature has been lost somewhere (or disabled by 
default). In this example, it's quite plain to my eyes that the stems 
are not equally spaced within the bars.


\version 2.18.2
\relative c'' { e4 c, f' d, g' e, a' f, }

Which is correct -- the website, or LP's behavior?

hjh

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


James,

I would have to disagree with you. I think the notes look very nicely 
spaced. I think you are misunderstanding what optical spacing 
implies. It doesn't mean that the stems will be placed equidistant from 
each other. That would look awful because of how far that would push 
the noteheads out of place! Rather, it's a balancing act of how much 
whitespace our eyes perceive due to how close the stems AND noteheads 
appear to be when the stems are in opposite directions. An up-stem, 
down-stem pair will tend to push each other farther away _a little_ 
because the eye wants more whitespace between them. A down-stem, 
up-stem pair will tend to pull towards each other _a little_ because 
the eye wants less whitespace between them.


Attached is a pictogram of the paper columns of your snippet. Notice 
the difference in how far a down-stem notehead is from an up-stem 
notehead (2.66 staff spaces) and vice-versa (3.30 staff spaces). They 
are not equal because of the optical spacing engine. If they were equal 
(at 2.98 staff spaces), the up-stem/down-stem pairs would look too 
close together and the down-stem/up-stem pairs would look too far 
apart, as exemplified in the LilyPond essay:


http://lilypond.org/doc/v2.18/Documentation/essay/engraving-details#optical-spacing

In my opinion, I'd say the optical spacing is alive and kicking!

Hope that helps.

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


Re: Beam subdivided at non-periodic intervals

2014-07-10 Thread Javier Ruiz-Alma
I was equally surprised to see my mail get logged so long after I sent it.  It 
either went to a moderation queue, or perhaps stuck with the email gremlings.
Sorry for your double-effort on this one...if there's any positive, I was glad 
to read your concurrence.

 On Jul 10, 2014, at 12:03 AM, Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com wrote:
 
 Hi Javier,
 
 2014-07-09 8:11 GMT+02:00 Javier Ruiz-Alma jav...@ruiz-alma.com:
 The \subdivideBeams statement adds the unwanted subdivisions at the time 
 signature beats.
 
 Hum, strange...
 You've written that before my mail and I just recieved it this morning!?
 I'm not sure to understand how this list works but happy to see that we came 
 to the same conclusion. ;)
 Cheers,
 Pierre
 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: List defect?

2014-07-10 Thread PMA

I've no idea, and don't see it as clearly a defect _of the list_.
Over the past few days I've had emails straggling in a day-
or-so late from _several_ forums.

Richard Shann wrote:

On Thu, 2014-07-10 at 14:53 +0200, Simon Albrecht wrote:

Hello,

now there definitely seems to be something wrong with mail delivery on
the list.

I too have been receiving the emails on the list in haphazard order over
the past few days. What else I've noticed (over a month or so) is
complaints from the postmaster of this list about excessive bounces - I
don't get this from other lists.

Richard


  Some people already reported they were not receiving some posts at
all. With me, some posts pop up another time two days or so after they
were originally sent (including my own). Do any of you know what might
be going on? And where to eventually report this buggy behaviour?

Yours, 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




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


Re: List defect?

2014-07-10 Thread Trevor Daniels

  Simon Albrecht  wrote Thursday, July 10, 2014 1:53 PM

  now there definitely seems to be something wrong with mail delivery on the 
list. Some people already reported they were not receiving some posts at all. 
With me, some posts pop up another time two days or so after they were 
originally sent (including my own). Do any of you know what might be going on? 
And where to eventually report this buggy behaviour?

  This effect can be caused by one of the mail relays 
  en route going down.  Other mail relays then have to
  queue up the mail destined for that relay.  They
  retry periodically, and when it comes back up the
  queued mail is resent, but often it can take quite
  a time (many hours) to catch up, so delayed mail comes
  interspersed with new mail.

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


Re: Question for all LilyPond users (especially power users)

2014-07-10 Thread Urs Liska
We'd already started to discuss this, and I'd be happy to continue on that 
track (for all: it was awesome to engrave a score with five different fonts).

If you haven't worked in a different direction in the meantime I'd still say 
that openlilylib is the suitable place for that. Even more after the current 
reorganization has been completed.

Best
Urs

On 9. Juli 2014 13:56:48 MESZ, SoundsFromSound soundsfromso...@gmail.com 
wrote:
tisimst wrote
 Greetings, All!
 
 I have worked out a very nice way to switch between notation fonts in
 LilyPond, both on a global document level and a local usage level. Up
 until now, there were only a couple of music fonts available that
were
 really usable on a professional level: 
/
 Emmentaler
/
  (the default, built-in font) and 
/
 Gonville
/
 . There are also 
/
 LilyJAZZ
/
  and 
/
 Bravura
/
  (a SMuFL-compliant font), but they require some serious hacks to
make
 them work and they have trouble with even some basic notation
elements
 (like tempo markings, arpeggios, etc.).
 
 I am pleased to announce that I have several new music fonts, both in
OTF
 and SVG formats, that I'd like people to be able to use, but this
requires
 a patch to a single file, so anyone wanting to patch the file can do
it
 with little effort. It makes using other fonts as easy as putting a
single
 \include statement at the top of a .ly file. I use them all the
time,
 but I really want to share with the community that has shared so much
with
 me.
*
 My question is this: 
/
 Is anyone interested in this?
/*
 
 I know that the notation font is a small part of the way a score
looks,
 but I think we can all recall a time when a score just didn't look
that
 good and it was because of the notation elements, not just the score
 layout.
 
 And, just so you know, I have LilyJAZZ (including all the latest and
 greatest efforts for chords and a bunch of missing articulations,
 characters, etc.) and Bravura (my version is called 
/
 Profondo
/
 , for OFL licensing reasons) working perfectly as alternate music
fonts.
 In addition, these all provide access to all the ancient notation
glyphs
 as well, so nothing is lost (except for Gonville, which I haven't
taken
 the time to update at all).
 
 I eagerly await your responses!
 
 Happily Engraving,
 Abraham

I'm certainly interested in hearing more about this!



-
composer | sound designer 
LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Question-for-all-LilyPond-users-especially-power-users-tp164178p164183.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
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Dot-separated list as music function argument

2014-07-10 Thread Jan-Peter Voigt

Am 09.07.14 15:15, schrieb David Kastrup:

No.  If we have some Word in the place of a function argument, LilyPond
tries interpreting it as a string first.  If the predicate refuses to
accept that, the next try is as a one-element symbol list.  If that gets
accepted, the parser checks whether this symbol list can be extended
with .AnotherWord following.  If the predicate refuses a symbol list,
however, LilyPond tries feeding it a single symbol before giving up.
Still, wrapped predicates do not get any special handling by th parser.
No predicate at all gets special handling by the parser in music
functions any more (as of issue 3618, version 2.17.29).  You can wrap
them all you want.  LilyPond actually calls the predicates (often
several times, sometimes on partially parsed input) to make its parsing
decisions.

thank you, now I understand

But then that change has not had a lot of publicity: you'll see that
(apart from administrative comments) I have been the only commenter on
issue and code review.

I see

Things are different for markup command arguments: those have not gotten
the whole treatment that music/scheme function arguments have.  It would
be a completely different bag of tricks to do so in markup mode.

I thought so. It would be nice, but I would not call it that important.

Best, Jan-Peter


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


Re: Chord Symbols with inversions

2014-07-10 Thread Richard Shann
On Wed, 2014-07-09 at 17:53 +0200, David Kastrup wrote:
{... the actual chords }
 
 
 Sigh.  No minimal working example.  At any rate, you probably would
 just
 want \override TimeSignature ... in the context mod since there is no
 grob called ChordNames. 

sorry - and you are quite right, of course. I'll set about constructing
an example as I am still stuck with getting the initial time signature.
One of the downsides of working with Denemo is that you don't get a
minimal example for free, you have to hack out some verbiage :(

Richard



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


Re: Chord Symbols with inversions

2014-07-10 Thread David Kastrup
Richard Shann rich...@rshann.plus.com writes:

 Hi list,

 With notation like
 \version 2.18.0
 \chordmode {
   c/g
 }
 I can get chord names with /G at the end to indicate a G added below the
 root of the chord.
 With the notation
  \new ChordNames 
  {
  c' e' g'1
  }

 I can get the chord symbol C typeset, but is there any way to get the
 C/G symbol typeset via this syntax? Obviously, if I just add the low G
 it interprets it as a chord on the root G.

\withMusicProperty bass ##t g

But I don't think that this is documented/guaranteed as a stable
interface to this kind of functionality.  There is also a more complex
property inversion (to be accompanied by octavation).  Digging
through the code did not really suggest to me how these are supposed to
fit together.

I suspect that there was some original design, but after patching it up
afterwards to account for some problems, it might be indiscernible.

-- 
David Kastrup

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


Re: Proportional-Notation Durations

2014-07-10 Thread Thomas Morley
2014-07-09 0:24 GMT+02:00 PMA peterarmstr...@aya.yale.edu:
 Hi List.

 I'm looking for a LilyPond way to specify note duration
 in a Proportional Notation context using exactly _one_
 stemless notehead type.

 Perhaps the first option is a mid-level horizontal line
 extending distance-X from the notehead.  (The space
 following would indicate silence.)

 But I want ask: has anyone done this instead with the
 _hairpin_ -- attached to a note-head via pitch params,
 tapered to a param-specified length, and filled?

 If not, or in any case, any other ideas?

 Thanks in advance for your time.
 Pete



Hi Pete,

do you mean something like:
http://lists.gnu.org/archive/html/lilypond-user/2012-12/msg00145.html
?

Somewhere on my computer I've an updated version, if the link shows
what you're looking for.

Cheers,
  Harm

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


Follow-up question to alternate music fonts

2014-07-10 Thread tisimst
All,

Is there anyone who is VERY against distributing music fonts in binary form
(i.e., as otf, svg, etc.files)? I just don't see how we can make other music
fonts available by forcing them to have a metafont source file. I guess that
could be nice, but it seems like so much work to do that. I have about 4 or
5 alternate music fonts that people could use and I certainly don't want to
convert them to metafont. They are currently designed and built with
fontforge.

What do you think?

-Abraham



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Follow-up-question-to-alternate-music-fonts-tp164259.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: minor chords

2014-07-10 Thread David Raleigh Arnold
On Sun, 16 Mar 2014 22:03:49 -0400
Kieren MacMillan kieren_macmil...@sympatico.ca wrote:

 Hi Simon (et al.),
 
  I think this is one of the few questions where it’s really
  difficult to establish a standard.
 
 Agreed.
 It’s the one big disappointment that I have in Gould’s
 engraving book: she doesn’t even address the subject at all!!
 
  Plus: there’s still some leap between the lilypond standard
  output – which one may usually take as „standard” indeed –
  and other options which are available if one looks for them.
 
 I’ve always found the Lilypond chord names default(s) to be
 totally unacceptable; I have a ChordNames.ly standard include,
 which changes font, size, placement, and contains an almost
 complete rewrite of the chord symbols.

There was a standard that arose because of the extensive
expansion of chord names necessary for bop. Lead sheet
writers abandoned all symbols except the sharp and flat,
and the only useful addition has been the slash basses
of the sixties. I remember how much I hated the triangle
for maj7 on sight, because the triangle hastily drawn can
be mistaken for almost anything. This 1940's usage was contrary
to the love for cryptic symbols like the little o's that
were introduced in pop music.

I got over disliking the C6 for a first inversion Bm7.

Even a C4 or Csus is tolerable, but Csus4 is better.

C2 is better than C9omit7, but there is nothing wrong with
the latter. It's a matter of style.

Since any chord can be easily typed with an ordinary
font, the newest standard, from the 1940's, is IMO the
best. I enter chords as text anyway. You can find a sharp and flat
in most fonts, or just use # and b:

Gm13(#7b5#9#11)/g but Gmmaj7, Gmmaj79

Why can't I enter chords as they will print with your system? It's
not even an option now.

Regards, Rale

-- 
For All Guitar Beginners: The pages of very easy solos missing
from all of the published guitar methods of others.
For All Guitarists: solos, duets, and peerless guitar exercises
David Raleigh Arnold   http://www.openguitar.com

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


Re: Chord Symbols with inversions

2014-07-10 Thread David Kastrup
Richard Shann rich...@rshann.plus.com writes:

 Thank you for this. With that I have now got as far as the attached
 sample in trying to typeset a jazz chord sheet (the chords are just
 nonsense but most of the needed elements are there now).
 Attached is the sort of sheet I'm trying to use LilyPond to improve on.
 I think I have most of the elements now, though the time signature
 stubbornly refuses to become numeric with
 I'm trying to override TimeSignature style in ChordNames thus:


   \new ChordNames \with {

   \override BarLine.bar-extent = #'(-2 . 2)
   \consists Bar_engraver

   \consists Time_signature_engraver
   \override ChordNames.TimeSignature  #'style = #'numeric 
 }
   {... the actual chords }


Sigh.  No minimal working example.  At any rate, you probably would just
want \override TimeSignature ... in the context mod since there is no
grob called ChordNames.

-- 
David Kastrup

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


Re: Question for all LilyPond users (especially power users)

2014-07-10 Thread tisimst
Schneidy wrote
 I did that, but I let it unfinished for a couple of weeks now...
 see =
 http://lilypond.1069038.n5.nabble.com/LilyJAZZ-in-v2-18-td162423.html#a162444
 
 Pierre

Yes! Thank you, Pierre, for your good work! I had fun making some updates to
it. I think there are enough people interested in the Jazzy hand-written
font that we should get this incorporated better. Since it is only available
in binary font formats, is openlilylib the best place to put it?

The only thing is, if we want to make the use of LilyJAZZ easier, it really
needs the patched file that I mentioned in the initial post. That allows
LilyPond to put all the LilyJAZZ glyphs (or any other music font) into use
without a lot of manual labor with the potential of things getting missed
and not looking right.

-Abraham



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Question-for-all-LilyPond-users-especially-power-users-tp164178p164302.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