nausea

curses audio visualizer
git clone git://git.2f30.org/nausea.git
Log | Files | Refs | README | LICENSE

commit 857a46d20063359206ed961feec72d2d792a3d2a
parent f9a420aecbb596fd408b9e2fe99bdbff12a0078e
Author: lostd <lostd@2f30.org>
Date:   Wed, 23 Apr 2014 01:58:16 +0300

Change name from spectrum to nausea

Diffstat:
MMakefile | 14+++++++-------
MREADME | 12++++++------
Anausea.1 | 28++++++++++++++++++++++++++++
Rspectrum.c -> nausea.c | 0
Dspectrum.1 | 28----------------------------
5 files changed, 41 insertions(+), 41 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,18 +5,18 @@ CFLAGS = -I/usr/local/include LDFLAGS = -L/usr/local/lib LDLIBS = -lm -lcurses -lfftw3 -BIN = spectrum -all: $(BIN) +NAME = nausea +all: $(NAME) install: all install -d $(DESTDIR)$(PREFIX)/bin - install $(BIN) $(DESTDIR)$(PREFIX)/bin/$(BIN) + install $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME) install -d $(DESTDIR)$(MANPREFIX)/man1 - install spectrum.1 $(DESTDIR)$(MANPREFIX)/man1 + install $(NAME).1 $(DESTDIR)$(MANPREFIX)/man1 uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) - rm -f $(DESTDIR)$(MANPREFIX)/man1/spectrum.1 + rm -f $(DESTDIR)$(PREFIX)/bin/$(NAME) + rm -f $(DESTDIR)$(MANPREFIX)/man1/$(NAME).1 clean: - rm -f $(BIN) + rm -f $(NAME) diff --git a/README b/README @@ -1,4 +1,4 @@ -# spectrum +# nausea This is a simple audio spectrum visualizer. It works well with the mpd music player daemon. It was originally inspired by the visualizer @@ -14,17 +14,17 @@ because it's the only one supported for now. format "44100:16:2" } -Then start spectrum with: +Then start the program with: - $ spectrum + $ nausea Alternatively specify the path of your mpd fifo with: - $ spectrum <path-to-fifo> + $ nausea <path-to-fifo> -To try out spectrum with color support try: +To try it out with color support try: - $ xterm -bg black -fa "Monospace:pixelsize=12" -e ./spectrum -c + $ xterm -bg black -fa "Monospace:pixelsize=12" -e ./nausea -c Some test sound files can be found here: diff --git a/nausea.1 b/nausea.1 @@ -0,0 +1,28 @@ +.Dd Nov 22, 2013 +.Dt NAUSEA 1 +.Os +.Sh NAME +.Nm nausea +.Nd curses audio visualizer +.Sh SYNOPSIS +.Nm nausea +.Op Fl hcp +.Op Ar fifo +.Sh DESCRIPTION +The +.Nm +program performs a discrete fourier transform and plots the spectrogram +in real time using curses. The current implementation expects the input +stream to be 44.1kHz, 16-bit little endian and 2 channels. The default +.Ar fifo +path is +.Pa /tmp/audio.fifo . +.Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl h +Show usage line. +.It Fl c +Enable color support. +.It Fl p +Enable falling peaks. diff --git a/spectrum.c b/nausea.c diff --git a/spectrum.1 b/spectrum.1 @@ -1,28 +0,0 @@ -.Dd Nov 22, 2013 -.Dt SPECTRUM 1 -.Os -.Sh NAME -.Nm spectrum -.Nd curses audio visualizer -.Sh SYNOPSIS -.Nm spectrum -.Op Fl hcp -.Op Ar fifo -.Sh DESCRIPTION -The -.Nm -program performs a discrete fourier transform and plots the spectrogram -in real time using curses. The current implementation expects the input -stream to be 44.1kHz, 16-bit little endian and 2 channels. The default -.Ar fifo -path is -.Pa /tmp/audio.fifo . -.Pp -The options are as follows: -.Bl -tag -width Ds -.It Fl h -Show usage line. -.It Fl c -Enable color support. -.It Fl p -Enable falling peaks.