Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.0 #36

Merged
merged 73 commits into from
Aug 21, 2024
Merged

V1.0 #36

Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
58d9308
replace sounddevice with pvspeaker
albho Jul 25, 2024
f348d58
wip - rm while loop
albho Jul 26, 2024
bb825d9
wip - use process
albho Jul 27, 2024
f2eca0f
c demo use pvspeaker
albho Jul 29, 2024
88ea946
pv_speaker_write to pthread
albho Jul 29, 2024
a7c9360
sleep 100ms
albho Jul 29, 2024
a4bccbb
rm while loop
albho Jul 30, 2024
3de4e1c
add wait chunks config
albho Jul 30, 2024
04a4e5c
all in main thread
albho Jul 30, 2024
88af0a4
cleanup
albho Jul 30, 2024
a737838
wip rm speaker
albho Jul 30, 2024
fe53aee
wip - rm write
albho Jul 30, 2024
f7520bf
orca thread
albho Jul 30, 2024
6a0f4fa
fix audio wait chunks counter
albho Jul 30, 2024
1c7e609
fix indent
albho Jul 30, 2024
c7b9053
fix indent
albho Jul 30, 2024
9372785
fix
albho Jul 30, 2024
bd728f9
minor
albho Jul 31, 2024
42b360e
cleanup
albho Jul 31, 2024
f0abd72
minor
albho Jul 31, 2024
3e40901
fix
albho Jul 31, 2024
d3f747c
fix
albho Jul 31, 2024
28ef8c7
use updated pvspeaker
albho Aug 6, 2024
74b80b9
fix spelling, rm jetson from workflows, install pulseaudio for workflows
albho Aug 6, 2024
0427991
fix
albho Aug 6, 2024
eb7ccb7
rm pulseaudio
albho Aug 7, 2024
14c3cf5
rm pulseaudio
albho Aug 7, 2024
288d35c
new libs and models
bejager Aug 12, 2024
6d58051
update tests
bejager Aug 12, 2024
0873972
remove jetson lib
bejager Aug 12, 2024
4d0ca57
Merge branch 'python-demo-pvspeaker' into v1.0
bejager Aug 12, 2024
ad4f607
remove jetson
bejager Aug 12, 2024
8d0f1d5
increase error tolerance
bejager Aug 12, 2024
185df81
update libs
bejager Aug 13, 2024
cc123ae
Merge branch 'main' of github.com:picovoice/orca into v1.0
bejager Aug 18, 2024
36317fe
update libs
bejager Aug 19, 2024
eec78b2
update models and tests
bejager Aug 19, 2024
144d52f
fix resource file
bejager Aug 19, 2024
ed867be
update version
bejager Aug 19, 2024
db1737c
update web tests
bejager Aug 19, 2024
22fb312
fix test
bejager Aug 19, 2024
a8cc5e3
final models
bejager Aug 19, 2024
9f6bc52
remove jetson
albho Aug 19, 2024
94e4ae8
readme updates
bejager Aug 19, 2024
61a38a9
nodejs-update
albho Aug 19, 2024
cb27ee6
update web
albho Aug 19, 2024
7ef74ea
update android
albho Aug 19, 2024
0f75782
update readme
bejager Aug 20, 2024
19fa703
android tests use staged repo
albho Aug 20, 2024
9a6d2dd
update demo versions nodejs web
Aug 20, 2024
c2cdb1d
update ios
Aug 20, 2024
b7c95bd
fix
Aug 20, 2024
7462889
update pods
Aug 20, 2024
4dc1727
fix
Aug 20, 2024
2f13741
add pv_set_sdk
Aug 20, 2024
2580910
update models, update animation
bejager Aug 20, 2024
aad2148
Merge branch 'v1.0' of github.com:Picovoice/orca into v1.0
bejager Aug 20, 2024
a57e8cc
minor fix android demo threading states
albho Aug 20, 2024
185d9c9
minor
albho Aug 20, 2024
01ee8ed
fix web re-attach buffers
albho Aug 20, 2024
efebeea
fix web demo
albho Aug 20, 2024
37bf239
fix web demo button states
albho Aug 20, 2024
19aaa6e
female model change
bejager Aug 21, 2024
78b9bb9
Merge branch 'v1.0' of github.com:Picovoice/orca into v1.0
bejager Aug 21, 2024
a42c650
use locally built libs
albho Aug 21, 2024
4d28896
web update
albho Aug 21, 2024
7206342
ios post-release
Aug 21, 2024
4c442e6
android post-release
albho Aug 21, 2024
aaf1562
nodejs post-release
albho Aug 21, 2024
e003461
update wasm libs
albho Aug 21, 2024
7e9545d
python release
ksyeo1010 Aug 21, 2024
ffdae3e
web post-release
albho Aug 21, 2024
772be4f
python rm workflow local build step
albho Aug 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# ************** REMOVE AFTER RELEASE ********************
- name: Build Node.js SDK
run: yarn && yarn build
working-directory: binding/nodejs
# ********************************************************

- name: Install dependencies
run: |
${{ matrix.install-dep }}
Expand All @@ -64,6 +70,12 @@ jobs:
steps:
- uses: actions/checkout@v3

# ************** REMOVE AFTER RELEASE ********************
- name: Build Node.js SDK
run: yarn && yarn build
working-directory: binding/nodejs
# ********************************************************

- name: Install dependencies
run: yarn install

Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/python-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ jobs:
- name: Pre-build dependencies
run: python3 -m pip install --upgrade pip

- name: Build dependencies
run: |
python -m pip install -U pip setuptools
pip install wheel
cd ../../binding/python
python3 setup.py sdist bdist_wheel
pip install --force-reinstall dist/pvorca-1.0.0-py3-none-any.whl

- name: Install dependencies
run: |
${{matrix.install_dep}}
Expand Down Expand Up @@ -72,6 +80,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Build dependencies
run: |
python -m pip install -U pip setuptools
pip install wheel
cd ../../binding/python
python3 setup.py sdist bdist_wheel
pip install --force-reinstall dist/pvorca-1.0.0-py3-none-any.whl

- name: Install dependencies
run: pip3 install -r requirements.txt

Expand Down
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ voice assistants. Orca is:
- Raspberry Pi (3, 4, 5)
- Chrome, Safari, Firefox, and Edge

**Please note that Orca is currently in development. While we prioritize stability and compatibility, certain aspects of
Orca may undergo changes as we continually enhance and refine the engine to provide the best user experience possible.**

## Table of Contents

- [Orca](#orca)
Expand Down Expand Up @@ -57,15 +54,15 @@ Orca may undergo changes as we continually enhance and refine the engine to prov

## Language Support

- Orca Text-to-Speech currently supports English only.
- Orca Streaming Text-to-Speech currently supports English only.
- Support for [additional languages is available for commercial customers](https://picovoice.ai/consulting/) on a
case-by-case basis.

## Overview

### Orca input and output streaming synthesis

Orca is a text-to-speech engine designed specifically for LLMs. It can process
Orca is a streaming text-to-speech engine designed specifically for LLMs. It can process
incoming text streams in real-time, generating audio continuously, i.e., as the LLM produces tokens,
Orca generates speech in parallel.
This enables seamless conversations with voice assistants, eliminating any audio delays.
Expand All @@ -76,9 +73,9 @@ Orca also supports single synthesis mode, where a complete text is synthesized i

### Text input

Orca accepts the 26 lowercase (a-z) and 26 uppercase (A-Z) letters of the English alphabet, numbers,
basic symbols, as well as common punctuation marks. You can get a list of all supported characters by calling the
`valid_characters()` method provided in the Orca SDK you are using.
Orca supports a wide range of English characters, including letters, numbers, symbols, and punctuation marks.
You can get a list of all supported characters by calling the `valid_characters()` method provided
in the Orca SDK you are using.
Pronunciations of characters or words not supported by this list can be achieved with
[custom pronunciations](#custom-pronunciations).

Expand Down Expand Up @@ -683,6 +680,13 @@ For more details, see the [Node.js SDK](./binding/nodejs/).

## Releases

### v1.0.0 - Aug 20th, 2024

- Improved voice quality
- Significantly reduced latency in streaming synthesis
- Reduced model size
- Advanced text normalization

### v0.2.0 - May 3rd, 2024

- Support for streaming synthesis
Expand Down
4 changes: 2 additions & 2 deletions binding/android/Orca/orca/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

ext {
PUBLISH_GROUP_ID = 'ai.picovoice'
PUBLISH_VERSION = '0.2.1'
PUBLISH_VERSION = '1.0.0'
PUBLISH_ARTIFACT_ID = 'orca-android'
}

Expand All @@ -15,7 +15,7 @@ android {
minSdkVersion 21
targetSdkVersion defaultTargetSdkVersion
versionCode 2
versionName "0.2.1"
versionName "1.0.0"

consumerProguardFiles "consumer-rules.pro"
}
Expand Down
6 changes: 6 additions & 0 deletions binding/android/OrcaTestApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ buildscript {
repositories {
google()
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1334/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
Expand All @@ -16,6 +19,9 @@ allprojects {
repositories {
google()
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1334/'
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions binding/android/OrcaTestApp/orca-test-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'ai.picovoice:orca-android:0.2.1'
implementation 'ai.picovoice:orca-android:1.0.0'

// Espresso UI Testing
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Expand All @@ -115,7 +115,7 @@ dependencies {
})
androidTestImplementation('com.microsoft.appcenter:espresso-test-extension:1.4')
androidTestImplementation('androidx.test.espresso:espresso-intents:3.5.1')
androidTestImplementation('ai.picovoice:orca-android:0.2.1')
androidTestImplementation('ai.picovoice:orca-android:1.0.0')
}

afterEvaluate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

package ai.picovoice.orca.testapp;

import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertNotNull;
Expand Down
4 changes: 2 additions & 2 deletions binding/ios/Orca-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'Orca-iOS'
s.module_name = 'Orca'
s.version = '0.2.2'
s.version = '1.0.0'
s.license = {:type => 'Apache 2.0'}
s.summary = 'iOS binding for Picovoice\'s Orca Text-to-Speech Engine.'
s.description =
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |s|
DESC
s.homepage = 'https://github.com/Picovoice/orca/tree/main/binding/ios'
s.author = { 'Picovoice' => '[email protected]' }
s.source = { :git => "https://github.com/Picovoice/orca.git", :tag => "Orca-iOS-v0.2.2" }
s.source = { :git => "https://github.com/Picovoice/orca.git", :tag => "Orca-iOS-v1.0.0" }
s.ios.deployment_target = '13.0'
s.swift_version = '5.0'
s.vendored_frameworks = 'lib/ios/PvOrca.xcframework'
Expand Down
Loading
Loading