Re: fingering position

2018-08-09 Thread Gianmaria Lari
Thank you David and Noeck, your solutions work. I will also check the
documentation about staff-padding and avoid-slur as soon as the lilypond
site will work again.

Thanks, g.

On Fri, 10 Aug 2018 at 00:22, Noeck  wrote:

> Dear Gianmaria,
>
> here are two more options:
>
>
> \fixed c' {
>   \once \override StringNumber.staff-padding = ##f
>   a8\3( b d'-5
>   \once \override StringNumber.extra-offset = #'(0 . -0.2)
>   c'\4 b a) r4
> }
>
> \fixed c' { a8\3_( b d'-5 c'\4 b a) r4 }
>
>
> Cheers,
> Joram
>
> ___
> 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: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread Karlin High

On 8/9/2018 5:47 PM, David Nalesnik wrote:

This is a public forum.


Great de-escalation! Working through issues with personal relations is 
best done off-list.

--
Karlin High
Missouri, USA

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread David Nalesnik
This is a public forum.
On Thu, Aug 9, 2018 at 5:43 PM  wrote:
>
> Narcissism  unfortunately never shows anything else in tbe mirror. This
> post proves it. Go read all posts in chronological order and then tell
> me who started the vitriol. Your little stabs and bites for no reason
> just to get a reaction. Who do you think you are. Well now you get the
> reaction.
>
> Everyone on this particular post acted civil except you, so dont give me
> the yet again red lmeat lure. I had zero issues with any of the posters
> on this thread..go read.
>
> Do me a favor, if i post a new thread dont post in it. Neither will i
> post in yours. I promise that would go a long way at keeping things
> civil. Since you asked to keep things civil, i cannot agree more. Just
> stay away from me. I  dont need your code and your attached vitriol.
>
> On 2018-08-09 17:48, David Nalesnik wrote:
> > On Thu, Aug 9, 2018 at 4:19 PM  wrote:
> >>
> >> Congratulations,
> >> Whatever.
> >> Good luck.
> >
> > So much venom about drawing circles with slashes through them.
> >
> > You have made this the most unpleasant exchange I have ever taken part
> > in on this list.   I would invite you to be more civil in your future
> > interactions with this community.
> >
> > Thanks,
> > David Nalesnik
>
> ___
> 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: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht
Narcissism  unfortunately never shows anything else in tbe mirror. This 
post proves it. Go read all posts in chronological order and then tell 
me who started the vitriol. Your little stabs and bites for no reason 
just to get a reaction. Who do you think you are. Well now you get the 
reaction.


Everyone on this particular post acted civil except you, so dont give me 
the yet again red lmeat lure. I had zero issues with any of the posters 
on this thread..go read.


Do me a favor, if i post a new thread dont post in it. Neither will i 
post in yours. I promise that would go a long way at keeping things 
civil. Since you asked to keep things civil, i cannot agree more. Just 
stay away from me. I  dont need your code and your attached vitriol.


On 2018-08-09 17:48, David Nalesnik wrote:

On Thu, Aug 9, 2018 at 4:19 PM  wrote:


Congratulations,
Whatever.
Good luck.


So much venom about drawing circles with slashes through them.

You have made this the most unpleasant exchange I have ever taken part
in on this list.   I would invite you to be more civil in your future
interactions with this community.

Thanks,
David Nalesnik


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


Re: Piano, voices and stem directions

2018-08-09 Thread Noeck
Hi Torsten,

thanks for your comprehensive answer which makes perfectly sense to me.

From a player’s perspective, I found it interesting to see the 'voices'
alternating, when I transcribed the no. 5 of the same opus, and to make
the subtle hints more prominent by using colors (sometimes I reused
existing voices):

http://joramberger.de/files/rach-prelude23-05-colors.pdf

Best,
Joram

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


Re: fingering position

2018-08-09 Thread Noeck
Dear Gianmaria,

here are two more options:


\fixed c' {
  \once \override StringNumber.staff-padding = ##f
  a8\3( b d'-5
  \once \override StringNumber.extra-offset = #'(0 . -0.2)
  c'\4 b a) r4
}

\fixed c' { a8\3_( b d'-5 c'\4 b a) r4 }


Cheers,
Joram

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread David Nalesnik
On Thu, Aug 9, 2018 at 4:19 PM  wrote:
>
> Congratulations,
> Whatever.
> Good luck.

So much venom about drawing circles with slashes through them.

You have made this the most unpleasant exchange I have ever taken part
in on this list.   I would invite you to be more civil in your future
interactions with this community.

Thanks,
David Nalesnik

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

Congratulations,
Whatever.
Good luck.


On 2018-08-09 17:09, David Nalesnik wrote:

On Thu, Aug 9, 2018 at 2:14 PM  wrote:


On 2018-08-09 14:32, ma...@masonhock.com wrote:

> Neither of the snippets in this thread are under the GPL. Lilypond
> itself is GPLv3, but LSR snippets are public domain and David's code
> is MIT. If you are worried that you might be using the latter in an
> objectional way, David N is the one you should talk to, although as
> David K pointed out you are unlikely to be sued over copyright here.
>
> Also, not that it matters in this context, I don't think that the GPL
> requires you to return your modifications to the original author. I
> suggest reading more[2][3][4] about this license.
>

As mentioned I dont care about David's code, I will start from scratch
from the snippet.
I appreciate the link it is very helpful thank you.
I have to taylor it my way and extend it as needed.
You are right, the snippet is public domain and I rather follow that
path than getting involved in mysterious MIT licenses.


The snippet, incidentally, is by me.

All the best,
David


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


Re: fingering position

2018-08-09 Thread David Kastrup
Gianmaria Lari  writes:

> This code 
>
>  \version "2.19.82"
>  \fixed c' {  a8\3( b d'-5 c'\4 b a) r4}
>
> generate this
>
> image.png
>
> I don't like having some fingering above the slur (3) and some below it (5 & 
> 4). How
> can I change this?

\version "2.19.82"

\new Staff \with { \override Fingering.avoid-slur = #'outside
   \override StringNumber.avoid-slur = #'outside
 }
\fixed c' {a8\3( b d'-5 c'\4 b a) r4}

Which looks worse.

-- 
David Kastrup

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread David Nalesnik
On Thu, Aug 9, 2018 at 2:14 PM  wrote:
>
> On 2018-08-09 14:32, ma...@masonhock.com wrote:
>
> > Neither of the snippets in this thread are under the GPL. Lilypond
> > itself is GPLv3, but LSR snippets are public domain and David's code
> > is MIT. If you are worried that you might be using the latter in an
> > objectional way, David N is the one you should talk to, although as
> > David K pointed out you are unlikely to be sued over copyright here.
> >
> > Also, not that it matters in this context, I don't think that the GPL
> > requires you to return your modifications to the original author. I
> > suggest reading more[2][3][4] about this license.
> >
>
> As mentioned I dont care about David's code, I will start from scratch
> from the snippet.
> I appreciate the link it is very helpful thank you.
> I have to taylor it my way and extend it as needed.
> You are right, the snippet is public domain and I rather follow that
> path than getting involved in mysterious MIT licenses.

The snippet, incidentally, is by me.

All the best,
David

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


lyLuaTeX issues

2018-08-09 Thread liebrecht
I would appreciate if someone who understands the luatex compiler and 
lyluatex well to help with this.


It is clear that lyluatex is the future. It is already solving hordes of 
problems for me typesetiing music documents.
Unfortunately there is still a lot of work to do to get all or most 
Lilypond code to work with it.


As an example, a very helpful gent on this group "Mason" directed me to 
the public domain site  "http://lsr.di.unimi.it/LSR/html/whatsthis.html; 
which contains great typesetting solutions.


I first check that the code I want to use there runs in Lilypond and it 
does correctly.


However when I copy the code over into
\begin{lilypond}
\end{lilypond}
and compile with lyluatex they about all choke the luatex compiler.
I am suspicipous of my TeXLive installation though, so if it compiles 
for you, it must be that.

TeXLive is really a step backwards in my opinion.

Anyway,

I attach an example file.
You can check that the lilypond section compiles correctly with 
lilypond.

It however fails with lyLuaTeX

Error:
(lyluatex) LilyPond failed to compile the score.
(lyluatex) If you need more information
(lyluatex) than the above message,
(lyluatex) please retry with option debug=true.
(lyluatex)
(lyluatex) on input line 238

stack traceback:
[C]: in function 'error'
/usr/share/texlive/texmf-dist/tex/latex/base/ltluatex.lua:109: 
in function 
sr/share/texlive/texmf-dist/tex/latex/base/ltluatex.lua:108>
(...tail calls...)
./lyluatex.lua:633: in function 'check_compilation'
./lyluatex.lua:1171: in function 'write_latex'
./lyluatex.lua:1105: in function 'process'
[\directlua]:1: in main chunk.
\ly@compilescore ...directlua {ly.score:process()}

l.238 \end{lilypond}\documentclass{article}
\usepackage{lyluatex}
\begin{document}
hello

\begin{lilypond}

\version "2.18.0"

\header {
  texidoc = "
This function is designed to simplify the creation of Roman numerals
for harmonic analysis.

Syntax: @code{\\markup \\rN @{ ...list of symbols... @}}

Enter a Roman numeral as a list of symbols, with each element separated
by spaces.  List symbols in order of appearance, omitting those not
needed: Roman numeral; letter for a quality requiring a special
indicator (i.e., diminished, half-diminished, etc.); top (or only)
number of inversion symbol; bottom number; \"/\" (if secondary
function); Roman numeral.

Preceding either Roman numeral with \"s\" or \"b\" or \"n\" will attach
a sharp, flat, or natural: for example, \"svi\" or \"bVII\" (quotation
marks not needed).  Note names are possible: Cs, Dn, Eb.

Use the following symbols for qualities (if a superscript indication is
needed): \"o\" for diminished, \"h\" for half-diminished, \"+\" for
augmented, \"b\" for flat.  You may use any combination of \"M\" and
\"m\" here: M, mm, MM7, Mm, Mmm9, etc.  Added notes are also possible:
add6, add9, etc.

The analysis can be created in a @code{Lyrics} context. 

"
  doctitle = "Roman numerals for analysis"
}
%% http://lsr.di.unimi.it/LSR/Item?id=710
%% see also http://lilypond.org/doc/v2.18/Documentation/notation/formatting-text


%% A function to create Roman numerals for harmonic analysis.
%% 
%% Syntax: \markup \rN { ...list of symbols... }
%%
%% List symbols in this order (as needed): Roman numeral, quality, top number of 
%% inversion symbol, bottom number, "/" (if secondary function), Roman numeral. 
%% 
%% "bVII" creates flat VII; "svi" creates sharp vi; "Ab" creates A-flat; "As" A-sharp 
%% 
%% Qualities: use "o" for diminished, "h" for half-diminished, 
%% "+" for augmented, "b" for flat.  Use any combination of "M" and "m": 
%% M, m, MM7, Mm, mm, Mmm9, etc. Added-note chords: add, add6, etc. 
 
 
#(define rN-size -1) %% change to vary size of numerals 
 
#(define scaling (magstep rN-size)) 
 
%%% change constant to adjust distance between characters 
#(define X-separation (* scaling 0.2))  
 
%%% symmetrical distance between inversion figures and midline 
#(define inversion-Y-separation (* scaling 0.1))  
 
#(define dim 
   (markup 
#:override `(thickness . ,scaling) 
#:draw-circle (* scaling 0.25) (* scaling 0.1) #f)) 
 
#(define half-dim 
   (markup 
#:override `(thickness . ,scaling) 
#:combine 
(#:combine dim  
   #:draw-line `(,(* scaling -0.3) . ,(* scaling -0.3))) 
#:draw-line `(,(* scaling 0.3) . ,(* scaling 0.3 
 
#(define augmented 
   (markup 
#:override `(thickness . ,scaling) 
#:combine 
(#:combine #:draw-line `(,(* scaling -0.25) . 0)  
   #:draw-line `(0 . ,(* scaling -0.25))) 
(#:combine #:draw-line `(,(* scaling 0.25) . 0)  
   #:draw-line `(0 . ,(* scaling 0.25) 
 
#(define (acc? str num) (string? number?) 
   (eq? num (string-index 

Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht



Public domain works for me thanks.




On 2018-08-09 15:42, ma...@masonhock.com wrote:

On 08/09, liebre...@grossmann-venter.com wrote:
You are right, the snippet is public domain and I rather follow that 
path

than getting involved in mysterious MIT licenses.


There's nothing particularly mysterious about the license. It is not a
copyleft license, so unlike the GPL it does not ensure that the code
will remain free when redistributed, but it is still a
freedom-respecting license.

If anything, "public domain" is unclear (when referring to
copyrightable works whose copyright has not expired). Copyright is
automatic in countries that signed the Berne Convention. Different
countries have different processes for relinquishing one's copyright.
In some countries it's not possible at all. "Public domain" could
informally mean that the author simply does not intend to enforce
their copyright, or it could mean that they have formally given up
their copyright in one or more countries, which is not useful
information unless we know which ones.


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


fingering position

2018-08-09 Thread Gianmaria Lari
This code

\version "2.19.82"
\fixed c' {  a8\3( b d'-5 c'\4 b a) r4}


generate this

[image: image.png]

I don't like having some fingering above the slur (3) and some below it (5
& 4). How can I change this?

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread mason
On 08/09, liebre...@grossmann-venter.com wrote:
> You are right, the snippet is public domain and I rather follow that path
> than getting involved in mysterious MIT licenses.

There's nothing particularly mysterious about the license. It is not a copyleft 
license, so unlike the GPL it does not ensure that the code will remain free 
when redistributed, but it is still a freedom-respecting license.

If anything, "public domain" is unclear (when referring to copyrightable works 
whose copyright has not expired). Copyright is automatic in countries that 
signed the Berne Convention. Different countries have different processes for 
relinquishing one's copyright. In some countries it's not possible at all. 
"Public domain" could informally mean that the author simply does not intend to 
enforce their copyright, or it could mean that they have formally given up 
their copyright in one or more countries, which is not useful information 
unless we know which ones.


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


Re: Compile PDF, PNG and SVG in one run?

2018-08-09 Thread Bernhard Kleine
Hi Urs,

In never used lilypond to generate SVG files, always pdf. But I am using
SVG for other purposes. If you have an svg-file, you might convert it
automatically to pdf and png. For this reason I would concentrate on svg
and use other programs (command line tools) to convert them to pdf and png.

My 5cts

Bernhard


Am 07.08.2018 um 17:49 schrieb Urs Liska:
> Hi,
>
> I have to produce multiple files from one .ly file, and since it isn't
> actually one but >500 files I would like to make it automatic. Of
> course I know how to achieve this with a wrapper script, but I'd
> prefer to find a way with only one compilation (i.e. parsing) per file.
>
> I know I can produce PDF and PNG by using --pdf --png on the command
> line but it seems impossible to have svg too.
>
> Is there anything I've overlooked? Would it be possible to somehow
> store the parsed \score block and use something like ly:book-process
> to produce different file formats?
>
> Thanks
> Urs
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

Thanks that confirms it is the one I already found.

I will get on it.

I guess as initial poster this problem is solved.

Thanks to all  who responded.


On 2018-08-09 14:52, ma...@masonhock.com wrote:

On 08/09, liebre...@grossmann-venter.com wrote:

If you still remember, what is the name of the snippet?


The name is "Roman numerals for analysis" and this[1] is the link,
although I can't promise that it will work any better with lyluatex.

Mason

[1] http://lsr.di.unimi.it/LSR/Snippet?id=710


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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

Mason,

grep gave me this,
I guess that would be it thanks.

Unless you used something else let me know.

./lsr-snippets-all-2018-08-09/scheme-language/roman-numerals-for-analysis.ly

Anyway, thanks for the kind help, I think I am on my way.



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


Re: Piano, voices and stem directions

2018-08-09 Thread Torsten Hämmerle
Noeck wrote
> Probably, that also means that using separate voices is the appropriate
> syntax, isn’t it? Can I make the slur aware of other voices’ notes?

Hi Joram,

Sometimes, decisions whether to use separate voices, temporary parallel
contexts, etc., are often more of a technical nature (coding-wise).

But in this case, at least that's my personal opinion, I think we have to
distinguish between the musical idea/content (the "illusion" created by the
pianist) and how one can actually play all this with only two hands (and the
sustain pedal).
I'd see the musical line (the semiquavers, even with a phrasing slur) as one
voice and therefore code it as one voice. The stem directions, to me, are
mere hints for the player (very valuable hints, though).

Rachmaninov managed to incorporate the intended rapid transitions between
the two hands without having to clutter the music with m.g./m.d. remarks
(main gauche/left hand, main droite/right hand) and he even hints about
pedaling without clumsy \sustainOn/Off symbols.
Pedaling is very delicate there, anyway, sometimes one might even use
half-pedaling (not just on/off).

Just using \stemUp and \stemDown seems appropriate to me, because it's one
single voice (just being divided up into two hands for physiological
reasons) and the dynamics stay where they are, it's easier to start and end
phrasing slurs, …

And, last but not least: these "encrypted playing instructions" are, just
like fingerings in general, not carved in stone and hardly justify a strict
separation of voices.
Just look at the last two down-stemmed semiquavers in the measure: Some
(most?) play them using the right hand, even if their stems are down.
Later on, I'd still use a single voice that changes staves. 
A single voice for "the line" seems most natural to me. But opinions may
differ, of course.

All the best,
Torsten



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

On 2018-08-09 14:32, ma...@masonhock.com wrote:


Neither of the snippets in this thread are under the GPL. Lilypond
itself is GPLv3, but LSR snippets are public domain and David's code
is MIT. If you are worried that you might be using the latter in an
objectional way, David N is the one you should talk to, although as
David K pointed out you are unlikely to be sued over copyright here.

Also, not that it matters in this context, I don't think that the GPL
requires you to return your modifications to the original author. I
suggest reading more[2][3][4] about this license.



As mentioned I dont care about David's code, I will start from scratch 
from the snippet.

I appreciate the link it is very helpful thank you.
I have to taylor it my way and extend it as needed.
You are right, the snippet is public domain and I rather follow that 
path than getting involved in mysterious MIT licenses.


So we dont have to discuss that option anymore. I dont want to go there 
and will do it myself.


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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread David Kastrup
ma...@masonhock.com writes:

> On 08/09, liebre...@grossmann-venter.com wrote:
>
> Also, not that it matters in this context, I don't think that the GPL
> requires you to return your modifications to the original author.

Definitely not.  For one thing, copyright allows arbitrary private use
of legally obtained copies (copyright maximalists don't want you to
believe that).  The GPL comes into play only for redistribution.  It may
be that the GPL has provisions for that in order to cover weird
jurisdictions and/or clarify matters, but usually that is already
covered by copyright law as such.

-- 
David Kastrup

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread mason
On 08/09, liebre...@grossmann-venter.com wrote:
> If you still remember, what is the name of the snippet?

The name is "Roman numerals for analysis" and this[1] is the link, although I 
can't promise that it will work any better with lyluatex.

Mason

[1] http://lsr.di.unimi.it/LSR/Snippet?id=710


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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

On 2018-08-09 14:32, ma...@masonhock.com wrote:

On 08/09, liebre...@grossmann-venter.com wrote:

Mason,
Although, you indicated you dont intend to continue with your code 
which is

a pit, it is what I will have to use in the man time.


Are you referring to the first link I shared? That was to a snippet
from the LSR. See here[1] for more information on what the LSR is. I
don't know who the author of that snippet is, but it was not me.


Ok I thought you did it sorry.
If you still remember, what is the name of the snippet? I downloaded the 
archive, but cannot see it on 3rd glance. I will find it of course, but 
if you know off the top of your head it would save some time.




I suspect that it would be easier to debug
roman_numeral_analysis_tool.ily until it works with lyluatex than to
start from scratch. Either way, I'd be interested to see what you come
up with.


Nope I learnt the hard way with programming, that if I run into trouble 
with someone else or its program it is much much better time management 
just to do it yourself from scratch.


"If you want to do it right you have to do it yourself"  proved very 
profitable for me timewise.





Good luck,

Mason


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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread mason
On 08/09, liebre...@grossmann-venter.com wrote:
> Mason,
> Although, you indicated you dont intend to continue with your code which is
> a pit, it is what I will have to use in the man time.

Are you referring to the first link I shared? That was to a snippet from the 
LSR. See here[1] for more information on what the LSR is. I don't know who the 
author of that snippet is, but it was not me. David's code appears to be an 
extension of that snippet, so while I have gotten a lot of use out of the 
original snippet I will use his superior one instead from now on.

> I understand
> the GNU license, but I ask anyway. I might want to extend your code to what
> I need rather than to write a completely new routine and I will post back
> the changes to you as the license require if I use your code.

Neither of the snippets in this thread are under the GPL. Lilypond itself is 
GPLv3, but LSR snippets are public domain and David's code is MIT. If you are 
worried that you might be using the latter in an objectional way, David N is 
the one you should talk to, although as David K pointed out you are unlikely to 
be sued over copyright here.

Also, not that it matters in this context, I don't think that the GPL requires 
you to return your modifications to the original author. I suggest reading 
more[2][3][4] about this license.

> "roman_numeral_analysis_tool.ily" clashes with lyluatex and does not
> compile.

I've never used lyluatex (though I plan to eventually) so I'm afraid that I 
can't help you with this.

> I will definitely not be using "roman_numeral_analysis_tool.ily" as it does
> not work with lyluatex which is a prerequisite for me.
> I will post a file showing that for David's perusal as it doesnt solve my
> problem at all and I will rather write my own.

I suspect that it would be easier to debug roman_numeral_analysis_tool.ily 
until it works with lyluatex than to start from scratch. Either way, I'd be 
interested to see what you come up with.

Good luck,

Mason

[1] http://lsr.di.unimi.it/LSR/html/whatsthis.html
[2] https://www.gnu.org/licenses/quick-guide-gplv3.html 
[3] https://www.gnu.org/philosophy/pragmatic.html
[4] https://www.gnu.org/licenses/quick-guide-gplv3.html


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


Re: creating new accidental styles

2018-08-09 Thread Caio Barros
Copying the list

Em qui, 9 de ago de 2018 às 12:31, Simon Albrecht 
escreveu:

> Hello Caio,
>
> I have been through this whole thing and created an include file for
> baroque-style accidentals, which may serve as a model. Unfortunately, I
> can't attach it, since I'm on the road. But I already sent it to the list
> in a similar discussion, so it should be possible to find it. It's called
> accidental-style-baroque.ily.
>
> HTH, Simon
>

Found it in the dev list. Thanks a lot, man. Let me see if I can do what I
need now. Here is the link to the archive, if someone in the future needs
to find it again:
https://lists.gnu.org/archive/html/lilypond-devel/2016-05/msg00119.html
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Piano, voices and stem directions

2018-08-09 Thread Noeck
Thanks, Torsten, for confirming that.

Probably, that also means that using separate voices is the appropriate
syntax, isn’t it? Can I make the slur aware of other voices’ notes?

Best,
Joram

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


Re: Software playing lilypond's music sheets: releasing appimages

2018-08-09 Thread juppes
Hi Sam,

Sounds like a very good idea! I downloaded the dumper and the player plus
the files, but the player does not play them giving a message like 'Wrong
file format (wrong header). And the dumper does not do anything when I open
it, although it has been made executable.
I have Linux Mint 64bit Cinnamon on my machine.

Hope you can help me

All best 

Emil



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

David,

FYI
"roman_numeral_analysis_tool.ily"
does not work with lyluatex.

I test all includes against the headers of the lyluatex manual as the 
headers contains everything I intend to use. So if an include doesnt 
work with lyluatex manual headers I dont use it.


Attached is a file you can execute with

$] lualatex --shell-escape test2.tex

If you uncomment the include "roman_numeral_analysis_tool.ily" it kills 
the lilypond call.

If you comment it, lilypond works fine.

It happens regardless if you do the include in the lyluatex headers or 
in the lilypond call.


Anyway, I dont need to hear back on this as I wont be using it, but I 
just thought that you want to know if your program doesnt work under 
certain conditions.


\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[]{lyluatexmanual}
%begin LRV-Added packages
%\usepackage{amsmath}
%end LRV-Added packages
\usepackage{tikz}
\usepackage{lscape}%Landscape printing between /begin{landscape../end{landscape}
%\usepackage{musixtex}
\usepackage{gensymb}  %for \degree etc
\usepackage{pgfplots} %for cartesion coordinate system
\pgfplotsset{compat=1.8}%ditto
%
\usepackage[]{libertine}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}
  \usepackage{textcomp} % provides euro and other symbols
\else % if luatex or xelatex
  \usepackage{unicode-math}
  \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
\fi
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
}
\usepackage{hyperref}
\hypersetup{
pdfauthor={},
pdfborder={0 0 0},
breaklinks=true}
\urlstyle{same}  % don't use monospace font for urls
\usepackage{color}
\usepackage{fancyvrb}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
% Add ',fontsize=\small' for more characters per line
\newenvironment{Shaded}{}{}
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{#1}}
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{#1}}
\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.53,0.00,0.00}{#1}}
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{#1}}
\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.73,0.40,0.53}{#1}}
\newcommand{\ImportTok}[1]{#1}
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{#1}}}
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{#1}}}
\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{#1}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{#1}}
\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.10,0.09,0.49}{#1}}
\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{#1}}}
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.40,0.40,0.40}{#1}}
\newcommand{\BuiltInTok}[1]{#1}
\newcommand{\ExtensionTok}[1]{#1}
\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.74,0.48,0.00}{#1}}
\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{#1}}
\newcommand{\RegionMarkerTok}[1]{#1}
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{#1
\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
\newcommand{\NormalTok}[1]{#1}
\setlength{\emergencystretch}{3em}  % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{0}
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi

% set 

Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

David,

FYI
"roman_numeral_analysis_tool.ily"
does not work with lyluatex.

I test all includes against the headers of the lyluatex manual as the 
headers contains everything I intend to use. So if an include doesnt 
work with lyluatex manual headers I dont use it.


Attached is a file you can execute with

$] lualatex --shell-escape test2.tex

If you uncomment the include "roman_numeral_analysis_tool.ily" it kills 
the lilypond call.

If you comment it, lilypond works fine.

It happens regardless if you do the include in the lyluatex headers or 
in the lilypond call.


Anyway, I dont need to hear back on this as I wont be using it, but I 
just thought that you want to know if your program doesnt work under 
certain conditions.



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


Re: Lilypond & Halfdiminished/Diminished symbols.

2018-08-09 Thread liebrecht

This post is directed to Mason & Pierre Schneider

Pierre, thank you for the following code.
It was a great help to write a routine to do things the way I want it to 
display.
I am a good programmer and decades long LaTeX user but not a TeX 
programmer, so your example helped me a lot to understand how this 
should be approached. It does basically what I want.


\version "2.19.82"

\layout {
  \context {
\Staff
\omit Clef
\omit TimeSignature
  }
}

{
  s2^\markup {
\combine \draw-circle #.8 #.2 ##f
\translate #'(-.75 . -.75)
\override #'(thickness . 2)
\draw-line #'(1.5 . 1.5)
  }
  s^\markup\concat\vcenter { \teeny\flat "7" }
  \bar ""
}


Mason,
Although, you indicated you dont intend to continue with your code which 
is a pit, it is what I will have to use in the man time. I looked 
through my mails and did not see that you provided a link to your code. 
I understand the GNU license, but I ask anyway. I might want to extend 
your code to what I need rather than to write a completely new routine 
and I will post back the changes to you as the license require if I use 
your code.


I primarily use lyluatex and David's stylesheet 
"roman_numeral_analysis_tool.ily" clashes with lyluatex and does not 
compile. It seems there might be an &$& escape arising during execution 
which is not predictably interpreted by lyluatex.


I will definitely not be using "roman_numeral_analysis_tool.ily" as it 
does not work with lyluatex which is a prerequisite for me.
I will post a file showing that for David's perusal as it doesnt solve 
my problem at all and I will rather write my own.






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


Re: modern-straight-flag in tempo indication or markup

2018-08-09 Thread Karim Haddad
..OOps sorry here without bold :

\tempo \markup {\general-align #Y #DOWN  \note #"8" #1.5  \normal-text "= 40 
c.a" }

It is not as clean as Thomas' example but it works for me.

Best
And thank you all

K
On Thu, Aug 09, 2018 at 09:35:22AM -0400, lilypond-user-requ...@gnu.org wrote:
 --
> 
> Message: 8
> Date: Thu, 9 Aug 2018 09:35:14 -0400
> From: 
> To: lilypond-user@gnu.org
> Subject: Re: modern-straight-flag in tempo indication or markup
> Message-ID: 
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> On 8/9/2018 8:50 AM, Thomas Morley wrote:
> > 2018-08-09 13:57 GMT+02:00 Karim Haddad :
> >> Hello List,
> >>
> >> Is there a way to have a modern-straight-flag in tempo indication or in a 
> >> \note markup ?
> >> I tried different tweaks,  to get a straight flag for an eight note in a 
> >> tempo indication but it is not happening.
> >>
> >> Even if \override Flag.stencil = #modern-straight-flag is declared in the  
> >> \Score context  it apparently doesn't work for tempo or markup.
> >>
> >> I will be very gratefull for a solution.
> > \override Score.MetronomeMark.flag-style = #'modern-straight-flag
> >
> > HTH,
> >Harm
> >
> 
> If you use the modern flag in the metronome/tempo mark, how can you 
> include the circa markup while preserving the modern as well?
> 
> I can't quite figure out the correct code. Here's what I have so far. 
> Thank you!
> (img attached)
> 
> %%%
> \version "2.19.82"
> \language "english"
> 
> 
> % I'd like to have a modern flag while keeping all of this formatting 
> the same but simply add a "ca" to it.
> \new Staff \with {
>  ? instrumentName = #""
>  ? shortInstrumentName = #""
> }
> \relative c' {
>  ? \override Score.MetronomeMark.flag-style = #'modern-straight-flag
>  ? \tempo Allegro 8 = 120
>  ? c d e f
> 
> 
> }
> 
> % i.e. How can I make the 120 look like the above, instead of the bold 
> 'markup' appearance?
> \relative c' {
>  ? \tempo \markup {
>  ??? \concat {
>  ? \smaller \general-align #Y #DOWN \note #"8" #1
>  ? " = "
>  ? \tiny
>  ?? "ca."
>  ? \hspace #0.25
>  ? "120"
>  ??? }
>  ? }
>  ? c1
>  ? c4 c' c,2
> }

-- 
Karim Haddad


webpage : http://karim.haddad.free.fr

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


Re: modern-straight-flag in tempo indication or markup

2018-08-09 Thread Karim Haddad
Dear Ben,

This is what I use hope it helps :

  \tempo \markup {\general-align #Y #DOWN  \note #"8" #1   "= 40 c.a" }

Best
K


On Thu, Aug 09, 2018 at 09:35:22AM -0400, lilypond-user-requ...@gnu.org wrote:
> 
> --
> 
> Message: 8
> Date: Thu, 9 Aug 2018 09:35:14 -0400
> To: lilypond-user@gnu.org
> Subject: Re: modern-straight-flag in tempo indication or markup
> Message-ID: 
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> On 8/9/2018 8:50 AM, Thomas Morley wrote:
> > 2018-08-09 13:57 GMT+02:00 Karim Haddad :
> >> Hello List,
> >>
> >> Is there a way to have a modern-straight-flag in tempo indication or in a 
> >> \note markup ?
> >> I tried different tweaks,  to get a straight flag for an eight note in a 
> >> tempo indication but it is not happening.
> >>
> >> Even if \override Flag.stencil = #modern-straight-flag is declared in the  
> >> \Score context  it apparently doesn't work for tempo or markup.
> >>
> >> I will be very gratefull for a solution.
> > \override Score.MetronomeMark.flag-style = #'modern-straight-flag
> >
> > HTH,
> >Harm
> >
> 
> If you use the modern flag in the metronome/tempo mark, how can you 
> include the circa markup while preserving the modern as well?
> 
> I can't quite figure out the correct code. Here's what I have so far. 
> Thank you!
> (img attached)
> 
> %%%
> \version "2.19.82"
> \language "english"
> 
> 
> % I'd like to have a modern flag while keeping all of this formatting 
> the same but simply add a "ca" to it.
> \new Staff \with {
>  ? instrumentName = #""
>  ? shortInstrumentName = #""
> }
> \relative c' {
>  ? \override Score.MetronomeMark.flag-style = #'modern-straight-flag
>  ? \tempo Allegro 8 = 120
>  ? c d e f
> 
> 
> }
> 
> % i.e. How can I make the 120 look like the above, instead of the bold 
> 'markup' appearance?
> \relative c' {
>  ? \tempo \markup {
>  ??? \concat {
>  ? \smaller \general-align #Y #DOWN \note #"8" #1
>  ? " = "
>  ? \tiny
>  ?? "ca."
>  ? \hspace #0.25
>  ? "120"
>  ??? }
>  ? }
>  ? c1
>  ? c4 c' c,2
> }


-- 
Karim Haddad

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


Re: modern-straight-flag in tempo indication or markup

2018-08-09 Thread Karim Haddad
Dear Thomas,

Thanx a lot !
Best
K

On Thu, Aug 09, 2018 at 02:50:21PM +0200, Thomas Morley wrote:
> 2018-08-09 13:57 GMT+02:00 Karim Haddad :
> > Hello List,
> >
> > Is there a way to have a modern-straight-flag in tempo indication or in a 
> > \note markup ?
> > I tried different tweaks,  to get a straight flag for an eight note in a 
> > tempo indication but it is not happening.
> >
> > Even if \override Flag.stencil = #modern-straight-flag is declared in the  
> > \Score context  it apparently doesn't work for tempo or markup.
> >
> > I will be very gratefull for a solution.
> 
> \override Score.MetronomeMark.flag-style = #'modern-straight-flag
> 
> HTH,
>   Harm

-- 
Karim Haddad

email   : karim.had...@ircam.fr
webpage : http://karim.haddad.free.fr

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


creating new accidental styles

2018-08-09 Thread Caio Barros
I'm trying to experiment with different accidental styles. So far, I just
want to understand how do I customize them, I installed a new instance of
lilypond 2.19.82 and tried to tinker with the music-functions.scm file
located by default at lilypond/current/scm/

As far as I understand, accidental styles are set in the definition of
accidental-styles (line 1769 of the current version). In this definition,
there is an alist containing each of the accidental styles. The first thing
I tried to do is to change the definition of the "default" style to:

(default #t
  (Staff ,(make-accidental-rule 'same-octave #t)) ;normally it
would be 0 instead of #t
  ())

This would, in principle, change the default behaviour to the same as
"no-reset" style, but when I try to compile a simple music file, say:

\version "2.19.82"

test = \relative c' {
cis d e d |
cis d e d
}

\new Staff \with {
%  \accidentalStyle default %I tried with and without this line
}
{
  \test
}

I see no effect. I thought that lilypond read the definitions in
music-functions.scm every time I ran it. Am I wrong?

My end goal is to create a couple of accidental styles that reflect rules
I've being usoing in some engravings for contemporary music:
- for music that has bar lines:
-- show the accident for each note, except when immediately repeated (like
neo-modern)
-- cancel accidentals no matter how many measures after and (perhaps) no
matter in what octave (i have to experiment with this last one to see if
it's really necessary)
- for music without bar lines:
-- same rules for note cancellation as the last one, but showing
accidentals for each note, even the repeated ones (like forget)

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


Re: modern-straight-flag in tempo indication or markup

2018-08-09 Thread Thomas Morley
2018-08-09 15:35 GMT+02:00 Ben :
> On 8/9/2018 8:50 AM, Thomas Morley wrote:
>
> 2018-08-09 13:57 GMT+02:00 Karim Haddad :
>
> Hello List,
>
> Is there a way to have a modern-straight-flag in tempo indication or in a
> \note markup ?
> I tried different tweaks,  to get a straight flag for an eight note in a
> tempo indication but it is not happening.
>
> Even if \override Flag.stencil = #modern-straight-flag is declared in the
> \Score context  it apparently doesn't work for tempo or markup.
>
> I will be very gratefull for a solution.
>
> \override Score.MetronomeMark.flag-style = #'modern-straight-flag
>
> HTH,
>   Harm
>
>
> If you use the modern flag in the metronome/tempo mark, how can you include
> the circa markup while preserving the modern as well?
>
> I can't quite figure out the correct code. Here's what I have so far. Thank
> you!
> (img attached)
>
> %%%
> \version "2.19.82"
> \language "english"
>
>
> % I'd like to have a modern flag while keeping all of this formatting the
> same but simply add a "ca" to it.
> \new Staff \with {
>   instrumentName = #""
>   shortInstrumentName = #""
> }
> \relative c' {
>   \override Score.MetronomeMark.flag-style = #'modern-straight-flag
>   \tempo Allegro 8 = 120
>   c d e f
>
>
> }
>
> % i.e. How can I make the 120 look like the above, instead of the bold
> 'markup' appearance?
> \relative c' {
>   \tempo \markup {
> \concat {
>   \smaller \general-align #Y #DOWN \note #"8" #1
>   " = "
>   \tiny
>"ca."
>   \hspace #0.25
>   "120"
> }
>   }
>   c1
>   c4 c' c,2
> }
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


\relative c' {
  %% !!
  \override Score.MetronomeMark.flag-style = #'modern-straight-flag
  \tempo \markup {
  %% !!
  \normal-text
\concat {
  \smaller \general-align #Y #DOWN \note #"8" #1
  " = "
  \tiny
   "ca."
  \hspace #0.25
  "120"
}
  }
  c1 c4 c' c,2
}

Also, you may want to have a look at:
http://lsr.di.unimi.it/LSR/Item?id=1008

HTH,
  Harm

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


Re: modern-straight-flag in tempo indication or markup

2018-08-09 Thread Ben

On 8/9/2018 8:50 AM, Thomas Morley wrote:

2018-08-09 13:57 GMT+02:00 Karim Haddad :

Hello List,

Is there a way to have a modern-straight-flag in tempo indication or in a \note 
markup ?
I tried different tweaks,  to get a straight flag for an eight note in a tempo 
indication but it is not happening.

Even if \override Flag.stencil = #modern-straight-flag is declared in the  
\Score context  it apparently doesn't work for tempo or markup.

I will be very gratefull for a solution.

\override Score.MetronomeMark.flag-style = #'modern-straight-flag

HTH,
   Harm



If you use the modern flag in the metronome/tempo mark, how can you 
include the circa markup while preserving the modern as well?


I can't quite figure out the correct code. Here's what I have so far. 
Thank you!

(img attached)

%%%
\version "2.19.82"
\language "english"


% I'd like to have a modern flag while keeping all of this formatting 
the same but simply add a "ca" to it.

\new Staff \with {
  instrumentName = #""
  shortInstrumentName = #""
}
\relative c' {
  \override Score.MetronomeMark.flag-style = #'modern-straight-flag
  \tempo Allegro 8 = 120
  c d e f


}

% i.e. How can I make the 120 look like the above, instead of the bold 
'markup' appearance?

\relative c' {
  \tempo \markup {
    \concat {
  \smaller \general-align #Y #DOWN \note #"8" #1
  " = "
  \tiny
   "ca."
  \hspace #0.25
  "120"
    }
  }
  c1
  c4 c' c,2
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: modern-straight-flag in tempo indication or markup

2018-08-09 Thread Thomas Morley
2018-08-09 13:57 GMT+02:00 Karim Haddad :
> Hello List,
>
> Is there a way to have a modern-straight-flag in tempo indication or in a 
> \note markup ?
> I tried different tweaks,  to get a straight flag for an eight note in a 
> tempo indication but it is not happening.
>
> Even if \override Flag.stencil = #modern-straight-flag is declared in the  
> \Score context  it apparently doesn't work for tempo or markup.
>
> I will be very gratefull for a solution.

\override Score.MetronomeMark.flag-style = #'modern-straight-flag

HTH,
  Harm

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


modern-straight-flag in tempo indication or markup

2018-08-09 Thread Karim Haddad
Hello List,

Is there a way to have a modern-straight-flag in tempo indication or in a \note 
markup ?
I tried different tweaks,  to get a straight flag for an eight note in a tempo 
indication but it is not happening.

Even if \override Flag.stencil = #modern-straight-flag is declared in the  
\Score context  it apparently doesn't work for tempo or markup.

I will be very gratefull for a solution.

Thank you all.
Best


-- 
Karim Haddad


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


Re: Barcheck failure warnings for lyrics in parallel mode

2018-08-09 Thread David Kastrup
"Galen Menzel"  writes:

> On 8 Aug 2018, at 14:10, David Kastrup wrote:
>
>> "Galen Menzel"  writes:
>>
>>> So basically explicit bar markings and lyrics just don’t play
>>> nicely
>>> together?
>>
>> And auto-length lyrics.  If you give the lyric syllables explicit
>> durations and not use \lyricsto/\addlyrics but just set
>> associatedVoice
>> and \lyricmode appropriately, you can write bar checks into the lyrics
>> perfectly well.  Note that bar checks indicate that your lyrics _are_
>> written to match a given rhythm at seminal points, so there is some
>> motivation to either put none of the rhythm into the lyrics (and let
>> them get autotimed using \addlyrics/lyricsto) or put all of it in and
>> use explicit durations.
>
> Ok, that makes sense. Looks like this is just a rough edge, where the
> requirements of auto-length lyrics are in conflict with the
> requirements of parallel notation. I’ll look into explicit duration or
> suppressing the warning.

You could just remove the bar checks from the lyrics selectively, like

lyrics_b = #(map-some-music (music-type-predicate 'bar-check) lyrics_b)

However, that would not get you rid of the warnings because of music
with unequal length.  The warnings are intended for locating problems:
removing them has its own problems.  Have you considered specifying your
lyrics with durations, like \lyricmode { one 2. two 4 } (spaces before
durations are optional)?

-- 
David Kastrup

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