terminal audio visualizer for linux/unix/macOS/windows*
*windows needs work
- PortAudio (linux/macOS/windblows*)
- PulseAudio (parec/FFmpeg)
- AVFoundation (FFmpeg)
- ALSA (FFmpeg)
-
go modules
- github.com/nsf/termbox-go
- github.com/integrii/flaggy
- github.com/pkg/errors
- github.com/lawl/pulseaudio
- gonum.org/v1/gonum
-
c libraries (optional, disable with
CGO_ENABLED=0
)- fftw (fftw3)
- portaudio (portaudio-2.0) (disable with
-tags noportaudio
)
-
binaries
- ffmpeg (required for FFmpeg backends)
- parec (required for PulseAudio backend with parec)
# get source
git clone https://github.com/noriah/catnip.git
# cd to source
cd catnip
# build and install catnip
go install
# without cgo
CGO_ENABLED=0 go install
# without portaudio
go install -tags noportaudio
- use
catnip list-backends
to show available backends - use
catnip -b {backend} list-devices
to show available devices - use
catnip -b {backend} -d {device}
to run - use the full device name - use
catnip -h
for information on several more customizations