https://github.com/mic159/spectrum-console
Python real-time Spectrum Analyser FFT on the console
https://github.com/mic159/spectrum-console
fft music python sound visualization
Last synced: about 1 year ago
JSON representation
Python real-time Spectrum Analyser FFT on the console
- Host: GitHub
- URL: https://github.com/mic159/spectrum-console
- Owner: mic159
- Created: 2017-02-18T13:19:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T13:33:35.000Z (about 9 years ago)
- Last Synced: 2025-03-31T04:32:11.219Z (about 1 year ago)
- Topics: fft, music, python, sound, visualization
- Language: Python
- Homepage:
- Size: 106 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Spectrum Analyser
This is a simple example of a real-time FFT Spectrum Analyser
that runs on the console.

## Installation
#### Ubuntu
```bash
sudo apt install portaudio19-dev
pip install spectrum-console
spectrum-console
```
#### MacOS
```bash
brew install portaudio
pip install spectrum-console
spectrum-console
```
You must make your console at least 98 characters wide.
## Using the loopback/mirror sound input
On Ubuntu, If you want to show the computer's output instead of
a microphone you can use `pavucontrol`.
`sudo apt install pavucontrol`
Navigate to the **Input Devices** tab, then change **Show** at
the bottom to **All Input Devices**.
Now check the **Set as fallback** green tick next to
**Monitor of Built-in Audio**.