Skip to content

Commit

Permalink
bump pvspeaker version
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Sep 3, 2024
1 parent 57db4ac commit 3466fca
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions demo/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@picovoice/orca-node-demo",
"version": "1.0.0",
"version": "1.0.1",
"description": "Picovoice Orca Node.js file-based and streaming demos",
"scripts": {
"file": "node file.js",
Expand All @@ -22,7 +22,7 @@
"license": "Apache-2.0",
"dependencies": {
"@picovoice/orca-node": "=1.0.0",
"@picovoice/pvspeaker-node": "^1.0.0",
"@picovoice/pvspeaker-node": "^1.0.1",
"commander": "^6.1.0",
"prettier": "^2.6.2",
"readline": "^1.3.0",
Expand Down
4 changes: 1 addition & 3 deletions demo/nodejs/streaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,7 @@ async function streamingDemo() {
if (pcmBuffer.length > 0 && speaker !== null && (isStartedPlaying || numAudioChunks >= audioWaitChunks)) {
const arrayBuffer = new Int16Array(pcmBuffer).buffer;
const written = speaker.write(arrayBuffer);
if (written < arrayBuffer.byteLength) {
pcmBuffer = pcmBuffer.slice(written);
}
pcmBuffer = pcmBuffer.slice(written);
isStartedPlaying = true;
}

Expand Down
8 changes: 4 additions & 4 deletions demo/nodejs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
resolved "https://registry.yarnpkg.com/@picovoice/orca-node/-/orca-node-1.0.0.tgz#812728c3183a914eff6b3189dfa958ef4d44f2f7"
integrity sha512-YDTqJ5KsueBC4Nj0Zo287VF+/y7SRjXbOyHy8h66joJYPF0QNsz8oDCzbQO7hzymNbkFXd0crMPK+gQElvd83w==

"@picovoice/pvspeaker-node@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@picovoice/pvspeaker-node/-/pvspeaker-node-1.0.0.tgz#6b87b86138a8bb256e46ea41cb7d258ff8534337"
integrity sha512-qhH4ktObGj/Dd7iiptPXqf89U3l7FbCiaB1xY439YE3EFLsfsvZvjAzEwsF5A01h47AbXJTCdAjvkXrcsdt0/w==
"@picovoice/pvspeaker-node@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@picovoice/pvspeaker-node/-/pvspeaker-node-1.0.1.tgz#0524c9509a88eb50f3975cbe3c5012058a54619b"
integrity sha512-4/QBYcp3GZ+2ewq2QuyCn7pnqXdfwj90qbINecKtBsCXKLtl/XHLmXOqgfoy+RBSXmA5wjV/LuOHvqVibrxAuQ==

commander@^6.1.0:
version "6.2.1"
Expand Down
2 changes: 1 addition & 1 deletion demo/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy>=1.24.0
pvorca==1.0.0
pvspeaker==1.0.2
pvspeaker==1.0.3
tiktoken==0.6.0
4 changes: 2 additions & 2 deletions demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@

setuptools.setup(
name="pvorcademo",
version="1.0.0",
version="1.0.1",
author="Picovoice",
author_email="[email protected]",
description="Orca Streaming Text-to-Speech Engine demos",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/orca",
packages=["pvorcademo"],
install_requires=["numpy>=1.24.0", "pvorca==1.0.0", "pvspeaker==1.0.2", "tiktoken==0.6.0"],
install_requires=["numpy>=1.24.0", "pvorca==1.0.0", "pvspeaker==1.0.3", "tiktoken==0.6.0"],
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit 3466fca

Please sign in to comment.