[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guitar stroke fingering and multiple voices
From: |
Nick Payne |
Subject: |
Guitar stroke fingering and multiple voices |
Date: |
Tue, 09 Feb 2010 20:51:58 +1100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 |
Don't know if this has been thought of before (I couldn't find it in the
lilypond-user archives), but while having to do some tweaking to get
stroke fingering in one voice to avoid notes in another voice, I
realised that multiple stroke fingering indications can be attached to a
single note. So in the attached example, by moving the stroke fingering
indications for notes in the middle voice to the simultaneous notes in
the upper voice, no tweaking is required:
%========================
\version "2.13.12"
P = #(define-music-function (parser location) ()
(apply make-music
(append
(list
'StrokeFingerEvent
'origin location)
(list 'digit 1))))
I = #(define-music-function (parser location) ()
(apply make-music
(append
(list
'StrokeFingerEvent
'origin location)
(list 'digit 2))))
M = #(define-music-function (parser location) ()
(apply make-music
(append
(list
'StrokeFingerEvent
'origin location)
(list 'digit 3))))
A = #(define-music-function (parser location) ()
(apply make-music
(append
(list
'StrokeFingerEvent
'origin location)
(list 'digit 4))))
\new Staff \relative c'' {
\key c \major
\time 3/4
<<
{
\set strokeFingerOrientations = #'(up)
\override StrokeFinger #'add-stem-support = ##t
<e c g>4 r16 <d-\A > <c-\I -\A > <b-\A > <a-\I -\M > <g-\M > <fis-\I >32
<g-\M > <e-\I >16 |
}
\\
\\
{ s4. \autoBeamOff e8 e s | }
\\
{
\set strokeFingerOrientations = #'(down)
\override StrokeFinger #'add-stem-support = ##t
<c-\P >8[ <c-\P >] <c-\P >[ <c-\P >] <c-\P > <c-\P > |
}
>>
}
%========================
Nick
voices.preview.png
Description: PNG image
- Guitar stroke fingering and multiple voices,
Nick Payne <=