Skip to content
/ catnip Public
forked from noriah/catnip

terminal audio visualizer for linux/unix/macOS/windblows*

License

Notifications You must be signed in to change notification settings

k713927/catnip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

catnip

love made-with-go betamax-was-a-thing

terminal audio visualizer for linux/unix/macOS/windows*

*windows needs work

it supports audio backends

  • PortAudio (linux/macOS/windblows*)
  • PulseAudio (parec/FFmpeg)
  • AVFoundation (FFmpeg)
  • ALSA (FFmpeg)

it depends on

  • 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 it

# 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

run it

  • 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

question it

catnip?

long story, short explanation

update

About

terminal audio visualizer for linux/unix/macOS/windblows*

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%