Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 642 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 642 Bytes

Fast Fourier Transform

test.d

Just does some simple wave generation and then performs a FFT on it to read back the frequencies.

visualizer.d

This is a useful test case. It reads data from a FIFO stream (/tmp/mpd.fifo) and prints a nice spectral graph. Works well with MPD. The entry in /etc/mpd.conf will look like this:

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

You can of course change the path or the name.

For compilation, link the derp project dir as 'derp' in this folder, and make sure to compile derp with polygon support.