Re: convert-ly in 2.19.36-1

2016-02-15 Thread Anders Eriksson

On 2016-02-15 08:50, Malte Meyn wrote:



Am 15.02.2016 um 08:01 schrieb Anders Eriksson:

When I take an old .ly file, with version \version "2.19.15", and run
convert-ly I get \version "2.19.32"

Have I done something wrong or is there a "bug"?


This means that there are no syntax changes between 2.19.32 and 
2.19.36/no convert-ly rules after 2.19.32. Everything ok ;)


OK, I didn't realize that there were difference between program version 
and syntax version.


Thank for enlightening me!

// Anders

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


rotate fretdiagram and add fingering above

2016-02-15 Thread BB
Some time ago I got a nice code from a nice user via the user blog to 
make fredboard diagrams.

One example:

\markup {

\override #'(size . 3)

\override #'(fret-diagram-details . ((finger-code . in-dot)))

% \fill-line {

\fret-diagram-verbose #`(

(place-fret 6 5 "R")

(place-fret 5 4 "III")

(place-fret 4 2 "V")

)

}


I would like to rotate the diagram 90° left (counterclockwise).
\override FretBoard.fret-diagram-details.orientation = #'landscape
does not work. Is there a way to rotate the diagram?
I use the finger-code to mark the number of the note in the scale. 
(R=root, II, III, IV, V VI etc. )


2. Via user blog I got a nice code to mark the fingering of tabs:

\new TabStaff

\new TabVoice \with {

\consists "New_fingering_engraver"

\consists "Fingering_engraver"

fingeringOrientations = #'(up)

\override Fingering.side-axis = #Y

\override Fingering.outside-staff-priority = #200

} \relative c' {

a,8-1 a'-2  a-1

d,8-2 a'-3  a-2

}


How can I mark the fingering in this way in the first example diagram, 
the fretboard diagram?


In short, I would like to combine 1 and 2.



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


Re: rotate fretdiagram and add fingering above

2016-02-15 Thread Pierre Perol-Schneider
1) try \override #'(fret-diagram-details . ((finger-code . in-dot)
(orientation . #'landscape)))
2) How should it look like?


2016-02-15 13:30 GMT+01:00 BB :

> Some time ago I got a nice code from a nice user via the user blog to make
> fredboard diagrams.
> One example:
>
> \markup {
>
> \override #'(size . 3)
>
> \override #'(fret-diagram-details . ((finger-code . in-dot)))
>
> % \fill-line {
>
> \fret-diagram-verbose #`(
>
> (place-fret 6 5 "R")
>
> (place-fret 5 4 "III")
>
> (place-fret 4 2 "V")
>
> )
>
> }
>
> I would like to rotate the diagram 90° left (counterclockwise).
> \override FretBoard.fret-diagram-details.orientation = #'landscape
> does not work. Is there a way to rotate the diagram?
> I use the finger-code to mark the number of the note in the scale.
> (R=root, II, III, IV, V VI etc. )
>
> 2. Via user blog I got a nice code to mark the fingering of tabs:
>
> \new TabStaff
>
> \new TabVoice \with {
>
> \consists "New_fingering_engraver"
>
> \consists "Fingering_engraver"
>
> fingeringOrientations = #'(up)
>
> \override Fingering.side-axis = #Y
>
> \override Fingering.outside-staff-priority = #200
>
> } \relative c' {
>
> a,8-1 a'-2  a-1
>
> d,8-2 a'-3  a-2
>
> }
>
> How can I mark the fingering in this way in the first example diagram, the
> fretboard diagram?
>
> In short, I would like to combine 1 and 2.
>
>
>
>
> ___
> 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


Is there a bug in the way Lilypond handles staccatos?

2016-02-15 Thread Devin
Hi,

I am working with Walter Bender on a visual programming language called
"Music Blocks" (http://musicblocks.net).

Neither of us know Lilypond well enough, so maybe someone on this list
can help us out.

As part of Music Blocks software, we are developing a feature where the
user can export to lilypond and we have a staccato feature in our own
code, which we are trying to get to go down the pipeline to the lilypond
code.

Our Question:

Is this a bug?

This doesn't work:
a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8} )

But this does:

a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8) }

(The parenthesis and brackets must be flipped in order for the lilypond
code to work)

It does not make sense to me and Walter, but then again we may not be
familiar enough with how Lilypond works.

At any rate, we are able to generate code either way, but if this is an
issue we thought to bring it up now. Our full conversation can be found
at
https://github.com/walterbender/musicblocks/issues/180#issuecomment-184214934

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


[Correction] Is there a bug in the way Lilypond handles SLURS?

2016-02-15 Thread Devin
[This is a correction of previous messsage -- I meant "slurs", not
"staccato". SORRY!]

Hi,

I am working with Walter Bender on a visual programming language called
"Music Blocks" (http://musicblocks.net).

Neither of us know Lilypond well enough, so maybe someone on this list
can help us out.

As part of Music Blocks software, we are developing a feature where the
user can export to lilypond and we have a SLUR feature in our own
code, which we are trying to get to go down the pipeline to the lilypond
code.

Our Question:

Is this a bug?

This doesn't work:
a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8} )

But this does:

a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8) }

(The parenthesis and brackets must be flipped in order for the lilypond
code to work)

It does not make sense to me and Walter, but then again we may not be
familiar enough with how Lilypond works.

At any rate, we are able to generate code either way, but if this is an
issue we thought to bring it up now. Our full conversation can be found
at
https://github.com/walterbender/musicblocks/issues/180#issuecomment-184214934

Devin


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


Re: [Correction] Is there a bug in the way Lilypond handles SLURS?

2016-02-15 Thread Urs Liska
Hi Devin,

you're welcome, but this is not a bug but a characteristic of LilyPond's
syntax.

Slurs (and beams) are not use in an "enclosing" way but are written
after the note they affect.
So the end of a slur is written after the final note. In your first
example (the non-functional) the closing slur would be applied to the
"outside" of the tuplet expression, but in fact it should be applied to
the last note, and therefore the ")" must be written after that note.
After the "}" you have left the context where the slur should apply.

HTH
Urs

Am 15.02.2016 um 17:03 schrieb Devin:
> [This is a correction of previous messsage -- I meant "slurs", not
> "staccato". SORRY!]
>
> Hi,
>
> I am working with Walter Bender on a visual programming language called
> "Music Blocks" (http://musicblocks.net).
>
> Neither of us know Lilypond well enough, so maybe someone on this list
> can help us out.
>
> As part of Music Blocks software, we are developing a feature where the
> user can export to lilypond and we have a SLUR feature in our own
> code, which we are trying to get to go down the pipeline to the lilypond
> code.
>
> Our Question:
>
> Is this a bug?
>
> This doesn't work:
> a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8} )
>
> But this does:
>
> a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8) }
>
> (The parenthesis and brackets must be flipped in order for the lilypond
> code to work)
>
> It does not make sense to me and Walter, but then again we may not be
> familiar enough with how Lilypond works.
>
> At any rate, we are able to generate code either way, but if this is an
> issue we thought to bring it up now. Our full conversation can be found
> at
> https://github.com/walterbender/musicblocks/issues/180#issuecomment-184214934
>
> Devin
>
>
> ___
> 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: [Correction] Is there a bug in the way Lilypond handles SLURS?

2016-02-15 Thread N. Andrew Walsh
Hi Devin,

Lilypond's syntax deviates from other programming languages in a subtle but
significant way: certain characters -- namely brackets -- do not need to be
explicitly nested inside one another. Rather, they occur at the points
where their corresponding graphical object begins and ends. See here:
http://www.lilypond.org/doc/v2.19/Documentation/learning/on-the-un_002dnestedness-of-brackets-and-ties

(just saw that Urs replied. Here's hoping I'm not redundant!)

Cheers,

A

On Mon, Feb 15, 2016 at 5:03 PM, Devin  wrote:

> [This is a correction of previous messsage -- I meant "slurs", not
> "staccato". SORRY!]
>
> Hi,
>
> I am working with Walter Bender on a visual programming language called
> "Music Blocks" (http://musicblocks.net).
>
> Neither of us know Lilypond well enough, so maybe someone on this list
> can help us out.
>
> As part of Music Blocks software, we are developing a feature where the
> user can export to lilypond and we have a SLUR feature in our own
> code, which we are trying to get to go down the pipeline to the lilypond
> code.
>
> Our Question:
>
> Is this a bug?
>
> This doesn't work:
> a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8} )
>
> But this does:
>
> a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8) }
>
> (The parenthesis and brackets must be flipped in order for the lilypond
> code to work)
>
> It does not make sense to me and Walter, but then again we may not be
> familiar enough with how Lilypond works.
>
> At any rate, we are able to generate code either way, but if this is an
> issue we thought to bring it up now. Our full conversation can be found
> at
>
> https://github.com/walterbender/musicblocks/issues/180#issuecomment-184214934
>
> Devin
>
>
> ___
> 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: Very fast typesetting regardless of beauty?

2016-02-15 Thread Isaac Reilly
Thank you, Nathan, Brian, Simon, and Urs!
After consideration, I decided to make my own simple renderer for the
real-time display. This way, I can be totally sure of the spacing, and I
can support another feature, simultaneous highlighting of overlapping areas
in different colors.
Thanks,
Isaac

On Thu, Feb 4, 2016 at 5:28 AM, Urs Liska  wrote:

>
>
> Am 04.02.2016 um 11:20 schrieb Simon Albrecht:
> > On 04.02.2016 02:51, Isaac Reilly wrote:
> >> And since it will always be rendering to a single page wide enough to
> >> hold it all on one line, I'd like to turn off the line break
> >> calculations.
> >
> > At least there are the ly:one-line-breaking and
> > ly:one-line-auto-height-breaking (only from 2.19.36) algorithms for that.
> >
> > Best, Simon
>
>
> There are also appraoches (and plans) to improve partial
> (re-)compilation, such as recompiling just a system and "stitching" that
> in the previewing widget. But I'm not sure they'll substantially lead
> you anywhere with your use case.
>
> 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: [Correction] Is there a bug in the way Lilypond handles SLURS?

2016-02-15 Thread Urs Liska


Am 15.02.2016 um 17:09 schrieb N. Andrew Walsh:
> (just saw that Urs replied. Here's hoping I'm not redundant!)
>

Nope. You delivered the link that I had already copied but forgot to
paste ;-)

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


Re: Is there a bug in the way Lilypond handles staccatos?

2016-02-15 Thread Klaus Blum
Hi Devin, 

the use of parentheses is somewhat special: 
don't think of them as a pair of parentheses.  :-) 

An opening parenthesis after a note indicates the beginning of a slur, a
closing parenthesis means the end of a slur. 
So, in your second example the slur ends on the c'8 whereas in your first
example the closing parenthesis doesn't follow a note.

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Is-there-a-bug-in-the-way-Lilypond-handles-staccatos-tp187242p187246.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


How to diminish the vertical space underneath a musical example

2016-02-15 Thread Robert Blackstone
Dear all, 

What can I do to diminish the vertical space between the score and the next 
text block? Or better, make the vertical space underneath the score the same as 
that above the score.

This is what it looks like now:
%<

\markup {
\column {
\line {Some comments in the original language.}
}
\hspace #14
\column {\italic {
\line {The same translated into some other language.}
}}
}% End markup

\score {
\layout {
indent = 7.5\cm } 
\relative c' 
{ \new Staff { \omit Staff.TimeSignature \clef treble \key c \major
c d e f
}} 
} % End score 

\markup {
\column {
\line {Other comments in the original language.}
}
\hspace #14
\column {\italic {
\line {The same translated into some other language.}
}}
}% End markup

%<---

Thanks in advance for any help.

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


Re: How to diminish the vertical space underneath a musical example

2016-02-15 Thread Federico Bruni
Il giorno lun 15 feb 2016 alle 17:52, Robert Blackstone 
 ha scritto:
What can I do to diminish the vertical space between the score and 
the next text block? Or better, make the vertical space underneath 
the score the same as that above the score.


Play with this:

\paper {
 score-markup-spacing.basic-distance = 7
}


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


PDF portfolio of 2.19.36 docs

2016-02-15 Thread Nick Payne
A fully indexed portfolio of the 2.19.36 PDF docs is available at 
https://www.dropbox.com/s/2evf8ywm2bvayed/lilydoc-2.19.36.pdf?dl=0 (39Mb).


Needs Adobe Reader for the indexing to work - I haven't found a 3rd 
party PDF viewer that can use the index in PDF portfolios.


Nick

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


Re: Is there a bug in the way Lilypond handles staccatos?

2016-02-15 Thread Devin
@Urs, Klaus, and Andrew

Thank you very much!

This makes sense now (I guess Lilypond does not need to be a
"programming language" per se and that is where the confusion is). I
will add your replies to our Music Blocks discussion thread so that
everyone from our team is in the loop about this.

Devin

On 02/15/2016 11:16 AM, Klaus Blum wrote:
> Hi Devin, 
>
> the use of parentheses is somewhat special: 
> don't think of them as a pair of parentheses.  :-) 
>
> An opening parenthesis after a note indicates the beginning of a slur, a
> closing parenthesis means the end of a slur. 
> So, in your second example the slur ends on the c'8 whereas in your first
> example the closing parenthesis doesn't follow a note.
>
> Cheers, 
> Klaus
>
>
>
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/Is-there-a-bug-in-the-way-Lilypond-handles-staccatos-tp187242p187246.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: How to diminish the vertical space underneath a musical example

2016-02-15 Thread Klaus Blum
Hi Robert, 


Robert Blackstone-3 wrote
> What can I do to diminish the vertical space between the score and the
> next text block? 

if your score block is short enough to not require a page break, you can
also insert it as a markup element:

%

\markup \score {
  \layout {
indent = 7.5\cm
  }
  \relative c'
  {
\new Staff {
  \omit Staff.TimeSignature \clef treble \key c \major
  c d e f
}
  }
} % End score

\markup \vspace #-1 % In that case, you can even do things like this...  :-)

%


Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-diminish-the-vertical-space-underneath-a-musical-example-tp187249p187253.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


Segfault when using RemoveEmptyStaves

2016-02-15 Thread Frank Steinmetzger
Hello list

I was ponding along with 2.18.2 and all of a sudden, the piece I was typing
didn't build a PDF anymore. As it turns out, lilypund is suffering a
segmentation fault.

I took the file apart and in an hour's search narrowed it down to those 
features:
- RemoveEmptyStaves is enabled
- there is a \break at the end followed by a \bar command

Under those conditions lilypond crashes if I use either lyrics or a dynamics
context. If I comment out either the Dynamics and Lyrics, the PDF compiles.
If all are there, I get the segfault.

I attached the file in question. Please try it yourself by commenting out
line 46 and/or 55. Here is my backtrace from compiling it:

$ LC_ALL=C gdb lilypond
GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lilypond...Reading symbols from 
/usr/lib64/debug/usr/bin/lilypond.debug...done.
done.
(gdb) run reger.ly
Starting program: /usr/bin/lilypond reger.ly
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
GNU LilyPond 2.18.2
Processing `reger.ly'
Parsing...
Interpreting music...[8][16][24][32][40][48][56]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Program received signal SIGSEGV, Segmentation fault.
Page_layout_problem::find_system_offsets (this=this@entry=0x7fff97a0) at 
page-layout-problem.cc:839
839 page-layout-problem.cc: No such file or directory.
(gdb) bt
#0  Page_layout_problem::find_system_offsets (this=this@entry=0x7fff97a0) 
at page-layout-problem.cc:839
#1  0x0065b5f7 in Page_layout_problem::fixed_force_solution 
(this=this@entry=0x7fff97a0, force=force@entry=0) at 
page-layout-problem.cc:956
#2  0x005f65fd in Page_breaking::make_pages 
(this=this@entry=0x7fff9de0, lines_per_page=std::vector of length 1, 
capacity 1 = {...}, systems=systems@entry=0x7fffeff3bc10) at 
page-breaking.cc:630
#3  0x005a58dc in Optimal_page_breaking::solve 
(this=this@entry=0x7fff9de0) at optimal-page-breaking.cc:219
#4  0x00458490 in ly_optimal_breaking (pb=) at 
page-breaking-scheme.cc:43
#5  0x0030cc44c27b in scm_dapply (proc=0x745f2a30, arg1=0x7134f4e0, 
args=0x404) at eval.c:4895
#6  0x0057813c in Paper_book::pages (this=this@entry=0xd97e00) at 
paper-book.cc:654
#7  0x005784e2 in Paper_book::output_aux (this=this@entry=0xd97e00, 
output_channel=output_channel@entry=0x73a03340, is_last=is_last@entry=true, 
first_page_number=first_page_number@entry=0x7fffa148, 
first_performance_number=first_performance_number@entry=0x7fffa150) at 
paper-book.cc:162
#8  0x005786bc in Paper_book::output (this=this@entry=0xd97e00, 
output_channel=output_channel@entry=0x73a03340) at paper-book.cc:188
#9  0x0046d2c9 in ly_book_process (book_smob=, 
default_paper=0x7168eab0, default_layout=0x718a6c50, 
output=0x73a03340) at book-scheme.cc:79
#10 0x0030cc44c7bf in scm_dapply (proc=0x73d494f0, arg1=0x746091b0, 
args=0x7134f500, args@entry=0x404) at eval.c:4930
#11 0x0030cc44d309 in deval (x=, env=) at 
eval.c:4378
#12 0x00420eab in ly_eval_scm (form=form@entry=0x71352d40, i=..., 
safe=safe@entry=false, parser=parser@entry=0xd59e20) at parse-scm.cc:182
#13 0x006ad35e in Lily_lexer::eval_scm (this=this@entry=0xd802e0, 
readerdata=readerdata@entry=0x71352d40, hi=..., 
extra_token=extra_token@entry=35 '#') at lexer.ll:1120
#14 0x006c1cf7 in Lily_lexer::eval_scm_token (this=0xd802e0, 
sval=0x71352d40, w=...) at ./include/lily-lexer.hh:59
#15 0x006b5f64 in yyparse (parser=parser@entry=0xd59e20, 
retval=retval@entry=0x7fffc1f8) at parser.yy:434
#16 0x006c1ca7 in Lily_parser::do_yyparse (this=this@entry=0xd59e20) at 
parser.yy:3625
#17 0x005bc8d8 in Lily_parser::parse_file (this=this@entry=0xd59e20, 
init="init.ly", name="reger.ly", out_name="reger") at lily-parser.cc:124
#18 0x005c2f18 in ly_parse_file (name=) at 
lily-parser-scheme.cc:121
#19 0x0030cc44dc40 in deval (x=, x@entry=0x723e0920, 
env=, env@entry=0x7231a1d0) at eval.c:4232
#20 0x0030cc44c867 in scm_dapply (proc=0x7231a300, arg1=, args=0x7231a1d0) at eval.c:5012
#21 0x0030cc4a4cb2 in scm_c_catch (tag

Difficulty to pass a Scheme expression on the command line

2016-02-15 Thread Urs Liska
When I have a file.ly containing

%%% \version "2.19.37" #(use-modules (guile-user))

#(display whatever)


%%%

and run this with
lilypond -e '(define-public whatever 4)' file.ly

I get the error

/home/uliska/blob/software/lilypond/builds/current/out/share/lilypond/current/scm/lily.scm:912:3
<0>: In procedure scm_i_lreadparen in expression (eval-string
(ly:command-line-code)):
/home/uliska/blob/software/lilypond/builds/current/out/share/lilypond/current/scm/lily.scm:912:3
<1>: #:1:25: end of file
Exited with return code 1.

If I pass any other Scheme expression on the command line the error is
the same but with a different character index for the "unknown port".

Am I doing anything wrong here?

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


Re: Segfault when using RemoveEmptyStaves

2016-02-15 Thread Simon Albrecht

On 15.02.2016 23:15, Frank Steinmetzger wrote:

Hello list

I was ponding along with 2.18.2 and all of a sudden, the piece I was typing
didn't build a PDF anymore. As it turns out, lilypund is suffering a
segmentation fault.

I took the file apart and in an hour's search narrowed it down to those 
features:
- RemoveEmptyStaves is enabled
- there is a \break at the end followed by a \bar command

Under those conditions lilypond crashes if I use either lyrics or a dynamics
context. If I comment out either the Dynamics and Lyrics, the PDF compiles.
If all are there, I get the segfault.


Hello Frank,

that seems to be a model bug report. Thank you very much. Interestingly, 
the bug doesn’t occur on my machine – and I’m on 64-bit Linux as well. 
No idea why…


Best, Simon

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


Re: Segfault when using RemoveEmptyStaves

2016-02-15 Thread Noeck
I get a segfault with 2.18.2 (Ubuntu repos) but not with 2.19.21.
Ubuntu 15.10 64bit
If it helps, I can post a stack trace or other information apport gathers.

Joram

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


Re: Difficulty to pass a Scheme expression on the command line

2016-02-15 Thread Andrew Bernard
Works fine for me on 2.19.36 on openSUSELeap 42.1 linux.

Andrew



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


Midi doesn't build correctly from version 2.12

2016-02-15 Thread Luca Danieli
Hi,

I am making some modifications to a old score build originally with lilypond 
2.12.
The same versione with lilypond 2.18 build graphically correctly, with no 
errors, but the midi is very corrupted.

Also, I can build the score only if I comment the line \midi { }

When I add the line \midi { }, the score doesn't build but it exports the midi 
file really quickly instead.

Does someone know any clue I could be directed to?

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


Re: Difficulty to pass a Scheme expression on the command line

2016-02-15 Thread Urs Liska
Thanks.
Somehow this led me on the right track: it didn't work when injected
through Frescobaldi's custom compile dialog. I'll have to look into it,
but on the command line it works.

Best
Urs

Am 16.02.2016 um 01:56 schrieb Andrew Bernard:
> Works fine for me on 2.19.36 on openSUSELeap 42.1 linux.
>
> Andrew
>
>

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


Re: Is there a bug in the way Lilypond handles staccatos?

2016-02-15 Thread David Wright
On Mon 15 Feb 2016 at 14:53:18 (-0500), Devin wrote:
> @Urs, Klaus, and Andrew
> 
> Thank you very much!
> 
> This makes sense now (I guess Lilypond does not need to be a "programming
> language" per se and that is where the confusion is). I will add your replies
> to our Music Blocks discussion thread so that everyone from our team is in the
> loop about this.

No, LilyPond _is_ a programming language. Many programming languages
have syntactic elements such as { } to structure the code into blocks
which are manipulated as a single item (usually a sequence, like notes
(the default in LilyPond), lyrics, markup, or whatever).

The { } characters affect how what lies between them is processed;
they aren't elements of the music itself, but only of the source code.
In the following, they have nothing to do with music at all:

\layout {
  indent = 0
  \context {
\Score
\omit BarNumber
  }
  \context {
\GrandStaff
\numericTimeSignature
systemStartDelimiter = #'SystemStartBracket
\override SystemStartBracket.collapse-height = #1
\remove Span_bar_engraver
\accepts Lyrics
  }
}

However, the ( [ ) ] are semantic elements. They denote slurs and
beams which are printed in the music. Because slurs and beams have
a starting and a finishing point, they _happen_ to be paired, but that
pairing is a property of the printed music, not the LilyPond language.

Try removing a brace: you'll get an error straight away while parsing
the code. Try removing a slur: the code will parse perfectly, but
you'll get an error later on while interpreting the music.

The ) in
a'4( b'4 \tuplet 3/2 { a'8  b'8  c'8  } )
is meaningless because you can't attach one slur to a sequence
of three notes. You have to pick which note terminates the slur:
a'4( b'4) \tuplet 3/2 { a'8  b'8  c'8  } )
a'4( b'4  \tuplet 3/2 { a'8) b'8  c'8  } )
a'4( b'4  \tuplet 3/2 { a'8  b'8) c'8  } )
a'4( b'4  \tuplet 3/2 { a'8  b'8  c'8) } )
a'4( b'4  \tuplet 3/2 { a'8  b'8  c'8  } x) where x might be any number of 
notes.

Whether to attach the [ ( ] ) elements to the notes (as I have done
above) is a matter of taste. However, whitespace round the " { "
and " } " is most certainly advised (because occasionally essential).

Cheers,
David.

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


Re: Midi doesn't build correctly from version 2.12

2016-02-15 Thread David Wright
On Tue 16 Feb 2016 at 02:05:16 (+0100), Luca Danieli wrote:
> Hi,
> 
> I am making some modifications to a old score build originally with lilypond
> 2.12.
> The same versione with lilypond 2.18 build graphically correctly, with no
> errors, but the midi is very corrupted.
> 
> Also, I can build the score only if I comment the line \midi { }
> 
> When I add the line \midi { }, the score doesn't build but it exports the midi
> file really quickly instead.
> 
> Does someone know any clue I could be directed to?

Short answer: convert-ly

Longer answer: that's all too vague. Terms like "corrupted", "doesn't
build", "really quickly"; they all mean nothing to me.

Cheers,
David.

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


note head / stem mismatch with LV Golden Age

2016-02-15 Thread Flaming Hakama by Elaine
Hi,

I was wondering if anyone had a diagnosis and/or treatment for this problem.

I am using the LV Golden Age font for a chart that has both rhythmic
notation (using slash note heads) and pitched notation.

When I specify the slash note head, the stems no longer attach to the
notes.

Below is a minimal example.

Please let me know if you have any clues.


\version "2.19.15"

#(define-public (add-notation-font fontnode name music-str brace-str
factor) (begin (add-music-fonts fontnode name music-str brace-str
feta-design-size-mapping factor) fontnode))
\paper { #(define notation-fonts (list (list 'lv-goldenage "lv-goldenage"
"lv-goldenage") )) #(begin (for-each (lambda (tup) (add-notation-font fonts
(car tup) (cadr tup) (caddr tup) (/ staff-height pt 20))) notation-fonts)) }

clave = \relative c' { b4 r8 b r4 b | r4 b b r | }
claveTumbao = {
\override NoteHead.style = #'slash
\override NoteHead.font-size = #-4
\clave \clave
}

%  Default note heads works fine.
\score {
\new Staff {
\clef bass
\override Score.RehearsalMark.self-alignment-X = #LEFT
\mark \markup "Default note heads"
\stemUp \claveTumbao
}
}

%  LV Goldenage note heads don't match up with stems.
%  Is there a way to lengthen the stems, or move them to the left?
%  or move the note heads to the right?
\score {
\new Staff {
\clef bass
\override Score.RehearsalMark.self-alignment-X = #LEFT
\mark \markup "Golden Age note heads"
\stemUp \claveTumbao
}
\layout {
\override NoteHead #'font-family = #'lv-goldenage
}
}



Thanks,

David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Midi doesn't build correctly from version 2.12

2016-02-15 Thread Helge Kruse
Hi,

When you have a \score block without a \layout inside you still get a
layout. But when you add \midi you get the MIDI instead. That can be faster
than generating the PDF.

With your description the behavior isn't wrong for me.

I would try to add \layout and \midi in the \score.

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


Re: Is there a bug in the way Lilypond handles staccatos?

2016-02-15 Thread Helge Kruse
Maybe I'm wrong. But how are slurs related to stccatos?

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


There is no key signature in the generated Midi file ?

2016-02-15 Thread Esko Teerilahti
Hi !

I noticed that there is no key signature in the midi file. When imported to 
other music software (e.g. Finale Songwriter), it assumes the music to be in C 
major.
In the case, for example, my piece is in A Major,  key signature and 
accidentals are not correct in the chart (in Finale).
However, the music plays ok.

So, is this a bug, missing feature, or are there some properties that can be 
set in the lilypond file ?
(like there is e.g  midiInstrument)

Using version 2.18.2

BR
Esko

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


Re: There is no key signature in the generated Midi file ?

2016-02-15 Thread Pierre Perol-Schneider
Hi Esko,

See: http://www.lilypond.org/doc/v2.18/Documentation/usage/invoking-midi2ly

HTH.

Cheers,
Pierre

2016-02-16 7:38 GMT+01:00 Esko Teerilahti :

> Hi !
>
> I noticed that there is no key signature in the midi file. When imported
> to other music software (e.g. Finale Songwriter), it assumes the music to
> be in C major.
> In the case, for example, my piece is in A Major,  key signature and
> accidentals are not correct in the chart (in Finale).
> However, the music plays ok.
>
> So, is this a bug, missing feature, or are there some properties that can
> be set in the lilypond file ?
> (like there is e.g  midiInstrument)
>
> Using version 2.18.2
>
> BR
> Esko
>
>
> ___
> 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: There is no key signature in the generated Midi file ?

2016-02-15 Thread Urs Liska


Am 16.02.2016 um 08:43 schrieb Pierre Perol-Schneider:
> Hi Esko,
>
> See:
> http://www.lilypond.org/doc/v2.18/Documentation/usage/invoking-midi2ly

IIUC Esko *produces* MIDI files with LilyPond, it's not about converting
MIDI *to* LilyPond.

Urs

>
> HTH.
>
> Cheers,
> Pierre
>
> 2016-02-16 7:38 GMT+01:00 Esko Teerilahti  >:
>
> Hi !
>
> I noticed that there is no key signature in the midi file. When
> imported to other music software (e.g. Finale Songwriter), it
> assumes the music to be in C major.
> In the case, for example, my piece is in A Major,  key signature
> and accidentals are not correct in the chart (in Finale).
> However, the music plays ok.
>
> So, is this a bug, missing feature, or are there some properties
> that can be set in the lilypond file ?
> (like there is e.g  midiInstrument)
>
> Using version 2.18.2
>
> BR
> Esko
>
>
> ___
> 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: There is no key signature in the generated Midi file ?

2016-02-15 Thread Pierre Perol-Schneider
Sorry, read to fast.


2016-02-16 8:48 GMT+01:00 Urs Liska :

>
>
> Am 16.02.2016 um 08:43 schrieb Pierre Perol-Schneider:
>
> Hi Esko,
>
> See:
> http://www.lilypond.org/doc/v2.18/Documentation/usage/invoking-midi2ly
>
>
> IIUC Esko *produces* MIDI files with LilyPond, it's not about converting
> MIDI *to* LilyPond.
>
> Urs
>
>
> HTH.
>
> Cheers,
> Pierre
>
> 2016-02-16 7:38 GMT+01:00 Esko Teerilahti :
>
>> Hi !
>>
>> I noticed that there is no key signature in the midi file. When imported
>> to other music software (e.g. Finale Songwriter), it assumes the music to
>> be in C major.
>> In the case, for example, my piece is in A Major,  key signature and
>> accidentals are not correct in the chart (in Finale).
>> However, the music plays ok.
>>
>> So, is this a bug, missing feature, or are there some properties that can
>> be set in the lilypond file ?
>> (like there is e.g  midiInstrument)
>>
>> Using version 2.18.2
>>
>> BR
>> Esko
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
>
> ___
> lilypond-user mailing 
> listlilypond-user@gnu.orghttps://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