From 5e8be8ce0b3868fd562449918f7835d014af5c94 Mon Sep 17 00:00:00 2001 From: Daniel Francis Date: Thu, 26 Jul 2012 00:27:31 +0000 Subject: Constants file for the future --- 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 +# +# 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] -- cgit v0.9.1