Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nschloe/spectro
:musical_note: Audio file analysis
https://github.com/nschloe/spectro
audio mp3 spectral-analysis
Last synced: 4 days ago
JSON representation
:musical_note: Audio file analysis
- Host: GitHub
- URL: https://github.com/nschloe/spectro
- Owner: nschloe
- License: gpl-3.0
- Created: 2020-03-25T16:27:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-09T19:18:38.000Z (almost 3 years ago)
- Last Synced: 2024-11-02T00:42:10.349Z (11 days ago)
- Topics: audio, mp3, spectral-analysis
- Language: Python
- Homepage:
- Size: 515 KB
- Stars: 47
- Watchers: 5
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Delicious audio file spectrograms.
[![PyPi Version](https://img.shields.io/pypi/v/spectro.svg?style=flat-square)](https://pypi.org/project/spectro)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/spectro.svg?style=flat-square)](https://pypi.org/pypi/spectro/)
[![GitHub stars](https://img.shields.io/github/stars/nschloe/spectro.svg?style=flat-square&logo=github&label=Stars&logoColor=white)](https://github.com/nschloe/spectro)
[![PyPi downloads](https://img.shields.io/pypi/dm/spectro.svg?style=flat-square)](https://pypistats.org/packages/spectro)[![gh-actions](https://img.shields.io/github/workflow/status/nschloe/spectro/ci?style=flat-square)](https://github.com/nschloe/spectro/actions?query=workflow%3Aci)
[![codecov](https://img.shields.io/codecov/c/github/nschloe/spectro.svg?style=flat-square)](https://codecov.io/gh/nschloe/spectro)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)spectro is a collection of easy-to-use Python and command-line tools for analyzing audio
files. Install from [PyPi](https://pypi.org/project/spectro/) with
```
pip install spectro
```
and use with
```bash
spectro show filename.mp3 # shows the wave spectrum of the audio file
spectro check {dirname or filename.mp3} # checks if the audio file is worse than it pretends to be
```
See `-h` for their respective command-line arguments.The quality of MP3 files is typically determined by their bitrate. For audio files, *128
kbps* (kilobit per second) is considered low quality, *320 kbps* is considered high
quality. It is of course possible to re-encode a low-quality MP3 with a higher bitrate
or even a WAV file. spectro can help singling out those foul eggs.Here is the `spectro show` output of a [sample
file](https://nschloe.github.io/spectro/Yamaha-V50-Ride-Pattern-120bpm.wav) (only first
channel shown):| |
:-------------------:|:------------------:|:--------------:|
Full-quality WAV | 320 kbps MP3 | 256 kbps MP3 |
| |
| 192 kbps MP3 | 128 kbps MP3 | 96 kbps MP3 |
| |
| 64 kbps MP3 | 32 kbps MP3 | 16 kbps MP3 |