lilypond-user
[Top][All Lists]
Advanced

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

Re: Chords in LilyPond


From: Thomas Morley
Subject: Re: Chords in LilyPond
Date: Mon, 29 May 2017 11:57:48 +0200

2017-05-29 11:44 GMT+02:00 Thomas Morley <address@hidden>:

> (2)
> Finally something like the terminal-output of the fake below is aimed at:
>
> chrd-test-III =
> \chordmode {
>     \displayMusic
>     \withMusicProperty semantics
>       #`((root . ,#{ c #})
>          ;; or?
>          (root . "C")
Erhm, should read (third . major) ofc, here and below

>          (third . minor)
>          (fifth . pure)
>          (extensions . #f)
>          (additions . #f)
>          (bass . #f)
>          (inversion . #f)
>          (suspensions . #f)
>          ;; else?
>          )
>     c
> }
>
> <<
>   \new ChordNames \chrd-test-III
>   \new Staff \chrd-test-III
>>>
>
> -->
> (make-music
>   'EventChord
>   'semantics
>   (list (cons (quote root) (ly:make-pitch -1 0))
>         (cons (quote root) "C")
same here
>         (cons (quote third) (quote minor))
>         (cons (quote fifth) (quote pure))
>         (cons (quote extensions) #f)
>         (cons (quote additions) #f)
>         (cons (quote bass) #f)
>         (cons (quote inversion) #f)
>         (cons (quote suspensions) #f))
>   'elements
>   (list (make-music
>           'NoteEvent
>           'pitch
>           (ly:make-pitch 0 0)
>           'duration
>           (ly:make-duration 2))
>         (make-music
>           'NoteEvent
>           'pitch
>           (ly:make-pitch 0 2)
>           'duration
>           (ly:make-duration 2))
>         (make-music
>           'NoteEvent
>           'pitch
>           (ly:make-pitch 0 4)
>           'duration
>           (ly:make-duration 2))))



reply via email to

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