File size: 1,110 Bytes
d0b4949 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# rnnoise
## Input
Audio file
- Sample rate: 48 kHz
- Bit per sample: 16-bit
- Bit rate: 768 kbps
https://github.com/axinc-ai/ailia-models/assets/29946532/f1908958-d3be-44a7-9180-59c375bb488c
(Audio from https://jmvalin.ca/demo/rnnoise/)
## Output
Audio file
https://github.com/axinc-ai/ailia-models/assets/29946532/21eaf44d-bffd-428a-9637-f5d385364698
## Usage
Automatically downloads the onnx and prototxt files on the first run.
It is necessary to be connected to the Internet while downloading.
For the sample wav,
```bash
$ python3 rnnoise.py
```
If you want to specify the audio, put the file path after the `--input` option.
You can use `--savepath` option to change the name of the output file to save.
```bash
$ python3 rnnoise.py --input AUDIO_FILE --savepath SAVE_AUDIO_FILE
```
## Reference
- [rnnoise](https://github.com/xiph/rnnoise)
- [xiph.org / moz://a](https://jmvalin.ca/demo/rnnoise/)
## Framework
Keras
## Model Format
ONNX opset=14
## Netron
[rnn_model.onnx.prototxt](https://netron.app/?url=https://storage.googleapis.com/ailia-models/rnnoise/rnn_model.onnx.prototxt)
|