An open API service indexing awesome lists of open source software.

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

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.

![screenshot](./example.gif)

## 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**.