This release is a pre-release and may not be stable for production use.
Speech Feature Kit
A Python wrapper for convenient speech feature extraction
Installation
pip install speech-features-kit
Functions
- MFCC feature analysis
- Volume analysis
- Emotion analysis
Example of emotion analysis
from speech_features_kit.Emotion.speech_toolkit import SpeechEmotionToolkit
# set the path of pre-trained model for speech emotion model
# the used model here is optimized for Chinese speech; however, it is possible you can train your own model.
speech_kit = SpeechEmotionToolkit()
# load the model
speech_kit.load()
# obtain emotion list with timestamp given an audio file
list_emo, list_timestamp = speech_kit.get_emotion_list_by_blocks(audio_file="../data/english.wav",
num_sec_each_file=1)
# print the list of emotion over timestamp
print("Time interval\tEmotion")
for idx, e in enumerate(list_emo):
print(list_timestamp[idx], "\t", e)
Note
Other functions please see the examples folder!
Metadata
Release files for speech-features-kit 1.0.0.dev6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| speech-features-kit-1.0.0.dev6.tar.gz | 4.3 MB | Without provenance | Details for speech-features-kit-1.0.0.dev6.tar.gz |
Release files / speech-features-kit-1.0.0.dev6.tar.gz
| Download URL | speech-features-kit-1.0.0.dev6.tar.gz |
|---|---|
| Size | 4.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec796ccf8eb5ab5238699ffa39b97a1852cb86c2e841046090ecc609162f413d
|
|
BLAKE2b-256 checksum How to use checksums |
9b093ce2ea4eea4eda7a95bd359b804b0198f6452ad304ac3c705ff31efb5be9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
|
Security for speech-features-kit 1.0.0.dev6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.