Skip to content

Skullmc1/Musicvisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go TUI Music Visualizer

Visualizer

I made this cause i wanted to stare at something when i'm studying but also can't concentrate. Made it like this cause TUI has been getting some hype.

1. System Requirements

You need the PortAudio C library installed on your system.

  • macOS: brew install portaudio
  • Linux (Ubuntu/Debian): sudo apt-get install libportaudio2 libportaudio-cpp0 portaudio19-dev
  • Windows: Install via MSYS2 or ensure the DLL is in your path.

2. Installation

Initialize a module and get the dependencies:

go mod init visualizer
go get [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea)
go get [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss)
go get [github.com/gordonklaus/portaudio](https://github.com/gordonklaus/portaudio)
go get [github.com/mjibson/go-dsp/fft](https://github.com/mjibson/go-dsp/fft)

3. Run

go run main.go

Controls

  • Q / Esc / Ctrl+C: Quit
  • Resize Terminal: The UI adapts automatically.

Troubleshooting

If you see an error like pkg-config: exec: "pkg-config": executable file not found, install pkg-config via your package manager.

About

A small app to visualize music,

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages