import os.path
_here = os.path.abspath(__file__).split(os.path.sep)[:-1]
-if _here[-2].endswith('.exe') or _here[-2].endswith('*.zip') :
- _here.pop(-2)
def _computePath(path) :
path = path.split('/')
ON_COLUMN_ALPHA = 1
font_file = _computePath('fonts/Arial Unicode.ttf')
NOTES_FONT = pygame.font.Font(font_file, 50)
-default_font_file = _computePath('fonts/freesansbold.ttf')
-LYRICS_FONT = pygame.font.Font(default_font_file, 80)
+LYRICS_FONT = pygame.font.Font(None, 80)
FONT_COLOR = (0,0,0)
MIDI_VELOCITY_RANGE = (64, 127)
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',