Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-07-26 00:27:31 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-07-26 00:27:31 (GMT)
commit5e8be8ce0b3868fd562449918f7835d014af5c94 (patch)
tree7cdec20ed962f8565e3269a678dc05f1dc4da2f9
parent9e2b425ec41ef91ee0731500518e40a8abbe2e34 (diff)
Constants file for the futureHEADmaster
-rw-r--r--constants.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/constants.py b/constants.py
new file mode 100644
index 0000000..c615f73
--- /dev/null
+++ b/constants.py
@@ -0,0 +1,34 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2012 S. Daniel Francis <francis@sugarlabs.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+
+"""
+Spanish technical words (The developers are Spanish speakers):
+Notes:
+ English: A - B - C - D - E - F - G
+ Spanish: La- Si- Do- Re- Mi- Fa- Sol
+Alterations:
+ Sharp: Sostenido
+ Flat: Bemol
+"""
+
+A, B, C, D, E, F, G = range(7)
+
+SHARPS_ORDER = [F, C, G, D, A, E, B]
+FLATS_ORDER = [B, E, A, D, G, C, F]