[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Diatonic accordion score fine-tuning
From:       Menu Jacques <imj-219 () bluewin ! ch>
Date:       2018-03-31 15:34:32
Message-ID: 229B32E4-630C-4AC5-8549-3D6D584618E4 () bluewin ! ch
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello Harm,

Thanks for your help and thanks a lot to David for supplying this useful Scheme code. \
I'll use that for sure!

JM

> Le 31 mars 2018 à 16:16, Thomas Morley <thomasmorley65@gmail.com> a écrit :
> 
> 2018-03-30 18:25 GMT+02:00 Menu Jacques <imj-219@bluewin.ch \
> <mailto:imj-219@bluewin.ch>>:
> > Hello,
> > 
> > I've nearly reached my goal. Further attempts lead me to the following, using a \
> > GrandStaff and: 
> > \override GrandStaff.SpanBar.glyph-name = "|"
> > \override Staff.BarLine.glyph-name = "'"
> > 
> > I can't obtain a vertical short line at the left and right ends of the spanner \
> > yet though, since: 
> > \override AccordionPushSpanner.bound-details.left.text =
> > \markup { \draw-line #'(0 . -3) }
> > \override AccordionPushSpanner.bound-details.right.text =
> > \markup { \draw-line #'(0 . 3) }
> > 
> > don't make a change. That would be useful it seems.
> > 
> > Also, the thick parts of the repeat barlines don't go down to the lower stave, \
> > but that is maybe less useful. Maybe diatonic accordion players on this list can \
> > comment on that. For the others, let's mention that a thick line means  « push  » \
> > and that its absence means  « draw  ». 
> > The next important step will be to convert the actual note pitches into the \
> > fingerings that should be displayed instead. 
> > JM
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > Le 27 mars 2018 Ã  13:16, Menu Jacques <imj-219@bluewin.ch \
> > > <mailto:imj-219@bluewin.ch>> a écrit : 
> > > Hello folks,
> > > 
> > > I've modified the AccordionPushSpanner example supplied by someone on this list \
> > > (can't find who it was, unfortunately), giving the attached file and the score \
> > > : 
> > > <PastedGraphic-4.tiff>
> > > How can I tune the settings to align the bar lines lower tips with the single \
> > > staff line, and hide the dots in the repeat bar lines, in a way similar to: 
> > > <Diatonic look.png>
> > > The small vertical lines would be nice to have too.
> > > 
> > > Thanks for your help!
> > > 
> > > JM
> > > 
> > > <AccordionPushSpannerExample.ly <http://accordionpushspannerexample.ly/>>
> > > 
> 
> Hi,
> 
> the original coding is by David Nalesnik
> https://lists.gnu.org/archive/html/lilypond-user/2016-07/msg00541.html \
> <https://lists.gnu.org/archive/html/lilypond-user/2016-07/msg00541.html> 
> Attached you'll find a revised version and an example. I recommend to
> read the changelog in accordion.ily
> 
> To adjust the BarLines I'd simply set bar-extent to '(0 . 0) in the lower Staff.
> 
> 
> HTH,
> Harm
> <accordion.ily><example-2.ly><example-2.png>


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">Hello Harm,<div class=""><br \
class=""></div><div class="">Thanks for your help and thanks a lot to David for \
supplying this useful Scheme code. I'll use that for sure!</div><div class=""><br \
class=""></div><div class="">JM<br class=""><div><br class=""><blockquote type="cite" \
class=""><div class="">Le 31 mars 2018 Ã  16:16, Thomas Morley &lt;<a \
href="mailto:thomasmorley65@gmail.com" class="">thomasmorley65@gmail.com</a>&gt; a \
écrit :</div><br class="Apple-interchange-newline"><div class=""><span \
style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" \
class="">2018-03-30 18:25 GMT+02:00 Menu Jacques &lt;</span><a \
href="mailto:imj-219@bluewin.ch" style="font-family: Menlo-Regular; font-size: 14px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px;" class="">imj-219@bluewin.ch</a><span \
style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" \
class="">&gt;:</span><br style="font-family: Menlo-Regular; font-size: 14px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote \
type="cite" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: \
auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px;" class="">Hello,<br class=""><br class="">I've nearly \
reached my goal. Further attempts lead me to the following, using a GrandStaff \
and:<br class=""><br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\override \
GrandStaff.SpanBar.glyph-name = "|"<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\override Staff.BarLine.glyph-name \
= "'"<br class=""><br class="">I can't obtain a vertical short line at the left and \
right ends of the spanner yet though, since:<br class=""><br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\override \
AccordionPushSpanner.bound-details.left.text =<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\markup \
{ \draw-line #'(0 . -3) }<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\override \
AccordionPushSpanner.bound-details.right.text =<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\markup \
{ \draw-line #'(0 . 3) }<br class=""><br class="">don't make a change. That would be \
useful it seems.<br class=""><br class="">Also, the thick parts of the repeat \
barlines don't go down to the lower stave, but that is maybe less useful. Maybe \
diatonic accordion players on this list can comment on that. For the others, let's \
mention that a thick line means  « push  » and that its absence means  « draw  ».<br \
class=""><br class="">The next important step will be to convert the actual note \
pitches into the fingerings that should be displayed instead.<br class=""><br \
class="">JM<br class=""><br class=""><br class=""><br class=""><br class=""><br \
class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">Le \
27 mars 2018 Ã  13:16, Menu Jacques &lt;<a href="mailto:imj-219@bluewin.ch" \
class="">imj-219@bluewin.ch</a>&gt; a écrit :<br class=""><br class="">Hello \
folks,<br class=""><br class="">I've modified the AccordionPushSpanner example \
supplied by someone on this list (can't find who it was, unfortunately), giving the \
attached file and the score :<br class=""><br \
class="">&lt;PastedGraphic-4.tiff&gt;<br class="">How can I tune the settings to \
align the bar lines lower tips with the single staff line, and hide the dots in the \
repeat bar lines, in a way similar to:<br class=""><br class="">&lt;Diatonic \
look.png&gt;<br class="">The small vertical lines would be nice to have too.<br \
class=""><br class="">Thanks for your help!<br class=""><br class="">JM<br \
class=""><br class="">&lt;<a href="http://accordionpushspannerexample.ly/" \
class="">AccordionPushSpannerExample.ly</a>&gt;<br class=""><br \
class=""></blockquote></blockquote><br style="font-family: Menlo-Regular; font-size: \
14px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" \
class=""><span style="font-family: Menlo-Regular; font-size: 14px; font-style: \
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; \
text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline \
!important;" class="">Hi,</span><br style="font-family: Menlo-Regular; font-size: \
14px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br \
style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: \
Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; float: none; display: inline !important;" \
class="">the original coding is by David Nalesnik</span><br style="font-family: \
Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px;" class=""><a \
href="https://lists.gnu.org/archive/html/lilypond-user/2016-07/msg00541.html" \
style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: \
auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px;" \
class="">https://lists.gnu.org/archive/html/lilypond-user/2016-07/msg00541.html</a><br \
style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Menlo-Regular; \
font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" \
class=""><span style="font-family: Menlo-Regular; font-size: 14px; font-style: \
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; \
text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline \
!important;" class="">Attached you'll find a revised version and an example. I \
recommend to</span><br style="font-family: Menlo-Regular; font-size: 14px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span \
style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" \
class="">read the changelog in accordion.ily</span><br style="font-family: \
Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px;" class=""><br style="font-family: Menlo-Regular; \
font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" \
class=""><span style="font-family: Menlo-Regular; font-size: 14px; font-style: \
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; \
text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline \
!important;" class="">To adjust the BarLines I'd simply set bar-extent to '(0 . 0) in \
the lower Staff.</span><br style="font-family: Menlo-Regular; font-size: 14px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br \
style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Menlo-Regular; \
font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" \
class=""><span style="font-family: Menlo-Regular; font-size: 14px; font-style: \
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; \
text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline \
!important;" class="">HTH,</span><br style="font-family: Menlo-Regular; font-size: \
14px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" \
class=""><span style="font-family: Menlo-Regular; font-size: 14px; font-style: \
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; \
text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline \
!important;" class="">&nbsp;Harm</span><br style="font-family: Menlo-Regular; \
font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" \
class=""><span id="cid:B6539E8C-2611-4174-8167-EAC7A6255405@home">&lt;accordion.ily&gt;</span><span \
id="cid:FD4303AC-BFDF-42CE-AEBF-587AB33DCE39@home">&lt;<a href="http://example-2.ly" \
class="">example-2.ly</a>&gt;</span><span \
id="cid:A3E24EB0-BE8C-4722-BBA6-61FCDC7CD319@home">&lt;example-2.png&gt;</span></div></blockquote></div><br \
class=""></div></body></html>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic