Skip to content

Instantly share code, notes, and snippets.

View mattbis's full-sized avatar

Matthew mattbis

View GitHub Profile
@mattbis
mattbis / rename-wav-with-pitch.py
Created July 3, 2022 12:13 — forked from r4dian/rename-wav-with-pitch.py
Rename wav files using frequency and pitch detection
#!/usr/bin/env python2
import subprocess, os, glob, math
## /!\ Python 2.x /!\
## requires [Aubio](https://aubio.org)
## Rename wav files using frequency and pitch detection:
## GTR_08.wav ---> automated pitch detection & file renaming ---> GTR_08 - C3 (+0cents) - 130.81Hz.wav