File size: 877 Bytes
8973ee5
 
f572e3f
4cb1920
8973ee5
17be790
a9fdeb0
1195e70
17be790
 
 
44a5c8a
17be790
 
 
 
6ea1f69
 
17be790
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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)