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',
66 {'name' : 'violoncelle',
73 # cuisine : ne pas modifier
74 _here
= os
.path
.abspath(__file__
).split(os
.path
.sep
)[:-1]
75 SONG_FILE_PATH
= SONG_FILE_PATH
.split('/')
76 SONG_FILE_PATH
= _here
+ SONG_FILE_PATH
77 SONG_FILE_PATH
= os
.path
.abspath(os
.path
.sep
.join(SONG_FILE_PATH
))