<commit_before>C.A.V.A. - CW's fork
====================

**C**onsole-based **A**udio **V**isualizer for **A**LSA

![spectrum](http://stavestrand.no/cava6.gif "spectrum")

[Demo video](http://youtu.be/vA4RyatP064)

by [<NAME>](mailto:<EMAIL>)


Updates
-------

4/19/2015 - Added Monstercat style FFT easing.
9/22/2014 - Added support for mpd FIFO input.

What it is
----------

C.A.V.A. is a bar spectrum analyzer for audio using ALSA for input. Its frequency range is limited to 50-12,000Hz. I know that the human ear can hear from 20 up to 20,000 Hz (and probably "sense" even higher frequencies), but the frequencies between 50-12,000Hz seem to me to be the most distinguishable. (I believe telephones used to be limited to as low as 8kHz.)

This program is not intended for scientific use.

This is my first published code. I am not a professional programmer so the source code is probably, by all conventions, a complete mess. Please excuse all the typos as I am both dyslexic and foreign.

Any tips or comments would be much appreciated.

TODO
----

* make cava react to terminal resizing

Build requirements
------------------

* [ALSA dev files](http://alsa-project.org/)
* [FFTW](http://www.fftw.org/)

Debian/Raspbian users can install this with:

    apt-get install libfftw3-dev libasound2-dev

ArchLinux users can install this with:

    pacman -S base-devel fftw

Getting started
---------------

    make


Capturing audio
---------------<commit_msg>added fft easing by CelestialWalrus to changelog<commit_after>C.A.V.A. 
====================

**C**onsole-based **A**udio **V**isualizer for **A**LSA

![spectrum](http://stavestrand.no/cava6.gif "spectrum")

[Demo video](http://youtu.be/vA4RyatP064)

by [<NAME>](mailto:<EMAIL>)


Updates
-------

4/19/2015 - Added Monstercat style FFT easing (by [CelestialWalrus)](https://github.com/CelestialWalrus).

9/22/2014 - Added support for mpd FIFO input.

What it is
----------

C.A.V.A. is a bar spectrum analyzer for audio using ALSA for input. Its frequency range is limited to 50-12,000Hz. I know that the human ear can hear from 20 up to 20,000 Hz (and probably "sense" even higher frequencies), but the frequencies between 50-12,000Hz seem to me to be the most distinguishable. (I believe telephones used to be limited to as low as 8kHz.)

This program is not intended for scientific use.

This is my first published code. I am not a professional programmer so the source code is probably, by all conventions, a complete mess. Please excuse all the typos as I am both dyslexic and foreign.

Any tips or comments would be much appreciated.


Build requirements
------------------

* [ALSA dev files](http://alsa-project.org/)
* [FFTW](http://www.fftw.org/)

Debian/Raspbian users can install this with:

    apt-get install libfftw3-dev libasound2-dev

ArchLinux users can install this with:

    pacman -S base-devel fftw

Getting started
---------------

    make


Capturing audio
---------------
{'fraction_non_alphanumeric': 0.14430209035738367, 'fraction_numerical': 0.02899527983816588, 'mean_word_length': 3.1847672778561353, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5462571', 'n_tokens_mistral': 1015, 'n_tokens_neox': 906, 'n_words': 369}