• 2024-12-16绘制1/3倍频程频谱图
    对wav格式文件,绘制1/3倍频程频谱图,频率范围为20-10000Hz。fromscipy.ioimportwavfilefromscipy.fftimportfftimportnumpyasnpimportmatplotlib.pyplotaspltimportlibrosa#fromscipy.signalimporthammingdefone_third_octave(audio_path):samp