unity-sentis onnx audio-to-audio license:mit region:us
---
license: mit
library_name: unity-sentis
pipeline_tag: audio-to-audio
---

# Model to turn 44kHz and 22kHz audio to 16kHz (Sentis version 1.4.0)
This contains models in Sentis format to convert 44kHz and 22kHz audioclips to 16kHz. Useful for models such as [Whisper-Tiny](https://huggingface.co/unity/sentis-whisper-tiny)

## How to Use
 *  Create a new scene in Unity 2023
 *  Install `com.unity.sentis` version `1.4.0` from the package manager
 *  Add the `AudioResample.cs` file to the Main Camera
 *  Place the audioClip in the inputAudio field and press play 
 *  The results will appear in the console
 *  Place the `*.sentis` files in the `Assets/StreamingAssets` folder

The original ONNX files are also included for convenience.
  
 ## Unity Sentis
 Sentis is the inference engine for Unity 2023. More can be found about it [here](https://unity.com/products/sentis)