[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text on slurs (faking bends etc)
From: |
Pete Farmer |
Subject: |
Re: Text on slurs (faking bends etc) |
Date: |
Thu, 6 Dec 2012 02:56:16 -0800 (PST) |
Meanwhile... here's a code snippet which offers a double-stop bend solution
by using multiple (two) voices. It may be of some use to others, who find
this thread with the search engine:
I'm using separate sets of 'music data' for the tab and the conventional
notes, which I'm pretty sure is not a 'best practice', but sometimes I do it
this way. Also, there is a minor spacing issue between staves, but for code
clarity I've omitted the easy solution. Let me know if you need it.
best,
--p
----------<double-stop-bend.ly>-------------
\version "2.16.0"
\include "bend.ly"
notes = \relative c'' {
\new Voice <<
{
r16 g'16 (a8 g4) fis16 (gis8. fis4)
}
\\
{
s16 e16 fis8 e4 d16 e8. d4
}
>>
}
tab = \relative c' {
\new TabVoice <<
{
\bendOn r16 g'16\2 (a8\2) g4\2 fis16\2 (gis8.\2) (fis4\2) \bendOff
}
\\
{
\bendOn r16 e16\3 (fis8\3) e4\3 d16\3 (e8.\3) \parenthesize d4\3 \bendOff
}
>>
}
\score {
\new StaffGroup <<
\new Staff <<
\notes
>>
\new TabStaff <<
\tab
>>
>>
\layout {}
% \midi {}
}
----------<fin>------------
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Text-on-slurs-faking-bends-etc-tp35037p137267.html
Sent from the User mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Text on slurs (faking bends etc),
Pete Farmer <=