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.13+ (Python 3.13 and 3.14 supported)
  • 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

This version

1.3.0

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.3.0-cp313-abi3-manylinux_2_28_x86_64.whl (6.4 MB view details)

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

sonusai-1.3.0-cp313-abi3-manylinux_2_28_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.28+ ARM64

sonusai-1.3.0-cp313-abi3-macosx_11_0_arm64.whl (6.3 MB view details)

Uploaded CPython 3.13+macOS 11.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

File details

Details for the file sonusai-1.3.0-cp313-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: sonusai-1.3.0-cp313-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.13+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.3.0-cp313-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b17add463035b060909ffeec85db2735b2431f09625a15c0e66aed35959294fd
MD5 a999f43aa9e3020d13a5eebb1a9b8ae1
BLAKE2b-256 3a3590b6e1ebc2c70b3cda753388c821e74319fb294b01b91ab2d3d3a96ae86e

See more details on using hashes here.

File details

Details for the file sonusai-1.3.0-cp313-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: sonusai-1.3.0-cp313-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.13+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.3.0-cp313-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1ff5193a268870b6b770a67a5e8aededdbdf8afc1ae9bb5be109c001f568aa36
MD5 21e3e98d51e66c359d2e2523ec187b40
BLAKE2b-256 995e815707767d21569f8a3aab1c7933912f1eb3f438b18341e55facc9e6d258

See more details on using hashes here.

File details

Details for the file sonusai-1.3.0-cp313-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: sonusai-1.3.0-cp313-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.13+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.3.0-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd97e29d616597945e077c9fa5e610665c7727d82ee3274bc63e7865ff6fcc21
MD5 48def25a009a441a5ea243530cce3206
BLAKE2b-256 b86effe55bc004196b9b3c1fd6613b95b69e7c18dd9e4698fcd2cb74e572257a

See more details on using hashes here.

File details

Details for the file sonusai-1.3.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: sonusai-1.3.0-cp311-cp311-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.11.2 {"installer":{"name":"uv","version":"0.11.2","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.3.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fc6da53762874df28e65cd56fe6001e2bf05703641a5f78b80c6d0bf34cf5e91
MD5 a3ab9e247792196b110b1fa44a659729
BLAKE2b-256 d961129e1f3938caacf7b752cec01694393133de8e1095465a01647215d65c1d

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