this post was submitted on 13 Jan 2024
16 points (100.0% liked)

Programming

17509 readers
7 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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

top 4 comments
sorted by: hot top controversial new old
[–] expr 4 points 10 months ago

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?

[–] Olissipo 2 points 10 months ago

One that is written in C and also has a Python module: https://aubio.org/

[–] [email protected] 1 points 10 months ago
[–] vcmj 0 points 10 months ago

Not an answer to the question, but in case performance is the goal, Torchaudio has it here