[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Notation d'un intervalle omis dans un nom d'accord
From: |
Philippe Neyrat |
Subject: |
Re: Notation d'un intervalle omis dans un nom d'accord |
Date: |
Tue, 20 Jan 2015 14:20:42 +0100 |
User-agent: |
SquirrelMail/1.5.2 [SVN] |
J'ai dû rater quelque chose, ça ne fonctionne pas...
lilypond 2.18.2
Voici un bout de code minimal :
***************************************
% Définition de tous les accords de 7e sans quinte
ExceptionsQuinte = {
<c e bes d>1-\markup { \super "7(omit5)" }
}
% Convert music to list and prepend to existing exceptions.
chExceptions = #( append
( sequential-music-to-chord-exceptions ExceptionsQuinte #t)
ignatzekExceptions)
accords =
{
\chordmode
{
\set chordNameExceptions = #chExceptions
c1:aug c:3.5+.7- c:7.5- c:7.9^5 c:7.9.11+ c:7.9.13-
c:7.11+.13- \break
d:aug d:3.5+.7- d:7.5- d:7.9^5 d:7.9.11+ d:7.9.13-
d:7.11+.13- \break
\unset chordNameExceptions
} % chordmode
} % accords
\score
{
<<
\new ChordNames \accords
\new Staff \accords
>>
\layout {}
} % score
************************************************
Les accords où la quinte a été enlevée avec le caractère control
(circonflexe) s'affichent toujours sans la mention "omit".
Je ne vois pas où j'ai fait l'erreur.
Une piste ?
Merci.
Philippe