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

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

sonusai-1.2.1-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.2.1-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: sonusai-1.2.1-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.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.2.1-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 57bebe80424238e8a634337c9aefde2759e65afc9962bbf7807b6f15b9873fc5
MD5 75712ae00da52822ad8646d49e4621e4
BLAKE2b-256 7fb2f789d5b25ae48bd95c28126ced9695d3d40fd2496cb07265fd7a37ed1ae4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sonusai-1.2.1-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.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.2.1-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 01285d755bb4f2a5bb3bb79811ccb3f3b326589f9136d6a8b48db1c7cf75a532
MD5 0bb0fb2cf286feb482626e98a9698971
BLAKE2b-256 d63a0019fb71bd13ed29ebb2cce53816c9ecb8c7de7b8ca11b9dae31050bfc3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sonusai-1.2.1-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.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.2.1-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 65648d17c01110236c4e3d8e5d774e632f15c35983f514c55ce1e3c23e7bee84
MD5 7b81ea512dc1de8363d132143b8cee93
BLAKE2b-256 21d27b8a4dc1a67ac92a7997802729985b944f2c7a920e1ad4f01a0156b47c36

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