diff --git a/examples/levels/__main__.py b/examples/levels/__main__.py index 7457433..62e03a8 100644 --- a/examples/levels/__main__.py +++ b/examples/levels/__main__.py @@ -11,12 +11,14 @@ LEVELTYPE = IntEnum( def on_input_mute_state_changed(data): - """The current program scene has changed.""" + """An input's mute state has changed.""" if data.input_name == DEVICE: print(f"{DEVICE} mute toggled") def on_input_volume_meters(data): + """volume level update every 50 milliseconds""" + def fget(x): return round(20 * log(x, 10), 1) if x > 0 else -200.0