audioFlux
一个用于音频和音乐分析、特征提取的库,支持多种时频分析变换方法和特征组合,适用于深度学习训练和音频领域研究。
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
Sora Watermark Remover - Allows you to remove the watermark from Sora videos.Try Now
一个用于音频和音乐分析、特征提取的库,支持多种时频分析变换方法和特征组合,适用于深度学习训练和音频领域研究。
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
- 代码示例 bash pip install audioflux ``````pythonimport numpy as npimport audioflux as afimport matplotlib.pyplot as pltfrom audioflux.display import fill_spec# Get a 220Hz's audio file pathsample_path = af.utils.sample_path('220')# Read audio data and sample rateaudio_arr, sr = af.read(sample_path)# Extract mel spectrogramspec_arr, mel_fre_band_arr = af.mel_spectrogram(audio_arr, num=128, radix2_exp=12, samplate=sr)spec_arr = np.abs(spec_arr)# Extract mfccmfcc_arr, _ = af.mfcc(audio_arr, cc_num=13, mel_num=128, radix2_exp=12, samplate=sr)# Displayaudio_len = audio_arr.shape[0]# calculate x/y-coordsx_coords = np.linspace(0, audio_len / sr, spec_arr.shape[1] + 1)y_coords = np.insert(mel_fre_band_arr, 0, 0)fig, ax = plt.subplots()img = fill_spec(spec_arr, axes=ax, x_coords=x_coords, y_coords=y_coords, x_axis='time', y_axis='log', title='Mel Spectrogram')fig.colorbar(img, ax=ax)fig, ax = plt.subplots()img = fill_spec(mfcc_arr, axes=ax, x_coords=x_coords, x_axis='time', title='MFCC')fig.colorbar(img, ax=ax)plt.show()
- 示例代码:官方文档 - 后续更新计划:> 1. TF 1. emd/hht 2. cz(chirplet-transform)> 2. MIR 1. multi-pitch track 2. chord estimate> 3. adapter filter 1. linear/nonlinear 2. time/fre domain 3. kalmanSeedance 2 Delivers High Fidelity Motion and Audio Sync
Nano Banana AI Image Generator for Professional Image Creation with Nano Banana Pro Models
Create Cinematic AI Videos from Text or Images with Seedance 1.5
The Tatted AI Tattoo Generator is a tool that allows you to create beautiful custom tattoos within seconds.
Discover your PSL (Perceived Sexual Market Value) score with our AI-powered facial analysis
IPYNB to PDF Converter – Free & Secure