https://github.com/nvfp/music-visualizer
Listen and Watch the music!
https://github.com/nvfp/music-visualizer
audio-visualization ffmpeg music-visualizer python
Last synced: 10 months ago
JSON representation
Listen and Watch the music!
- Host: GitHub
- URL: https://github.com/nvfp/music-visualizer
- Owner: nvfp
- License: mit
- Created: 2023-04-05T11:20:12.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T08:05:19.000Z (about 3 years ago)
- Last Synced: 2025-07-19T20:27:47.993Z (11 months ago)
- Topics: audio-visualization, ffmpeg, music-visualizer, python
- Language: Python
- Homepage:
- Size: 10.8 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Music-Visualizer
Visualizing various aspects of music: CQT, channel differences, spectrums, waves, power, and volumes.
[](https://www.youtube.com/watch?v=OXY-12lkqgE)
### [Demo video](https://www.youtube.com/watch?v=OXY-12lkqgE).
## How to install
1. Download this repository and save it to your machine (e.g. ~/code/Music-Visualizer)
2. Install [FFmpeg](https://ffmpeg.org/download.html) on your machine, if it is not already installed.
## Introductory usage
- Take a look at all the available options
```sh
python Music-Visualizer -h
```
- Single file
```sh
python Music-Visualizer -i music.mp3
```
```sh
python Music-Visualizer -i full/path/to/the/music.m4a
```
With custom output dir:
```sh
python Music-Visualizer -i music.wav -o abs/path/to/the/folder
```
With custom ffmpeg:
```sh
python Music-Visualizer -i music.wav -ff ~/ffmpeg/bin/ffmpeg.exe
```
- Multiple files
```sh
python Music-Visualizer -i folder/of/music
```
- Using GPU
- AMD:
```sh
python Music-Visualizer -i folder/of/music -g a
```
- NVIDIA:
```sh
python Music-Visualizer -i folder/of/music -g n
```
Lossless render (full quality):
```sh
python Music-Visualizer -i folder/of/music -g n -q 0
```
- 60 frames per second
```sh
python Music-Visualizer -i music.m4a -r 60
```
## Customized style
- custom title font:
- Linux:
```sh
python Music-Visualizer -i music.m4a -tf ~/.fonts/Arial.ttf
```
- Windows:
```sh
python Music-Visualizer -i music.m4a -tf C\:/Windows/Fonts/Arial.ttf
```
- MacOS:
```sh
python Music-Visualizer -i music.m4a -tf /Library/Fonts/Arial.ttf
```
- color scheme:
```sh
python Music-Visualizer -i music.m4a -pc #fafbfa -wcl #3280c9 -wcr #32c958 -vc #ee2020
```
## Limitations
- The only resolution option available is HD (1280x720)
## Troubleshooting
- if you encounter this error message `Option 'rate' not found`, search for "#BUG" in `main/main.py` and follow the written instructions
- if `--vol_color` showing wrong color, check the comments near the end of the file `main/arg_parser.py`
## License
This project is licensed under the MIT license.