import os.path
_here = os.path.abspath(__file__).split(os.path.sep)[:-1]
+
def _computePath(path) :
path = path.split('/')
path = _here + path
MIDI_PAN_RANGE = (32, 96)
MIDI_VELOCITY_WRONG_NOTE_ATTN = 0.5
-SONG_FILE_PATH = _computePath('../../chansons')
+SONG_FILE_PATH = _computePath('../chansons')
INSTRUMENTS = (
{'name' : 'accordeon',
)
for i in INSTRUMENTS :
- i['octave'] = i.get('octave', 0)
\ No newline at end of file
+ i['octave'] = i.get('octave', 0)