module

Obsctl::TUI::Widgets::Audio

The audio matrix, drawn the way a mixing desk is: one vertical channel strip per input, each with its own meter, fader, readouts and mute button, scrolling sideways when there are more inputs than columns.

Constants

FILL = ['▁', '▂', '▃', '▄', '▅', '▆', '▇', '█']

Eighth-height blocks, so a meter cell can be partly lit and the level resolves to eight times the rows the panel actually has.

SILENCE = 0.02

Anything above this counts as signal for the panel's live indicator.

Instance methods

render(area : CryTUI::Rect, buffer : CryTUI::Buffer, model : Model)
Source