[Alpha] A3 -> A4 | Bug Fixes and Improvements
This update is not the full fledge UI update just yet. I'm still working on the remote interface.
This update is a major update, but still has some flaws that may happen. I will still iron them out.
I've fixed many issues, and added new things.
I will also be creating a wiki page for betting explaining how to use the program. You can find the Work in progress wiki here: https://github.com/cyberofficial/Synthalingua/wiki
If you find issues, please do make a new report here: https://github.com/cyberofficial/Synthalingua/issues
Changelog
Remote Microphone Server (Start of 1.1)
- Remote Microphone Server
- Fixed an issue where the stream module would show blank text if nothing is said.
- RMS Password Protected
- Made the stream module Multi-Threaded
- GUI updated to suit the HLS password system
- Fixed some issues with latency
Ignore sending data to API if data is empty
- Will not update API call if data is empty.
Journey to 1.1
- Remote Microphone Server
- RMS Password Protected
- Made the stream module Multi-Threaded
- GUI updated to suit the HLS password system
GUI Wrapper Update
- Added save functionality for HLS additional elements
- Added icons to bring up GitHub or Itch easily.
- Unchecks wipe setting checkbox if user canceled the wipe.
Fixed minor error
- Forgot to remove a sleep timer from processing audio oops.
Fix Win 2 Error For Portable Version [temporary]
- Fixed an issue where Win 2 Error would happen with the portable version, temporary fix. More better
- New UI Style (Experimenting with styling)
Remote Microphone update and Stream Module Update
Improvements:
- Enhanced Error Handling and Retries in Downloading Segments:
- Improved the
download_segment
function instream_transcription_module.py
to include more robust error handling and retries for downloading segments. - Added a
max_retries
parameter to thedownload_segment
function to specify the number of retry attempts. - The function now handles
requests.exceptions.RequestException
specifically for network-related errors, providing more informative error messages. - Implemented a retry mechanism with an optional
retry_delay
to handle temporary network issues. - Added error handling for
http.client.IncompleteRead
exceptions, which can occur if the connection drops during download.
- Improved the
- Improved M3U8 Playlist Loading:
- The
load_m3u8_with_retry
function instream_transcription_module.py
has been enhanced to retry loading the M3U8 playlist file if there are errors, making it more resilient to network fluctuations. - The function now handles potential
requests.exceptions.RequestException
andhttp.client.IncompleteRead
errors during playlist loading, retrying with a delay until successful.
- The
- Optimized Segment Downloading and Skipping Logic:
- Streamlined the segment downloading logic to avoid re-downloading already processed segments, improving efficiency.
- Modified the code to skip segments that have already been downloaded successfully, preventing unnecessary downloads.
- Prep for native audio capture support
- Added
sounddevice
,soundfile
, andpydub
to requirements.txt for audio capture. Will be using a more native way to capture audio better.
- Added
- GUI Improvements
- Adjusted vertical spacing for headers in
player.html
to address potential overlapping issues. This change ensures better visual clarity and prevents elements from overlapping, enhancing the user interface.
- Adjusted vertical spacing for headers in
Bug Fixes:
- Fixed Issue with Segment Downloading in
stream_transcription_module.py
:- Resolved a bug where the code was not properly skipping already downloaded segments in certain situations. This fix ensures that only new segments are downloaded instead of trying to decode broken audio files, improving efficiency. Fixes
- Fixed Issue with Incorrect HLS Flags in
remote_microphone.py
:- Corrected the HLS flags used in the FFmpeg command in
remote_microphone.py
. This change ensures that the generated HLS playlist is created correctly, addressing potential issues with live stream playback.
- Corrected the HLS flags used in the FFmpeg command in
Lock numpy to version 1.26.4
- Fixes
RuntimeError: Numpy is not available #111 - Lock
numpy
to version 1.26.4
Update README.md
Version Bump
Additional Fixes
- UI Update: Sets a reminder to change port number before using prevents issue 107 (Fixes
Files
Get Synthalingua
Synthalingua
Real Time Translation Tool
Status | In development |
Category | Tool |
Author | Cyber Apps |
Tags | captions, livestream, obs, overlay, subtitles, tool, translation |
More posts
- UI Update - Simple Mode + a optional Patch Update soon after this dev blog updat...9 days ago
- Feature Update 1.1-A4.5 | More Precision with Translations35 days ago
- GUI Only Update GUI 4.4435 days ago
- [Alpha] A4.4 -> A4.5 | GUI Update and Custom Model Directory43 days ago
- Synthalingua GUI Update84 days ago
- [Alpha] A4.3 -> A4.4 | Bug Fixes and Improvements87 days ago
- [Alpha] A4 -> A4.3 | Bug Fixes and Improvements89 days ago
- Dev BlogJul 23, 2024
- Small UpdateJul 20, 2024
Leave a comment
Log in with itch.io to leave a comment.