ebca47b17c5e246cbabbf3683f87f8fa3ea75953
1 # -*- coding: utf-8 -*-
3 constantes de configuration
20 ON_TOP_LUMINANCE
= 0.6
21 ON_BOTTOM_LUMINANCE
= 0.9
23 ON_COLUMN_OVERSIZING
= 2
25 FONT
= pygame
.font
.Font(None, 80)
27 DEFAULT_MIDI_VELOCITY
= 96
29 SONG_FILE_PATH
= '../../chansons'
32 {'name' : 'accordeon',
67 {'name' : 'violoncelle',
74 # cuisine : ne pas modifier
75 _here
= os
.path
.abspath(__file__
).split(os
.path
.sep
)[:-1]
76 SONG_FILE_PATH
= SONG_FILE_PATH
.split('/')
77 SONG_FILE_PATH
= _here
+ SONG_FILE_PATH
78 SONG_FILE_PATH
= os
.path
.abspath(os
.path
.sep
.join(SONG_FILE_PATH
))