[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Custom key signatures
From: |
Kees van den Doel |
Subject: |
Custom key signatures |
Date: |
Sat, 21 Feb 2009 22:20:09 -0800 |
I managed to print custom key signatures from a microtonal font. One problem
remains, and I wonder if anyone can help me.
In my init file persian.ly I have defined variables for various key signatures
and keys, e.g. for Shur in E
shurEKey = \markup{
\translate #'(0 . 1) \SORISYMBOL
}
shurE = #`(
(3 . ,SORI)
)
were SORISYMBOL is my UTF-8 code form the font I've loaded.
My source file looks like this:
\include "persian.ly"
\score {
\relative c' {
\set Staff.keySignature = \shurE
a b c
}
\midi { }
\layout {
\context {
\Score \override KeySignature #'text = #shurEKey
}
}
}
which works fine. I would instead like to put the statement
\Score \override KeySignature #'text = #shurEKey
not in the layout{} but in my music expression, because now I can't change key
signature in a piece.
If I try that it will complain that shurKey is not a markup.
Can anybody explain what the problem is?
Thanks,
Kees
- Re: Persian musical koron and sori, (continued)
- Re: Persian musical koron and sori, Hans Aberg, 2009/02/16
- Re: Persian musical koron and sori, Graham Breed, 2009/02/17
- Re: Persian musical koron and sori, Kees van den Doel, 2009/02/17
- Re: Persian musical koron and sori, Kees van den Doel, 2009/02/18
- Re: Persian musical koron and sori, Graham Breed, 2009/02/18
- Re: Persian musical koron and sori, Kees van den Doel, 2009/02/20
- Re: Persian musical koron and sori, Behnam Rassi, 2009/02/22
- Custom key signatures,
Kees van den Doel <=
- Persian music, Kees van den Doel, 2009/02/23
- Re: Persian music, Werner LEMBERG, 2009/02/23
- Re: Custom key signatures, Mats Bengtsson, 2009/02/23
- Re: Persian musical koron and sori, Hans Aberg, 2009/02/16