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) mx, px = calc_spectrums(x, n_fft, hop_length, win_length) plot_mag_spectrum(mx, sr, hop_length, max_bin=300)