Skip to main content

Senselab is a Python package that simplifies building pipelines for speech and voice analysis.

Project description

Build codecov Ruff

PyPI Python Version License

pages

Welcome to senselab! This is a Python package for streamlining the processing and analysis of behavioral data, such as voice and speech patterns, with robust and reproducible methodologies.

Caution:: this package is still under development and may change rapidly over the next few weeks.

Installation

Install this package via:

pip install senselab

Or get the newest development version via:

pip install git+https://github.com/sensein/senselab.git

Quick start

from senselab.audio.data_structures import Audio
from senselab.audio.tasks.preprocessing import resample_audios

audio1 = Audio.from_filepath('path_to_audio_file.wav')

print("The original audio has a sampling rate of {} Hz.".format(audio1.sampling_rate))
[audio1] = resample_audios([audio1], resample_rate=16000)
print("The resampled audio has a sampling rate of {} Hz.".format(audio1.sampling_rate))

For more detailed information, check out our Getting Started Tutorial.

Why should I use senselab?

  • Modular Design: Easily integrate or use standalone transformations for flexible data manipulation.
  • Pre-built Pipelines: Access pre-configured pipelines to reduce setup time and effort.
  • Reproducibility: Ensure consistent and verifiable results with fixed seeds and version-controlled steps.
  • Easy Integration: Seamlessly fit into existing workflows with minimal configuration.
  • Extensible: Modify and contribute custom transformations and pipelines to meet specific research needs.
  • Comprehensive Documentation: Detailed guides, examples, and documentation for all features and modules.
  • Performance Optimized: Efficiently process large datasets with optimized code and algorithms.
  • Interactive Examples: Jupyter notebooks provide practical examples for deriving insights from real-world datasets.

Contributing

Please see CONTRIBUTING.md before contributing.

To find out what's currently in progress, please check the Project Board.

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

senselab-0.21.0.tar.gz (102.9 kB view details)

Uploaded Source

Built Distribution

senselab-0.21.0-py3-none-any.whl (144.5 kB view details)

Uploaded Python 3

File details

Details for the file senselab-0.21.0.tar.gz.

File metadata

  • Download URL: senselab-0.21.0.tar.gz
  • Upload date:
  • Size: 102.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure

File hashes

Hashes for senselab-0.21.0.tar.gz
Algorithm Hash digest
SHA256 2a928087d415aa5ded39a9ff5e75881ebc1a2070c6f405cc49db5320e4e24f61
MD5 34c95e3f0d9522b2019510155655d0a5
BLAKE2b-256 f3c421ca20188af40d1a155f0b2c67afb93932516f37368a22c3a53539760c4e

See more details on using hashes here.

File details

Details for the file senselab-0.21.0-py3-none-any.whl.

File metadata

  • Download URL: senselab-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 144.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure

File hashes

Hashes for senselab-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2cd57c0912ea0a41f902102f1e6fd0e35d88313e4e3f99bcd3605b7a3449b67
MD5 f4008da27ce6d6a21358b1874abb5a2b
BLAKE2b-256 9836f7fa49e6bdce0d0b3c3d63bbfed8ffd0fcfa0c01577e45f347a18f487a7b

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