You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+37-1
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,47 @@ thanks to [anko](https://github.com/anko) for the gif, here is the [recipe]( htt
11
11
12
12
[Demo video](http://youtu.be/vA4RyatP064) (old)
13
13
14
+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
15
+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
16
+
**Table of Contents***generated with [DocToc](https://github.com/thlorenz/doctoc)*
17
+
18
+
-[C.A.V.A. ](#cava)
19
+
-[Updates](#updates)
20
+
-[What it is](#what-it-is)
21
+
-[Build requirements](#build-requirements)
22
+
-[Getting started](#getting-started)
23
+
-[Installing](#installing)
24
+
-[Uninstalling](#uninstalling)
25
+
-[Capturing audio](#capturing-audio)
26
+
-[Straight from output](#straight-from-output)
27
+
-[PulseAudio (easy)](#pulseaudio-easy)
28
+
-[ALSA (hard)](#alsa-hard)
29
+
-[From mpd's fifo output](#from-mpds-fifo-output)
30
+
-[Running via ssh](#running-via-ssh)
31
+
-[Font notes](#font-notes)
32
+
-[In ttys](#in-ttys)
33
+
-[In terminal emulators](#in-terminal-emulators)
34
+
-[Latency notes](#latency-notes)
35
+
-[Usage](#usage)
36
+
-[Controls](#controls)
37
+
-[Configuration](#configuration)
38
+
-[Example file:](#example-file)
39
+
-[Sections:](#sections)
40
+
-[[general]](#general)
41
+
-[[input]](#input)
42
+
-[[output]](#output)
43
+
-[[color]](#color)
44
+
-[[smoothing]](#smoothing)
45
+
-[[eq]](#eq)
46
+
47
+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
14
48
15
49
16
50
Updates
17
51
-------
18
52
53
+
7/16/2015 - 0.3.2 - added legacy ouput mode 'noncurses', for people experiencing issues with ncurses
54
+
19
55
7/15/2015 - 0.3.1 - added config file
20
56
21
57
7/12/2015 - 0.3.0 - Modular source code
@@ -210,7 +246,7 @@ Usage
210
246
Options:
211
247
-b 1..(console columns/2-1) or 200 number of bars in the spectrum (default 25 + fills up the console), program will automatically adjust if there are too many frequency bands)
212
248
-i 'input method' method used for listnening to audio, supports: 'alsa' and 'fifo'
213
-
-o 'output method' method used for outputting processed data, only supports 'terminal'
249
+
-o 'output method' method used for outputting processed data, supports: 'ncurses', 'noncurses' and 'circle'
214
250
-d 'alsa device' name of alsa capture device (default 'hw:1,1')
215
251
-p 'fifo path' path to fifo (default '/tmp/mpd.fifo')
216
252
-c foreground color suported colors: red, green, yellow, magenta, cyan, white, blue, black (default: cyan)
2.37)); //decided to cut it at 10k, little interesting to hear above
475
469
fr[n] =fc[n] / (audio.rate /
476
470
2); //remember nyquist!, pr my calculations this should be rate/2 and nyquist freq in M/2 but testing shows it is not... or maybe the nq freq is in M/4
477
471
lcf[n] =fr[n] * (M /
478
-
4); //lfc stores the lower cut frequency foo each band in the fft out buffer
472
+
4); //lfc stores the lower cut frequency foo each band in the fft out buffer
0 commit comments