Skip to content

Commit

Permalink
Merge branch 'python-demo-pvspeaker' into v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bejager committed Aug 12, 2024
2 parents 0873972 + 14c3cf5 commit 4d0ca57
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 160 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

strategy:
matrix:
machine: [ rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson ]
machine: [ rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64 ]

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
- 'binding/python/_util.py'
- 'binding/python/test_orca_perf.py'
- 'lib/common/**'
- 'lib/jetson/**'
- 'lib/linux/**'
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
Expand All @@ -25,7 +24,6 @@ on:
- 'binding/python/_util.py'
- 'binding/python/test_orca_perf.py'
- 'lib/common/**'
- 'lib/jetson/**'
- 'lib/linux/**'
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
Expand All @@ -42,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ ubuntu-latest, windows-latest, macos-latest ]
include:
- os: ubuntu-latest
proc_performance_threshold_rtf: 5.0
Expand Down Expand Up @@ -78,7 +76,7 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]
machine: [ rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64 ]
include:
- machine: rpi3-32
proc_performance_threshold_rtf: 1.0
Expand All @@ -90,8 +88,6 @@ jobs:
proc_performance_threshold_rtf: 2.0
- machine: rpi5-64
proc_performance_threshold_rtf: 2.0
- machine: jetson
proc_performance_threshold_rtf: 2.0

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- 'binding/python/**'
- '!binding/python/README.md'
- 'lib/common/**'
- 'lib/jetson/**'
- 'lib/linux/**'
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
Expand All @@ -22,7 +21,6 @@ on:
- 'binding/python/**'
- '!binding/python/README.md'
- 'lib/common/**'
- 'lib/jetson/**'
- 'lib/linux/**'
- 'lib/mac/**'
- 'lib/raspberry-pi/**'
Expand Down Expand Up @@ -64,7 +62,7 @@ jobs:

strategy:
matrix:
machine: [ rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson ]
machine: [ rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64 ]

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion demo/c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get you
- **For Windows Only**: [MinGW](https://www.mingw-w64.org/) is required to build the demo.

# Speech Synthesis Demos

Orca supports two modes of operation: streaming and single synthesis.
In the streaming synthesis mode, Orca processes an incoming text stream in real-time and generates audio in parallel.
This is demonstrated in the Orca streaming demo.
Expand Down Expand Up @@ -72,7 +73,7 @@ To run the Orca demo:
./demo/c/build/orca_demo -l ${LIBRARY_PATH} -m ${MODEL_PATH} -a ${ACCESS_KEY} -t ${TEXT} -o ${OUTPUT_PATH}
```

Replace `${LIBRARY_PATH}` with the path to appropriate library available under [lib](../../lib), `${MODEL_PATH}` with
Replace `${LIBRARY_PATH}` with the path to appropriate library available under [lib](../../lib), `${MODEL_PATH}` with
a path to any of the model files available under [lib/common](../../lib/common), `${ACCESS_KEY}` with AccessKey
obtained from [Picovoice Console](https://console.picovoice.ai/), `${TEXT}` with the text to be synthesized,
and `${WAV_OUTPUT_PATH}` with a path to a output audio file.
Expand Down
Loading

0 comments on commit 4d0ca57

Please sign in to comment.