diff options
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/stats-conv.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/TOOLS/stats-conv.py b/TOOLS/stats-conv.py index 941cb1539e..5f81836d8f 100755 --- a/TOOLS/stats-conv.py +++ b/TOOLS/stats-conv.py @@ -71,6 +71,11 @@ for line in [line.split("#")[0].strip() for line in open(filename, "r")]: e.type = "event-signal" e.vals.append((ts, 1)) +ao_events = ["ao fill", "audio wait"] +for e in G.sevents: + if e.name in ao_events: + e.vals = [(x, y * 0.5) for (x, y) in e.vals] + plot.hold(True) mainpl = plot.subplot(2, 1, 1) legend = [] |