Skip to content

Latest commit

 

History

History
49 lines (49 loc) · 1.8 KB

README.org

File metadata and controls

49 lines (49 loc) · 1.8 KB

Frequency-wave

Frequency-wave is a program that visualizes sound coming from MPD. It can do so in three different ways: as a waveform, by plotting amplitude vs frequency, and by rendering a 3D surface spectogram.

Demonstration

YouTube demonstration (enable annotations)

Features

3D surface spectogram

images/surface_spectogram_screenshot.png

Waveform

images/waveform_screenshot.png

Amplitude vs frequency

images/amplitude_vs_freq_screenshot.png

How to use

Dependencies

Build dependencies

Building

Frequency-wave can be built by running

$ make

in the root directory of this project.

MPD setup

MPD needs to be configured to create a FIFO pipe to which raw samples will be written during playback. This can be done by adding the following to your MPD configuration (normally in ~/.mpd/mpd.conf):

audio_output {
    type                    "fifo"
    name                    "my_fifo"
    path                    "/tmp/mpd.fifo"
    format                  "44100:16:1"
}

Controls

KeyDescription
1Waveform-mode
2Amplitude vs frequency mode
33D surface spectogram mode
xToggle between logarithmic and linear frequency scales