[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 in stream_transcription_module.py to include more robust error handling and retries for downloading segments.
    • Added a max_retries parameter to the download_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 M3U8 Playlist Loading:
    • The load_m3u8_with_retry function in stream_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 and http.client.IncompleteRead errors during playlist loading, retrying with a delay until successful.
  • 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 sounddevicesoundfile, and pydub to requirements.txt for audio capture. Will be using a more native way to capture audio better.
  • 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.

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 

      recording with microphone server fails #108

  • 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.

Lock numpy to version 1.26.4

Update README.md

Version Bump

Additional Fixes

Files

[ALPHA] Synthalingua Windows x64 Portable 3.4 GB
Version 1.1-A4 Jul 09, 2024

Get Synthalingua

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.