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'
31 # cuisine : ne pas modifier
32 _here
= os
.path
.abspath(__file__
).split(os
.path
.sep
)[:-1]
33 SONG_FILE_PATH
= SONG_FILE_PATH
.split('/')
34 SONG_FILE_PATH
= _here
+ SONG_FILE_PATH
35 SONG_FILE_PATH
= os
.path
.abspath(os
.path
.sep
.join(SONG_FILE_PATH
))