Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
ai-coustics Speech Enhancement SDK for Rust
What is this SDK?
Our Speech Enhancement SDK delivers state-of-the-art audio processing capabilities, enabling you to enhance speech clarity and intelligibility in real-time.
Quick Start
Acquire an SDK License Key
To use the SDK, you'll need a license key. Contact our team to receive your time-limited demo key:
- Email: info@ai-coustics.com
- Website: ai-coustics.com
Once you have your license key, set it as an environment variable or pass it directly to the SDK initialization functions.
Integration
Enable the download-lib
feature to automatically download the library when building the crate.
[]
= { = "0.6.3", = ["download-lib"] }
If you want to provide your own library, use the AIC_LIB_PATH
environment variable to specify the path
to the directory where the library is located.
Example Usage
use ;
let license_key = var?;
// Create a speech enhancement model by selecting a model type
// and passing your license key as an &str
let mut model = new?;
// Initialize the model with your audio settings
model.initialize?;
let mut audio_buffer = vec!;
// The process function is where the actual enhancement is happening
// This is meant to be called in your real-time audio thread
model.process_interleaved?;
// You can also adjust parameters during processing
model.set_parameter?;
// For planar audio processing (separate channel buffers)
let mut audio = vec!; // 2 channels, 480 frames each
let mut audio_refs: = audio.iter_mut.map.collect;
model.initialize?;
model.process_planar?;
Running the Example
To run the example, make sure you have set your license key as an environment variable:
Then use the following commands to configure, build and run the example:
Compatibility
This crate currently builds on Linux and macOS. Windows is not yet supported.
Support & Resources
Documentation
- Basic Example - Sample code and integration patterns
Looking for Other Languages?
The ai-coustics Speech Enhancement SDK is available in multiple programming languages to fit your development needs:
Language | Repository | Description |
---|---|---|
C | aic-sdk-c | Core C interface and foundation library |
C++ | aic-sdk-cpp | C++ interface |
Node.js | aic-sdk-node | JavaScript/TypeScript bindings for Node.js |
Python | aic-sdk-py | Pythonic interface |
WebAssembly | aic-sdk-wasm | Browser-compatible WebAssembly build |
All SDKs provide the same core functionality with language-specific optimizations and idioms.
Get Help
Need assistance? We're here to support you:
- Issues: GitHub Issues
- Technical Support: info@ai-coustics.com
License
This Rust wrapper is distributed under the Apache 2.0 license, while the core C SDK is distributed under the proprietary AIC-SDK license.
Made with ❤️ by the ai-coustics team