projects
/
minwii.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ajout chansons musescore / musicxml dans un dossier annexe.
[minwii.git]
/
src
/
app
/
config.py
1
# -*- coding: utf-8 -*-
2
"""
3
constantes de configuration
4
5
$Id$
6
$URL$
7
"""
8
9
import
pygame
10
pygame
.
font
.
init
()
11
12
# playingscreen
13
FRAMERATE
=
50
14
BORDER
=
0
# 5px
15
FIRST_HUE
=
0.6
16
OFF_LUMINANCE
=
0.2
17
OFF_SATURATION
=
1
18
ON_TOP_LUMINANCE
=
0.6
19
ON_BOTTOM_LUMINANCE
=
0.9
20
ON_SATURATION
=
1
21
ON_COLUMN_OVERSIZING
=
2
22
ON_COLUMN_ALPHA
=
1
23
FONT
=
pygame
.
font
.
Font
(
None
,
80
)
24
FONT_COLOR
= (
0
,
0
,
0
)
25
DEFAULT_MIDI_VELOCITY
=
96