Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Framework/Constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'Framework/Constants.py')
-rw-r--r--Framework/Constants.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/Framework/Constants.py b/Framework/Constants.py
deleted file mode 100644
index 2fc7f12..0000000
--- a/Framework/Constants.py
+++ /dev/null
@@ -1,28 +0,0 @@
-import os
-
-class Constants:
- #PATHS
- #TAM_TAM_ROOT = os.getenv('TAMTAM_ROOT')
- TAM_TAM_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
- print 'INFO: loaded TAMTAM_ROOT=%s' % TAM_TAM_ROOT
-
- #DEFAULTS
- DEFAULT_TEMPO = 120
- DEFAULT_VOLUME = 0.8
-
- #NUMERICAL CONSTANTS
- NUMBER_OF_POSSIBLE_PITCHES = 25.0
- MINIMUM_PITCH = 24.0
- MAXIMUM_PITCH = MINIMUM_PITCH + NUMBER_OF_POSSIBLE_PITCHES - 1
- MINIMUM_NOTE_DURATION = 1 # ticks
- MS_PER_MINUTE = 60000.0
- TICKS_PER_BEAT = 12
- NUMBER_OF_TRACKS = 5
- NUMBER_OF_PAGES = 2
-
- MINIMUM_AMPLITUDE = 0
- MAXIMUM_AMPLITUDE = 1
-
- CSOUND_HORIZON = 0.100
- CLOCK_DELAY = 0.04
-