Commit Graph
9 Commits
Author SHA1 Message Date
gabrieldemarmiesse 3f7dcf4de9 Bump version to 1.1.0 2026-02-16 15:46:38 +01:00
Gabriel de Marmiesse 8443de8e06 Add functions to export and import the model state for a given voice (#129) 2026-02-16 15:37:00 +01:00
Sachin Sankar 4ae9fb2590 Automated Docs Site (#101) 2026-02-12 14:01:42 +01:00
Václav Volhejn bfbaf80437 Bump version to 1.0.3 2026-01-22 12:02:14 +01:00
Václav Volhejn 9650c0775b Bump version to 1.0.2 2026-01-20 11:04:41 +01:00
bedd1c4098 feat(voice/clone): support MP3 and other audio formats for reference voices (#20)
## Summary
- Adds support for MP3, FLAC, OGG, and other audio formats when
uploading reference voices for cloning
- Replace WAV-only `audio_read()` with a `soundfile`-based
implementation
- Update web UI file picker to accept multiple audio formats

## Changes
- `pocket_tts/data/audio.py`: Use `soundfile` library instead of
Python's `wave` module
- `pocket_tts/main.py`: Preserve original file extension in temp files
for format detection
- `pocket_tts/main.py`: Add missing `truncate=True` to CLI generate
command
- `pocket_tts/static/index.html`: Update file input to accept
`.wav,.mp3,.flac,.ogg,.m4a,audio/*`
- `pyproject.toml`: Add `soundfile>=0.12.0` dependency

## Tested
- [x] Upload a WAV file as reference voice and generate speech
- [x] Upload an MP3 file as reference voice and generate speech
- [x] Upload a FLAC file as reference voice and generate speech
- [x] Verify CLI `--voice` option works with MP3 files

---------

Co-authored-by: Gabriel de Marmiesse <gabrieldemarmiesse@gmail.com>
Co-authored-by: Václav Volhejn <8401624+vvolhejn@users.noreply.github.com>
2026-01-20 10:12:50 +01:00
gabrieldemarmiesse 4381db0fab Bump version to 1.0.1 2026-01-13 18:07:48 +01:00
gabrieldemarmiesse b05a9d061b Bump version to 1.0.0 2026-01-13 11:50:33 +01:00
gabrieldemarmiesse f5fa328a58 Copy the files in the new repo for public release 2026-01-12 11:25:16 +01:00