Module window_top_btm

Source
Expand description

This module provides the functionality to display a GUI window.

In the window, the upper half shows the real-time recorded audio data whereas the lower half shows a diagram of transformed data, such as a lowpass filter or a frequency spectrum.

It uses the minifb crate to display GUI windows.

Modules§

pixel_buf
visualize_minifb
Helps to visualize audio data

Enums§

TransformFn
Parameter type for open_window_connect_audio. Describes how the audio data shall be transformed, and thus, how it should be displayed in the lower part of the window.

Functions§

open_window_connect_audio
Starts the audio recording via cpal on the given audio device (or the default input device), opens a GUI window and displays two graphs.