Module audio_visualizer::dynamic::window_top_btm[][src]

Expand description

This module provides the functionality to display a GUI window, where 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 a frequency spectrum.

It uses the minifb crate to display GUI windows.

Modules

Helps to visualize audio data

Enums

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

Starts the audio recording via cpal on the given audio device (or the default input device), opens a GUI window and displays two graphs. The upper graph is the latest audio input as wave form (live/real time). The lower graph can be customized, to show for example a spectrum or the lowpassed data.