WebAssembly

In this section, we describe how to build text-to-speech from sherpa-onnx for WebAssembly so that you can run text-to-speech with WebAssembly.

Please follow the steps below to build and run sherpa-onnx for WebAssembly.

Hint

We provide a colab notebook build sherpa-onnx WebAssembly TTS colab for you to try this section step by step.

If you are using Windows or you don’t want to setup your local environment to build WebAssembly support, please use the above colab notebook.