2de1b90890fc893a5f6861b721e2e45015e355eb
1 # -*- coding: utf-8 -*-
3 constantes de configuration
12 _here
= os
.path
.abspath(__file__
).split(os
.path
.sep
)[:-1]
13 def _computePath(path
) :
14 path
= path
.split('/')
16 path
= os
.path
.abspath(os
.path
.sep
.join(path
))
29 ON_TOP_LUMINANCE
= 0.6
30 ON_BOTTOM_LUMINANCE
= 0.9
32 ON_COLUMN_OVERSIZING
= 2
34 font_file
= _computePath('fonts/Arial Unicode.ttf')
35 FONT
= pygame
.font
.Font(font_file
, 50)
37 DEFAULT_MIDI_VELOCITY
= 96
39 SONG_FILE_PATH
= _computePath('../../chansons')
42 {'name' : 'accordeon',
77 {'name' : 'violoncelle',