Skip to content

jhartquist/rtma-py

Repository files navigation

RTMA | Real-time Music Analysis

Install

pip install rtma

How to use

fn = "data/guitar_electronic_010-065-127.wav"
n_fft = 2048
hop_length = 512
win_length = 256

x, sr = load_audio(fn)
play_audio(x, sr)
Your browser does not support the audio element.
plot_audio(x, sr)

png

mx, px = calc_spectrums(x, n_fft, hop_length, win_length)
plot_mag_spectrum(mx, sr, hop_length, max_bin=300)

png

About

RTMA | Real-Time Music Analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages