76e468cac3c48ccebde3b36a746b32555f95cd90
1 # -*- coding: utf-8 -*-
3 formatage des événements
9 from events
import eventNames
11 self
= sys
.modules
[__name__
]
15 return '%s (%s)' % (tone
.midi
, tone
.nom
)
17 def log_COLSTATECHANGE(e
) :
18 return u
'%5s %s' % (e
.state
, e
.syllabus
)
25 for type, name
in eventNames
.items() :
26 f
= getattr(self
, 'log_%s' % name
, log_default
)
29 __all__
= ('pprinters')