projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remaniement du logging des messages de l'application : une seule info par console...
[minwii.git]
/
src
/
app
/
event_pprinters.py
diff --git
a/src/app/event_pprinters.py
b/src/app/event_pprinters.py
index
679924e
..
e399583
100755
(executable)
--- a/
src/app/event_pprinters.py
+++ b/
src/app/event_pprinters.py
@@
-11,10
+11,10
@@
import sys
self = sys.modules[__name__]
def log_NOTEON(e):
self = sys.modules[__name__]
def log_NOTEON(e):
- return '
'
+ return '
%3d %3d %3d' % (e.chan, e.key, e.vel)
def log_NOTEOFF(e):
def log_NOTEOFF(e):
- return '
'
+ return '
%3d %3d' % (e.chan, e.key)
def log_NOTEEND(e):
return ''
def log_NOTEEND(e):
return ''
@@
-26,7
+26,7
@@
def log_COLSTATECHANGE(e):
(col.index, col.state, tone.midi, tone.name, e.syllabus)
def _log_col(e) :
(col.index, col.state, tone.midi, tone.name, e.syllabus)
def _log_col(e) :
- """ formate l
'événement
+ """ formate l
es événements de colonne COLDOWN, COLUP, COLOVER
- etat
- index de colonne
- hauteur midi
- etat
- index de colonne
- hauteur midi
@@
-41,7
+41,6
@@
def _log_col(e) :
log_COLDOWN = log_COLUP = log_COLOVER = _log_col
def log_default(e) :
log_COLDOWN = log_COLUP = log_COLOVER = _log_col
def log_default(e) :
- return ''
return str(e)
pprinters = {}
return str(e)
pprinters = {}