Skip to main content

Framework for building deep neural network models for sound, speech, and voice AI

Project description

SonusAI

Aaware Sound and Voice Machine Learning Framework.

SonusAI is a Python framework for building deep neural network models for sound, speech, and voice AI, with a performance-critical core implemented in Rust.

Key Features

  • Performance Core: High-performance signal processing and data management in Rust.
  • Data Augmentation: Advanced noise mixing, pitch shifting, and time-stretching.
  • Model Support: Training and evaluation support for RCNNs, binary, and multi-label classification.
  • Mixture Generation: Powerful engine for creating complex audio mixture databases.

Getting Started

Refer to the Development Guide for installation and setup instructions.

Prerequisites

  • Python 3.11
  • Rust Toolchain
  • uv

Quick Build

./build_local.sh

Documentation

Command Overview

   calc_metric_spenh            Run speech enhancement and analysis
   doc                          Documentation
   evaluate                     Evaluate model performance
   genft                        Generate feature and truth data
   genmix                       Generate mixture and truth data
   genmixdb                     Generate a mixture database
   gentcst                      Generate target configuration from a subdirectory tree
   keras_onnx                   Convert a trained Keras model to ONNX
   keras_predict                Run Keras predict on a trained model
   keras_train                  Train a model using Keras
   lsdb                         List information about a mixture database
   mkmanifest                   Make ASR manifest JSON file
   mkwav                        Make WAV files from a mixture database
   onnx_predict                 Run ONNX predict on a trained model
   plot                         Plot mixture data
   post_spenh_targetf           Run post-processing for speech enhancement targetf data
   torchl_onnx                  Convert a trained Pytorch Lightning model to ONNX
   torchl_predict               Run Lightning predict on a trained model
   torchl_train                 Train a model using Lightning
   tplot                        Plot truth data
   vars                         List custom SonusAI variables

Use sonusai help <command> for detailed information on any command.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sonusai-1.1.2-cp311-abi3-manylinux_2_28_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

sonusai-1.1.2-cp311-abi3-manylinux_2_28_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

sonusai-1.1.2-cp311-abi3-macosx_11_0_arm64.whl (6.3 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file sonusai-1.1.2-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: sonusai-1.1.2-cp311-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.11+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sonusai-1.1.2-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e5ea86ffd4759ad4fe9fe3f350c6690c107f8e0cc4439f417a973157af1bbe2c
MD5 1c7cf302e3309264bb7afedf82c6e8f9
BLAKE2b-256 3da58fa319412d0556d8179900f761f01a0b3351aa20a3a4397eb3f90ca70e90

See more details on using hashes here.

File details

Details for the file sonusai-1.1.2-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: sonusai-1.1.2-cp311-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.11+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sonusai-1.1.2-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 87db66a3174143b1dde9ff5ab48d0f5067bbb9e11b3d6f52e06a8088ac662c74
MD5 345b746ba618efba9bb70f23f3f3f2a9
BLAKE2b-256 31db3d9764b81d9f1eb747c6fc2daeb4d762e45b7ec54bf8abcd7b3154f5c671

See more details on using hashes here.

File details

Details for the file sonusai-1.1.2-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: sonusai-1.1.2-cp311-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.11+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sonusai-1.1.2-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 51d156b05904d2a5d5e3aecbd9495dabdab0d0413075563578c81772b167cd4c
MD5 9b63a20c5bc290b15654bccf0177a206
BLAKE2b-256 ec542fdd58c7757a836035f2e92550bddca6f9fbc2e0902417819f58da5fe060

See more details on using hashes here.

Supported by

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