[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arpeggio in tablature with two voices.
From: |
Federico Bruni |
Subject: |
Re: Arpeggio in tablature with two voices. |
Date: |
Tue, 24 Jan 2012 21:27:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
Il 24/01/2012 20:37, AB ha scritto:
Hi List, I'm trying to use connectArpeggios in tablature with no results.
I started with this snippet: http://lsr.dsi.unimi.it/LSR/Snippet?id=294
My "arrangement" for tab is this:
\layout {
\context {
\TabStaff
\consists "Span_arpeggio_engraver"
}
}
\new TabStaff
{
\set Staff.connectArpeggios = ##t
<<
{<e' g'>4\arpeggio<d' f'>4<d' f'>2 }
\\
{<d f>2\arpeggio<g b>2 }
>>
}
But no arpeggio symbol appears. It's not far from the code I used in Lily
2.11.21 few years ago (example here:
http://img685.imageshack.us/img685/3315/arpeggiooldlily.png) but with Lily
2.14.2 doesn't work.
Thanks in advance.
andy
By default, arpeggio are not displayed on TabStaff.
Also, you set the connectArpeggios on the Staff context instead of TabStaff.
The following code should work as you wish:
\version "2.14.2"
\layout {
\context {
\TabStaff
\revert Arpeggio #'stencil
}
}
\new TabStaff
\with {
\consists "Span_arpeggio_engraver"
}
{
\set TabStaff.connectArpeggios = ##t
<<
{<e' g'>4\arpeggio <d' f'>4 <d' f'>2 }
\\
{<d f >2\arpeggio <g b>2 }
>>
}