Re: custom markup help

2015-05-24 Thread Damian leGassick

On 23 May 2015, at 13:11, Klaus Blum wrote:

 Hi Damian, 
 
 aah, Nick was faster than me... :-)
 
 The easiest way I've found would be this:
 
 % ---
 \version 2.18.0
 
 #(define-markup-command (sd layout props sdnum) (markup?)
   Put a number with a carat above the note.
   (interpret-markup layout props
 #{\markup {
   \override #'(baseline-skip . 0.5)
   \column { \small {^ #sdnum }}
   }
 #}))
 
 {g^\markup \sd 3}
 % ---
 
 If you dont want to use \markup every time, you also could work like this:
 
 % ---
 \version 2.18.0
 
 sd = #(define-music-function (parser location sdnum)
(markup?)
Put a number with a carat above the note.
#{
  -\markup {
\override #'(baseline-skip . 0.5)
\column { \small {^ #sdnum }}
  }
#})
 
 {g^\sd 3}
 % ---
 
 Cheers, 
 Klaus
 
 
Thanks Klaus

now to combine yours and Nick's version so that I can override the 
baseline-skip set by your music-function

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


Re: custom markup help

2015-05-24 Thread Damian leGassick

On 23 May 2015, at 12:51, Nick Payne wrote:

 On 23/05/2015 21:24, Damian leGassick wrote:
 \version 2.18.0
 
 
 #(define-markup-command (sd layout props sdnum) (markup?)
   #:properties ((baseline-skip 0.5))
   Put a number with a carat above the note.
   (interpret-markup layout props
 #{\markup \override #`(baseline-skip . ,baseline-skip)
   \column { \small {^ #sdnum }}#}))
 
 
 {g^\markup {\sd 3}}
 
 Don't use the name baseline-skip for the baseline-skip value. Change it to 
 something else and it works:
 
 \version 2.18.0
 
 
 #(define-markup-command (sd layout props sdnum) (markup?)
  #:properties ((skip 0.5))
  Put a number with a carat above the note.
  (interpret-markup layout props
#{\markup \override #`(baseline-skip . ,skip)
  \column { \small {^ #sdnum }}#}))
 
 
 {g^\markup {\sd 3}}
 skip.png___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

Thanks Nick

it works, but I don't see why my version doesn't

I though that I was setting a property with a default value rather than 
creating a variable

my assumption is based on the example given at 
http://www.lilypond.org/doc/v2.18/Documentation/extending/new-markup-command-definition
 

#(define-markup-command (double-box layout props text) (markup?)
  #:properties ((inter-box-padding 0.4)
(box-padding 0.6))
  Draw a double box around text.
  (interpret-markup layout props
#{\markup \override #`(box-padding . ,inter-box-padding) \box
  \override #`(box-padding . ,box-padding) \box
  { #text } #}))

\markup \double-box A
\markup \override #'(inter-box-padding . 0.8) \double-box A
\markup \override #'(box-padding . 1.0) \double-box A

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


Re: custom markup help

2015-05-24 Thread Klaus Blum
Hmmm... AFAIK there is no way to use properties like you can do with
define-markup-command. 
Maybe someone with a deeper knowledge than me can chime in here? :)

At least, I found a way to call the function without using the carat:

% ---
\version 2.18.0

sd = #(define-event-function (parser location sdnum)
(markup?)
Put a number with a carat above the note.
#{
  ^\markup {
\override #'(baseline-skip . 0.5)
\column { \small {^ #sdnum }}
  }
#})

{g\sd 3}
% --- 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/custom-markup-help-tp176923p176976.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: slur syntax

2015-05-24 Thread Michael Hendry

 On 23 May 2015, at 23:19, Gianmaria Lari gianmarial...@gmail.com wrote:
 
 Yes! Thank you Peter (and Urs), I think now it's clear 
 
 Lilypond use a postfix syntax. To apply a function 'f' to the note 'a' the
 lilypond syntax is a \f and not viceversa. Because the open parenthese is
 like a function (a function that marks the first item) it must be written as
 for all the other function: after the note.
 
 Of course, everything is possible, and we could make the lilypond parser
 more complex and use the other notation for the slur issue. But this has
 been considered not important :)
 

…and to be consistent, you’d also have to change the way a tilde is used to 
signify a tie, which current connects the note it follows to the note it 
precedes.

Michael

 
 
 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/slur-syntax-tp176928p176957.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: Height of start bar brace

2015-05-24 Thread Pierre Perol-Schneider
Hi Joram,
Hi Nathan,

This seems to work automatically:

\version 2.19.20

\new PianoStaff
  \with {
\override SystemStartBrace.stencil =
  #(lambda (grob)
 (let* ((scale-amount 0.2)
(stil (ly:system-start-delimiter::print grob))
(scaled-stil (ly:stencil-scale stil scale-amount
scale-amount))
(extent (ly:stencil-extent stil Y))
(height (- (cdr extent) (car extent
   (ly:stencil-translate-axis
 scaled-stil
   (* -0.5 (- 1 scale-amount) (+ height 3.5))
 Y)))
  }
  
\new Staff {c'1 }
\new Staff { c'''1 }
  

\new PianoStaff
  \with {
\override SystemStartBrace.stencil =
  #(lambda (grob)
 (let* ((scale-amount 0.5)
(stil (ly:system-start-delimiter::print grob))
(scaled-stil (ly:stencil-scale stil scale-amount
scale-amount))
(extent (ly:stencil-extent stil Y))
(height (- (cdr extent) (car extent
   (ly:stencil-translate-axis
 scaled-stil
   (* -0.5 (- 1 scale-amount) (+ height 3.5))
 Y)))
  }
  
\new Staff { c1 }
\new Staff { c1 }
  

\new PianoStaff
  \with {
\override SystemStartBrace.stencil =
  #(lambda (grob)
 (let* ((scale-amount 0.9)
(stil (ly:system-start-delimiter::print grob))
(scaled-stil (ly:stencil-scale stil scale-amount
scale-amount))
(extent (ly:stencil-extent stil Y))
(height (- (cdr extent) (car extent
   (ly:stencil-translate-axis
 scaled-stil
   (* -0.5 (- 1 scale-amount) (+ height 3.5))
 Y)))
  }
  
\new Staff { c,1 }
\new Staff { c'1 }
  

\new PianoStaff
  \with {
\override SystemStartBrace.stencil =
  #(lambda (grob)
 (let* ((scale-amount 1.5)
(stil (ly:system-start-delimiter::print grob))
(scaled-stil (ly:stencil-scale stil scale-amount
scale-amount))
(extent (ly:stencil-extent stil Y))
(height (- (cdr extent) (car extent
   (ly:stencil-translate-axis
 scaled-stil
   (* -0.5 (- 1 scale-amount) (+ height 3.5))
 Y)))
  }
  
\new Staff { c,,1 }
\new Staff { c''1 }
  

Cheers,
Pierre


2015-04-27 9:26 GMT+02:00 Noeck noeck.marb...@gmx.de:

 Thanks, Nathan, that works.

 ___
 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: opinions?

2015-05-24 Thread Luca Rossetto Casel

Dear Stephen (and all),

Il 19/05/2015 06:04, Stephen MacNeil ha scritto:

Luca

could you post a snippet? I'd be very interested in see the code...
[...]
I posted it on
http://mglessons.com/lilypond/


you're right: I tried to set minimum-lenght to 0.0 in your code, and I 
could actually shorten the slurs... but not enough to avoid the 
collision in the denser parts. Here, I fear only adjusting the control 
points could be of some help.


Cheers,

Luca



--
ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli 
Clicca qui http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f


Sponsor:
Offerta fino al 6 Giugno Bambini gratis formula All Inclusive a euro 41,00 
all'hotel Queen Mary di Cattolica, Ingresso omaggio giornaliero alla Spa
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13463d=24-5

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


Re: slur syntax

2015-05-24 Thread David Kastrup
Gianmaria Lari gianmarial...@gmail.com writes:

 Yes! Thank you Peter (and Urs), I think now it's clear 

 Lilypond use a postfix syntax. To apply a function 'f' to the note 'a' the
 lilypond syntax is a \f and not viceversa. Because the open parenthese is
 like a function (a function that marks the first item) it must be written as
 for all the other function: after the note.

 Of course, everything is possible, and we could make the lilypond parser
 more complex and use the other notation for the slur issue. But this has
 been considered not important :)

No, that's not it.  The parser is flexible enough to support this (or
the reverse) out of the box without batting an eye:

\version 2.18.0

\score { { c'4( e')( g'2) } }

lp=(
rp=)

(=\lp

\score { { (c'4 (e') g'2) } }

(=\lp
)=\rp

\score { { c'4( )e'( g'2) } }

It just turns out that it is a bad idea.  Your favored input syntax is
in the middle.  That's not actually readable for the case illustrated
here since it suggests a nesting that isn't there.

Another input syntax is at the bottom.  This syntax has actually been
LilyPond's syntax until version 1.7.17 or so (I see regtests changing in
that version for both [...] and ...( )... here, resulting in the same
basic syntax for either construct).

You'll likely find a discussion on the developer list in 2003 or so.

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


Das Trunkne Lied

2015-05-24 Thread Urs Liska
Anybody who lives within reach of Essen may be interested to know that 
tomorrow, Monday there will be the first performance of Oskar Fried's 
Das trunkne Lied for which we have created new performance material 
over the last year (see also 
http://lilypondblog.org/category/productions/das-trunkne-lied/).


The concert will take place at the Philharmonie Essen at 8PM CEST:
http://www.philharmonie-essen.de/konzerte/event/52045.htm

I'm extremely happy to see that emerge, although I'm not really sure if 
I can make it to there.


There will be a second concert on June 6 in Wuppertal, and there will be 
a radio broadcast on June 10 on Deutschlandradio Kultur (but I'll give 
appropriate details before that again).


Best
Urs


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


Re: a proper whiteout function

2015-05-24 Thread Paul Morris
Ok, thanks for the feedback.  I went with thickness and 12 instead of 24 for 
angle-increments.  I've submitted a patch for review.

http://code.google.com/p/lilypond/issues/detail?id=4418colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary

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


Re: Das Trunkne Lied

2015-05-24 Thread Urs Liska
Correction: the concert starts at 6PM.

Am 24. Mai 2015 19:16:12 MESZ, schrieb Urs Liska u...@openlilylib.org:
Anybody who lives within reach of Essen may be interested to know that 
tomorrow, Monday there will be the first performance of Oskar Fried's 
Das trunkne Lied for which we have created new performance material 
over the last year (see also 
http://lilypondblog.org/category/productions/das-trunkne-lied/).

The concert will take place at the Philharmonie Essen at 8PM CEST:
http://www.philharmonie-essen.de/konzerte/event/52045.htm

I'm extremely happy to see that emerge, although I'm not really sure if

I can make it to there.

There will be a second concert on June 6 in Wuppertal, and there will
be 
a radio broadcast on June 10 on Deutschlandradio Kultur (but I'll give 
appropriate details before that again).

Best
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: copyright text in more of one single line

2015-05-24 Thread Klaus Blum
Hi Marco, 

yes, just try:

% 
\header {
  tagline = ##f
  copyright = \markup \center-column {
(C) 2015  - Marco Bagolin
All Rights Reserved
- This is my personal copy -
  }
}
\score {g'}
% 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/copyright-text-in-more-of-one-single-line-tp176990p176992.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


notes grouped

2015-05-24 Thread Marco Bagolin
I would like to get the notes grouped in the file as original.png, but my
best result is what you can see in the file myresult.png with the
following code:

\tuplet 3/2 {b[[( d b]} a b)]

What is my mistake? I can't see where I wrong.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


copyright text in more of one single line

2015-05-24 Thread Marco Bagolin
Is it possible to use more of one line to write the copyright on the first
page?

for example:

(C) 2015  - Marco Bagolin
All Rights Reserved
- This is my personal copy -

I tried to use the following code:




*copyright = \markup{ \line {(C) 2015  - Marco
Bagolin}   \line {All Rights
Reserved}   \line {- This is my personal copy
-}}*

but it is not functioning...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: notes grouped

2015-05-24 Thread Urs Liska



Am 24.05.2015 um 20:52 schrieb Marco Bagolin:
I would like to get the notes grouped in the file as original.png, 
but my best result is what you can see in the file myresult.pngwith 
the following code:


\tuplet 3/2 {b[[( d b]} a b)]

What is my mistake? I can't see where I wrong.


You can't nest beams like you do. What you need is a beam subdivision. 
Look for that (or subdivide beams) on the Beams manual page.


HTH
Urs




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


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


Re: ANN: Frescobaldi 2.18.1

2015-05-24 Thread Klaus Blum
Hi Wilbert, 

there is something I need to say about Frescobaldi:

For several reasons, I'm stuck in the world of Windows. However, I've always
checked out some interesting Linux software on separate partitions or
virtual PCs. Very soon, Frescobaldi became the most important of them. 
And I remember a big big HALLELUJAH moment: the day I found the first
Windows version on frescobaldi.org  :-)

What I want to say is: THANK YOU for this awesome tool, and thank you for
making it available to all three major platforms!

Greetings from Germany, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-Frescobaldi-2-18-1-tp176994p176996.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: ANN: Frescobaldi 2.18.1

2015-05-24 Thread Ralph Palmer
On Sun, May 24, 2015 at 3:49 PM, Wilbert Berendsen w...@xs4all.nl wrote:

 Dear friends,

 I just released Frescobaldi 2.18.1 in the wild, a maintenance
 release containing bug fixes, small improvements and translation
 updates.

 Homepage: www.frescobaldi.org
 Download: www.frescobaldi.org/download

 It is recommended to upgrade python-ly to version 0.9.2, which contains
 additional bug fixes. See https://pypi.python.org/pypi/python-ly .

 Thanks go to all the users, bug reporters and co developers.


Thanks, Wilbert Berendsen. I really like Frescobaldi, and use it a lot!

I'm running Windows 7. Can anyone help with suggestions for installing
python-ly 0.9.2? I have downloaded the tar.gz file, but cannot open it.

Thanks in advance for your help.

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


ANN: Frescobaldi 2.18.1

2015-05-24 Thread Wilbert Berendsen
Dear friends,

I just released Frescobaldi 2.18.1 in the wild, a maintenance
release containing bug fixes, small improvements and translation
updates.

Homepage: www.frescobaldi.org
Download: www.frescobaldi.org/download

It is recommended to upgrade python-ly to version 0.9.2, which contains
additional bug fixes. See https://pypi.python.org/pypi/python-ly .

Thanks go to all the users, bug reporters and co developers.

Enjoy and happy Pentecost!


-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: notes grouped

2015-05-24 Thread Klaus Blum
Hi Marco, 

you can find the information here:
http://www.lilypond.org/doc/v2.18/Documentation/notation-big-page.de.html#setting-automatic-beam-behavior

This is a snippet about that subject:
http://lsr.di.unimi.it/LSR/Item?id=520

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/notes-grouped-tp176988p176995.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: notes grouped

2015-05-24 Thread Pierre Perol-Schneider
Hi Marco,

How about:

\version 2.18.2

\relative c'' {
  \once\omit TupletBracket
  \tuplet 3/2 { b16[( d \set stemRightBeamCount = #1 b }
  \set stemLeftBeamCount = #1
  a b)]
}

Cheers,
Pierre


2015-05-24 21:51 GMT+02:00 Klaus Blum benbigno...@gmx.de:

 Hi Marco,

 you can find the information here:

 http://www.lilypond.org/doc/v2.18/Documentation/notation-big-page.de.html#setting-automatic-beam-behavior

 This is a snippet about that subject:
 http://lsr.di.unimi.it/LSR/Item?id=520

 Cheers,
 Klaus



 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/notes-grouped-tp176988p176995.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 add barre indications to automatic fret diagrams?

2015-05-24 Thread Carl Sorensen
On 5/23/15 11:59 PM, pls p.l.schm...@gmx.de wrote:



 
 Maybe I should back the code back to where a barre will be indicated
only
 if the fingers are specified in the chord, and no barre will be
generated
 when an open chord is transposed.  That would be a straightforward fix.
 It would never generate any surprising results, because it would only
 generate barres that the user had entered by indicating that multiple
 notes should be played with the same finger.
 
 What do you think?

Sounds reasonable.  Would something like this work?

\transpose f g { f,-1 c-3 f-4 a-2 c'-1 f'-11 }

Here's a revised version of translation-functions.scm.  It will generate
barres only if fingers are indicated, and multiple strings use the same
finger.  It does work properly on the chord you listed above.

It does not generate barres on transposed open chords.

Please review and let me know what you think.

Thanks,

Carl



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


Re: Das Trunkne Lied

2015-05-24 Thread Shane Brandes
Does the Deutschlandradio Kultur have some sort of web cast?
And congratulations on the imminent performance.  Too bad Oskar never
had a chance to hear it.

Shane

On Sun, May 24, 2015 at 2:25 PM, Urs Liska u...@openlilylib.org wrote:
 Correction: the concert starts at 6PM.

 Am 24. Mai 2015 19:16:12 MESZ, schrieb Urs Liska u...@openlilylib.org:

 Anybody who lives within reach of Essen may be interested to know that
 tomorrow, Monday there will be the first performance of Oskar Fried's
 Das trunkne Lied for which we have created new performance material
 over the last year (see also
 http://lilypondblog.org/category/productions/das-trunkne-lied/).

 The concert will take place at the Philharmonie Essen at 8PM CEST:
 http://www.philharmonie-essen.de/konzerte/event/52045.htm

 I'm extremely happy to see that emerge, although I'm not really sure if
 I can make it to there.

 There will be a second concert on June 6 in Wuppertal, and there will be
 a radio broadcast on June 10 on Deutschlandradio Kultur (but I'll give
 appropriate details before that again).

 Best
 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


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


Re: Das Trunkne Lied

2015-05-24 Thread Urs Liska


Am 25. Mai 2015 01:33:01 MESZ, schrieb Shane Brandes sh...@grayskies.net:
Does the Deutschlandradio Kultur have some sort of web cast?

Yes. But I'll write properly about that.
 
And congratulations on the imminent performance.  Too bad Oskar never
had a chance to hear it.

Oh, that's a misunderstanding. He did hear it, but it hasn-'t been performed in 
the last 100 years.

Urs 


Shane

On Sun, May 24, 2015 at 2:25 PM, Urs Liska u...@openlilylib.org wrote:
 Correction: the concert starts at 6PM.

 Am 24. Mai 2015 19:16:12 MESZ, schrieb Urs Liska
u...@openlilylib.org:

 Anybody who lives within reach of Essen may be interested to know
that
 tomorrow, Monday there will be the first performance of Oskar
Fried's
 Das trunkne Lied for which we have created new performance
material
 over the last year (see also
 http://lilypondblog.org/category/productions/das-trunkne-lied/).

 The concert will take place at the Philharmonie Essen at 8PM CEST:
 http://www.philharmonie-essen.de/konzerte/event/52045.htm

 I'm extremely happy to see that emerge, although I'm not really sure
if
 I can make it to there.

 There will be a second concert on June 6 in Wuppertal, and there
will be
 a radio broadcast on June 10 on Deutschlandradio Kultur (but I'll
give
 appropriate details before that again).

 Best
 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



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


Re: ANN: Frescobaldi 2.18.1

2015-05-24 Thread Federico Bruni
Il giorno dom 24 mag 2015 alle 21:49, Wilbert Berendsen w...@xs4all.nl 
ha scritto:

I just released Frescobaldi 2.18.1 in the wild, a maintenance
release containing bug fixes, small improvements and translation
updates.


When I click on Open LilyPond data directory nothing happens. What 
should I expect to happen exactly?


commit 96b0f924b5de8f029fe00152a461488258b92452
Author: Wilbert Berendsen wbs...@xs4all.nl
Date:   Fri Mar 6 09:09:58 2015 +0100

   add LilyPond-Open LilyPond Data Directory

   opens the LilyPond data directory in a file browser, useful to study
   the implementation of the various init and scheme files

diff --git a/ChangeLog b/ChangeLog
index 249b2b4..40ef70d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,8 @@ Changes in 2.18 -- March 7th, 2015
notes to a specified mode or scale.
  - Commands to convert rests to spaces or vice versa, and to convert 
pitched

rests (like c'4\rest) to normal rests, contributed by Peter Bjuhr.
+  - Command to open LilyPond data directory (useful if you want to 
study Lily's

+own init- and Scheme files).




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


Re: how to add barre indications to automatic fret diagrams?

2015-05-24 Thread pls

On 23.05.2015, at 22:06, Carl Sorensen c_soren...@byu.edu wrote:

 
 
 On 5/23/15 6:34 AM, pls p.l.schm...@gmx.de wrote:
 
 
 Here is another test case for your patch:
 
 \version 2.19.20
 
 
 \new FretBoards {
   d-1 a c'-1 fis' a'-11
   g,-1 d f-1 b d'-1 g'-11
   \transpose g a { g,-1 d f-1 b d'-1 g'-11 }
 }
 
 
 These chords can be played with one finger! ;)
 
 So what do you recommend be done?
 
 I can make it so no fingerings are added, and then diagrams that are not
 completely fingered will show dots that have a finger of 0 (that's the way
 I started).  It seemed to me that having a finger of 0 is confusing.

Agreed.

 Also, by far the most common barre is with the first finger.  So allowing
 an open chord to be transposed to a barre chord with a first finger barre
 seemed useful.

Agreed.

 
 I don't have an algorithm to figure out fingering.  The .ly file explains
 exactly how the implemented fingering algorithm works.  It assumes that
 multiple notes played on the same fret with no fingering should be
 represented as a barre with the first finger.  That's all it does.

Yes, again no lack of clarity in your .ly file and still I fell into the trap 
when I tried to quickly cook up a minimal example for a bug report.  Sorry for 
my useless test case.

 
 If the user specifies fingerings that don't work right with the algorithm,
 they won't work right.

Sounds fair to me because I consider your algorithm to be very useful but it 
would most certainly lead to a lot of complaints/bug reports (see above!)...

 
 Maybe I should back the code back to where a barre will be indicated only
 if the fingers are specified in the chord, and no barre will be generated
 when an open chord is transposed.  That would be a straightforward fix.
 It would never generate any surprising results, because it would only
 generate barres that the user had entered by indicating that multiple
 notes should be played with the same finger.
 
 What do you think?

Sounds reasonable.  Would something like this work?

\transpose f g { f,-1 c-3 f-4 a-2 c'-1 f'-11 }

(At the moment it generates a false additional barre indicator.)

If yes, I’d say it’s a very good compromise.

Thanks for your work  patience!

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