Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Audio features #4

Open
EmreOzkose opened this issue Jul 4, 2024 · 0 comments
Open

Audio features #4

EmreOzkose opened this issue Jul 4, 2024 · 0 comments

Comments

@EmreOzkose
Copy link

Hi,

Can you share a script to extract features of raw inputs? I am trying to extract audio features with open-smile. When I extract eGeMAPS features, I got 88-dimensional array, however paper says audio features are 154-dimensional

import os
import opensmile
import audiofile

smile = opensmile.Smile(
    feature_set=opensmile.FeatureSet.eGeMAPSv02,
    feature_level=opensmile.FeatureLevel.Functionals,
)
len(smile.feature_names) # 88

signal, sampling_rate = audiofile.read(
    "path/to/wav",
    duration=30,
    always_2d=True,
)

smile.win_dur = 25
smile.hop_dur = 10

feature = smile.process_signal(
    signal,
    sampling_rate
)
# feature dimension is 88
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant