projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix.
[minwii.git]
/
src
/
app
/
event_pprinters.py
diff --git
a/src/app/event_pprinters.py
b/src/app/event_pprinters.py
index
2f77809
..
76e468c
100755
(executable)
--- a/
src/app/event_pprinters.py
+++ b/
src/app/event_pprinters.py
@@
-1,11
+1,24
@@
+# -*- coding: utf-8 -*-
+"""
+formatage des événements
+
+$Id$
+$URL$
+"""
+
from events import eventNames
import sys
self = sys.modules[__name__]
def log_COLDOWN(e) :
from events import eventNames
import sys
self = sys.modules[__name__]
def log_COLDOWN(e) :
- return '%s' % e.column.tone.nom
+ tone = e.column.tone
+ return '%s (%s)' % (tone.midi, tone.nom)
+
+def log_COLSTATECHANGE(e) :
+ return u'%5s %s' % (e.state, e.syllabus)
def log_default(e) :
def log_default(e) :
+ return ''
return str(e)
pprinters = {}
return str(e)
pprinters = {}