Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Feb 7, 2024
1 parent d5ca9a7 commit bf8d3b9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ npm install --save @picovoice/orca-web
Create an instance of the engine using `OrcaWorker` and synthesize speech:

```typescript
import { OrcaWorker } from "@picovoice/orca-web";
import { OrcaWorker, OrcaSpeech } from "@picovoice/orca-web";
import orcaParams from "${PATH_TO_BASE64_ORCA_PARAMS}";

function orcaSpeechCallback(orcaSpeech: OrcaSpeech) {
Expand Down
4 changes: 2 additions & 2 deletions binding/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Orca Text-to-Speech engine for web browsers (via WebAssembly)",
"author": "Picovoice Inc",
"license": "Apache-2.0",
"version": "1.0.0",
"version": "0.1.2",
"keywords": [
"orca",
"web",
Expand Down Expand Up @@ -33,7 +33,7 @@
"test-perf": "cypress run --spec test/orca_perf.test.ts"
},
"dependencies": {
"@picovoice/web-utils": "=1.3.1"
"@picovoice/web-utils": "=1.3.4"
},
"devDependencies": {
"@babel/core": "^7.21.3",
Expand Down
2 changes: 1 addition & 1 deletion binding/web/src/orca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export class Orca {
* @param model.version Version of the model file. Increment to update the model file in storage.
* @param options Optional configuration arguments.
* @param options.synthesizeErrorCallback User-defined callback invoked if any error happens
* during synthesis. Its only input argument is the error message.
* while synthesizing speech. Its only input argument is the error message.
*
* @returns An instance of the Orca engine.
*/
Expand Down
2 changes: 1 addition & 1 deletion binding/web/src/orca_worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class OrcaWorker {
* @param model.version Version of the model file. Increment to update the model file in storage.
* @param options Optional configuration arguments.
* @param options.synthesizeErrorCallback User-defined callback invoked if any error happens
* while synthesizing the text. Its only input argument is the error message.
* while synthesizing speech. Its only input argument is the error message.
*
* @returns An instance of OrcaWorker.
*/
Expand Down
2 changes: 1 addition & 1 deletion demo/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orca-web-demo",
"version": "1.0.0",
"version": "0.1.2",
"description": "A basic demo to show how to use Orca for web browsers, using the IIFE version of the library",
"main": "index.js",
"private": true,
Expand Down

0 comments on commit bf8d3b9

Please sign in to comment.