mirror of
https://github.com/Picovoice/porcupine.git
synced 2022-01-28 03:27:53 +03:00
WASM (WebAssembly)
Keyword files are stored in binary format. In order to use them within a JavaScript environment you need to convert them
to a Uint8Array. You may use any tool to read the keyword file byte-by-byte. On a Linux box you can use xxd utility.
For example
xxd -i -g 1 resources/keyword_files/wasm/americano_wasm.ppn