2482512b1c28df28825759799f8a0661f19c15f0
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',
64 {'name' : 'violoncelle',
70 # cuisine : ne pas modifier
71 _here
= os
.path
.abspath(__file__
).split(os
.path
.sep
)[:-1]
72 SONG_FILE_PATH
= SONG_FILE_PATH
.split('/')
73 SONG_FILE_PATH
= _here
+ SONG_FILE_PATH
74 SONG_FILE_PATH
= os
.path
.abspath(os
.path
.sep
.join(SONG_FILE_PATH
))