Skip to main content

Python wrapper for common openSMILE feature sets

Project description

Test status code coverage opensmile's documentation opensmile's supported Python versions opensmile's audEERING license

Python interface for extracting openSMILE features.

$ pip install opensmile

Feature sets

Currently, three standard sets are supported. ComParE 2016 is the largest with more than 6k features. The smaller sets GeMAPS and eGeMAPS come in variants v01a, v01b and v02 (only eGeMAPS). We suggest to use the latest version unless backward compatibility with the original papers is desired.

Each feature set can be extracted on two levels:

  • Low-level descriptors (LDD)

  • Functionals

For ComParE 2016 a third level is available:

  • LLD deltas

The following table lists the number of features for each set and level.

With v2.0.0

Name

#features

ComParE_2016

65 / 65 / 6373

GeMAPSv01a

18 / - / 62

GeMAPSv01b

18 / - / 62

eGeMAPSv01a

23 / - / 88

eGeMAPSv01b

23 / - / 88

eGeMAPSv02

25 / - / 88

Pre v2.0.0

Name

#features

ComParE_2016

65 / 65 / 6373

GeMAPSv01a

5 / 13 / 62

GeMAPSv01b

5 / 13 / 62

eGeMAPSv01a

10 / 13 / 88

eGeMAPSv01b

10 / 13 / 88

Code example

Code example, that extracts ComParE 2016 functionals from an audio file:

import opensmile

smile = opensmile.Smile(
    feature_set=opensmile.FeatureSet.ComParE_2016,
    feature_level=opensmile.FeatureLevel.Functionals,
)
y = smile.process_file('audio.wav')

License

openSMILE follows a dual-licensing model. Since the main goal of the project is a widespread use of the software to facilitate research in the field of machine learning from audio-visual signals, the source code and binaries are freely available for private, research, and educational use under an open-source license (see LICENSE). It is not allowed to use the open-source version of openSMILE for any sort of commercial product. Fundamental research in companies, for example, is permitted, but if a product is the result of the research, we require you to buy a commercial development license. Contact us at info@audeering.com (or visit us at https://www.audeering.com) for more information.

Original authors: Florian Eyben, Felix Weninger, Martin Wöllmer, Björn Schuller

Copyright © 2008-2013, Institute for Human-Machine Communication, Technische Universität München, Germany

Copyright © 2013-2015, audEERING UG (haftungsbeschränkt)

Copyright © 2016-2020, audEERING GmbH

Citing

Please cite openSMILE in your publications by citing the following paper:

Florian Eyben, Martin Wöllmer, Björn Schuller: “openSMILE - The Munich Versatile and Fast Open-Source Audio Feature Extractor”, Proc. ACM Multimedia (MM), ACM, Florence, Italy, ISBN 978-1-60558-933-6, pp. 1459-1462, 25.-29.10.2010.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opensmile-2.0.2.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

opensmile-2.0.2-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file opensmile-2.0.2.tar.gz.

File metadata

  • Download URL: opensmile-2.0.2.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for opensmile-2.0.2.tar.gz
Algorithm Hash digest
SHA256 b6d3f8a0d2f3155ae2e4b9a71c0e1f6417cdd65f802e5c43c2d2b5370ad10f0b
MD5 5fb9f80f6ea1279f0e7db3c75ddfd27f
BLAKE2b-256 7c28b590bf238b24a71a5fdaba087ecb7cec741518eac45c37b85245de000308

See more details on using hashes here.

File details

Details for the file opensmile-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: opensmile-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for opensmile-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 977ea430138449a4a54175eff4582aebe028a0d84e0c75b494f4422e1f1d1fb8
MD5 d0217afd23859bc3657526ad84832108
BLAKE2b-256 0528e7343f4f39f43fd25a23d344ea34090834cf4c34de0fea0edef37e6af963

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page