lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replace NoteNames output to other character


From: 今井雄治
Subject: replace NoteNames output to other character
Date: Sat, 13 Dec 2008 11:14:36 +0900

Hi, users.

i got following result use NoteNames context.

(1st line)
    c'   d'   e'   f'  |  g'   a'   b'   c''
(2nd line)
    c' e'   d' f'   e' g'   f' a'  |  g' b'   a' c''   b' d''   c'' e''
(3rd line)
    c'   c'   c'  |  c' g'   c' g'   c' g'

so, these lines for KOTO (Japanese harp) want to change like following.
number is string of KOTO.

(1st line)
    1   2   3   4  |  5   6   7   8
(2nd line)  chord: each number locate vertically.
    1   2   3   4  |  5   6   7   8
    3   4   5   6  |  7   8   9   10
(3rd line) tie: replace special character for repeat (if possible)
    1   *   *  |  1   *   *
    5   *   *  |

use following codes.
--------
\version "2.11.63"
\include "english.ly"

music = \relative {
        c4 d e f | g a b c | \break
        <c, e>4 <d f> <e g> <f a> | <g b> <a c> <b d> <c e> | \break
        <c, g'>4 <c g'>~ <c g'>2 | c4 c4~ c2 | \break
}

\score {
        <<
        \new Staff { \music }
        \new NoteNames {
                \set NoteNames.printOctaveNames = ##t
                \music }
        >>
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]