A library in a compiled language that calculate MFCC of an audio file?
A library in a compiled language that calculate MFCC of an audio file?
In Python one would write:
file_name = 'fdsafdsafds.wav'
audio, sample_rate = librosa.load(file_name, res_type='kaiser_fast')
mfccs = librosa.feature.mfcc(y=audio, sr=sample_rate, n_mfcc=40)
Is there such a library or the one with this functionality in other, compiled languages? in C++, Go, Rust, .NET.... I haven't found any
4 comments
expr @programming.dev I know nothing about this topic, but a quick Google did give me this https://crates.io/crates/mfcc, which looks like it might do what you're after?
4 0 ReplyOlissipo @programming.dev
One that is written in C and also has a Python module: https://aubio.org/
2 0 ReplyTheLongPrice @lemmy.one You could use kaldi: https://kaldi-asr.org/doc/compute-mfcc-feats_8cc.html
1 0 Replyvcmj @programming.dev Not an answer to the question, but in case performance is the goal, Torchaudio has it here
0 0 Reply