summaryrefslogtreecommitdiff
path: root/ly/arabic.ly
diff options
context:
space:
mode:
authorKeith OHara <k-ohara5a5a@oco.net>2011-02-27 10:22:28 -0800
committerKeith OHara <k-ohara5a5a@oco.net>2011-03-01 23:14:30 -0800
commit9513397ad5f95ce92d490ba09afb4c32ec8bb791 (patch)
treeb8cf84133c3ae874c8e5a8d76ec342eb606c0128 /ly/arabic.ly
parentdbafc9ace7e261b158dacaea1076bb5db8b987a2 (diff)
Key signatures for modes. Fix 748.
Compute midi key signatures for modes with fractional alterations, using code from Graham Breed. Provide a keyAlterationOrder for the modes in arabic.ly.
Diffstat (limited to 'ly/arabic.ly')
-rw-r--r--ly/arabic.ly50
1 files changed, 35 insertions, 15 deletions
diff --git a/ly/arabic.ly b/ly/arabic.ly
index 48414b473d..61790e5542 100644
--- a/ly/arabic.ly
+++ b/ly/arabic.ly
@@ -33,52 +33,72 @@ dwn = {
%
bayati = #`(
- (0 . 0)
+ (0 . ,NATURAL)
(1 . ,SEMI-FLAT)
(2 . ,FLAT)
- (3 . 0)
- (4 . 0)
+ (3 . ,NATURAL)
+ (4 . ,NATURAL)
(5 . ,FLAT)
(6 . ,FLAT)
)
kurd = #`(
- (0 . 0)
+ (0 . ,NATURAL)
(1 . ,FLAT)
(2 . ,FLAT)
- (3 . 0)
- (4 . 0)
+ (3 . ,NATURAL)
+ (4 . ,NATURAL)
(5 . ,FLAT)
(6 . ,FLAT)
)
rast = #`(
- (0 . 0)
- (1 . 0)
+ (0 . ,NATURAL)
+ (1 . ,NATURAL)
(2 . ,SEMI-FLAT)
- (3 . 0)
- (4 . 0)
- (5 . 0)
+ (3 . ,NATURAL)
+ (4 . ,NATURAL)
+ (5 . ,NATURAL)
(6 . ,SEMI-FLAT)
)
sikah = #`(
- (0 . 0)
+ (0 . ,NATURAL)
(1 . ,SEMI-FLAT)
(2 . ,SEMI-FLAT)
(3 . ,SEMI-SHARP)
- (4 . 0)
+ (4 . ,NATURAL)
(5 . ,SEMI-FLAT)
(6 .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