Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4c78f80
refactor to use py3-tts-wrapper
willwade Mar 18, 2025
f25ab07
adding build script
willwade Mar 18, 2025
b5a1614
attempts to include library...
willwade Mar 18, 2025
d20952d
ruff & black lint fixes
willwade Mar 19, 2025
f6ce13a
migration step 2.
willwade Mar 19, 2025
bc88023
fixing root to match original
willwade Mar 19, 2025
e0cdae4
fix for multiple engines - make voices list more like original
willwade Mar 20, 2025
e5d6791
fix for build script
willwade Mar 20, 2025
551e29a
getting there - now have a config screen and test interface
willwade Mar 21, 2025
7d90638
rework around wrapper 0.9.31
willwade Mar 21, 2025
8af946d
adding custom providers like openai
willwade Mar 21, 2025
cc9dcca
fixed /speakdata endpoint - now all working. finally.
willwade Mar 21, 2025
173db94
false speech.ini
willwade Mar 21, 2025
b790c7c
add workflow
willwade Mar 21, 2025
d930523
fix build script
willwade Mar 21, 2025
cdff22a
fixes for voice endpoint and our test page
willwade Mar 22, 2025
8c4cbe1
tweaks for gh action build
willwade Mar 22, 2025
f9ea730
add back in portaudio
willwade Mar 22, 2025
35bd0b8
cheat. add pyinstaller as its not in pyproject
willwade Mar 22, 2025
0041dad
numpy build probs on win
willwade Mar 22, 2025
abdbc7c
diif if syntax
willwade Mar 22, 2025
114652e
oops. idiot.
willwade Mar 22, 2025
d31290c
upping numpy on win
willwade Mar 22, 2025
d66ef9f
see if this fixes winodws
willwade Mar 22, 2025
99c5194
maybe better syntax
willwade Mar 22, 2025
d296fa4
quotes?
willwade Mar 22, 2025
14405a9
fix version in pyproject
willwade Mar 22, 2025
e7a9814
see if fixes imports for pyinstaller step
willwade Mar 22, 2025
c5ab251
dynanically find tts-wrapper path
willwade Mar 22, 2025
cd4f4cc
debug it
willwade Mar 22, 2025
d81eeb9
win packages in lib
willwade Mar 22, 2025
3b09db5
marginally better readme
willwade Mar 22, 2025
b655a99
fixed - now working in asterics grid
willwade Mar 23, 2025
21533d9
safe cleanup
willwade Mar 23, 2025
78566a5
Add debug logging to speech endpoints
willwade Mar 23, 2025
2788243
refactor to new abstraction method.
willwade Mar 25, 2025
b4b6f81
upgrading to new tts-wrapper code. nb: beta tagged release. better la…
willwade Apr 7, 2025
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
Binary file added .coverage
Binary file not shown.
97 changes: 97 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Build and Release

on:
push:
branches:
- '*' # Run on all branches
tags:
- 'v*' # Trigger on version tags

jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.10']
include:
- os: ubuntu-latest
asset_name: asterics-grid-speech-linux
- os: windows-latest
asset_name: asterics-grid-speech-windows
- os: macos-latest
asset_name: asterics-grid-speech-macos

steps:
- uses: actions/checkout@v4

- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y portaudio19-dev espeak-ng

- name: Install system dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install portaudio espeak-ng

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.10"

- name: Install dependencies
run: |
uv sync
uv pip install pyinstaller

- name: Install Windows-specific dependencies
if: runner.os == 'Windows'
run: |
uv pip install numpy==1.26.4

- name: Build executable
run: |
uv run python build.py

- name: Compress artifacts (Unix)
if: runner.os != 'Windows'
run: |
cd dist
tar -czf ${{ matrix.asset_name }}.tar.gz asterics-grid-speech/

- name: Compress artifacts (Windows)
if: runner.os == 'Windows'
run: |
cd dist
7z a ${{ matrix.asset_name }}.zip asterics-grid-speech/

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.asset_name }}
path: |
dist/${{ matrix.asset_name }}.tar.gz
dist/${{ matrix.asset_name }}.zip
if-no-files-found: error

release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4

- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
asterics-grid-speech-linux/asterics-grid-speech-linux.tar.gz
asterics-grid-speech-windows/asterics-grid-speech-windows.zip
asterics-grid-speech-macos/asterics-grid-speech-macos.tar.gz
draft: false
prerelease: false
generate_release_notes: true
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.DS_Store
build/
dist/

*.iml
bin/
node_modules/
Expand All @@ -7,4 +11,4 @@ credentials.py
*.mp3
*.pyc
*.json
*.onnx
*.onnx
Loading