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.1

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

Uploaded CPython 3.13+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: sonusai-1.3.1-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.3 {"installer":{"name":"uv","version":"0.11.3","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.1-cp313-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d007c126b42c31ad9af2db7a5a8ef5021db60c74555ce4b455af75b859490db7
MD5 ce878f8ad83eb2fd3b88997993750387
BLAKE2b-256 5dfa4f3e4d8599cd47aca8d5366f5f7eb200bf78c37ec3f8f407774c83be27db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sonusai-1.3.1-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.3 {"installer":{"name":"uv","version":"0.11.3","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.1-cp313-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8f89a29f97c9d69efaa563b80a598f68d833d965a1b546fa175167c2f132625e
MD5 87cc930b5cd7c2bf71c62511d62225c8
BLAKE2b-256 fab1ae7d01622a326bfafccc652d4ef6a22528fc0cfdadc7c25d81dde81740ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sonusai-1.3.1-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.3 {"installer":{"name":"uv","version":"0.11.3","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.1-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7fd2a1786cb5408dfcd41521fd4dc08cdb5613dc3cf695352cddff5586dc957
MD5 ef30d315368ef0bf20afa61cb13456fe
BLAKE2b-256 9d1e03491d3c1ad71072787924468c639a1737c827ebf3056680012d7d99ec30

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