Skip to content

Update Synthalingua Version 4.62 to .63#145

Merged
cyberofficial merged 41 commits into
masterfrom
bleeding-under-work
Apr 13, 2025
Merged

Update Synthalingua Version 4.62 to .63#145
cyberofficial merged 41 commits into
masterfrom
bleeding-under-work

Conversation

@cyberofficial
Copy link
Copy Markdown
Owner

@cyberofficial cyberofficial commented Oct 22, 2024

Synthalingua Changelog

[1.1.0] - 2025-02-21

This release focuses on significant code restructuring, UI enhancements, and dependency updates for improved performance, stability, and user experience. It also addresses several bugs and incorporates community contributions.

Added

  • Customizable Word Block List: Fix the Implemented the --ignorelist flag to load a text file containing words or phrases to be ignored from the output, improving customization and reducing unwanted phrases.
  • Improved Caption Customization in Player: Enhanced the caption customization options in the web browser player, allowing users to control background color, text color, font size, position, opacity, and width in real-time.
  • Support for Password-Protected HLS Streams: Added the --remote_hls_password_id and --remote_hls_password flags to support authenticated HLS streams that require a password or key.
  • Support for 7gb Turbo Model: Added support for the new 7gb turbo model, providing a balance between speed and accuracy, especially useful for systems with lower VRAM.
  • Dependency Updates: Significant updates to core project dependencies, including yt-dlp, openai-whisper, and various other packages. This brings performance improvements, bug fixes, and new features from these libraries.

Changed

  • Code Restructuring:
    • Refactored project modules and classes for improved modularity, maintainability, and readability.
    • Replaced global imports.py with direct imports in each module to enhance dependency management and code clarity.
    • Created audio_handlers.py, device_manager.py, file_handlers.py, stream_handler.py, and transcription_core.py to centralize and organize core logic.
  • Command Line Arguments: Replaced the --auto_model_swap flag with improved model selection logic based on RAM usage and language in parser_args.py.
  • Microphone Calibration: Improved microphone calibration by using two microphone instances to handle calibration and listening concurrently.
  • Caption Generation: Updated default parameters and improved language handling for caption generation.
  • Stream Processing: Optimized segment downloading and processing for HLS streams, introduced error recovery, and enhanced buffer management for better stability and reduced latency.
  • Temporary File Handling: Implemented proper cleanup procedures for temporary files, reducing storage usage.
  • Console Output: Enhanced logging with improved formatting, better error reporting, and an option (--no_log) for showing only the most recent translation or transcription.
  • Error Handling: Standardized error reporting and logging, including optional Discord webhook notifications for error events.
  • Subtitle Generation: Refactored the subtitle generation process using a chunked, streaming approach with color-coded confidence scoring. Added custom model directory support.
  • GUI Updates: Several GUI improvements, including better layout, more accessible buttons, and more informative tooltips.
  • Renamed 12GB Model to 11GB: The 12GB model options have been renamed to 11GB to reflect changes in model sizes.

Removed

  • Deprecated --auto_model_swap Flag: Removed the deprecated --auto_model_swap flag due to improved model selection logic.
  • Fine-Tuned Model Support (Temporary): The --use_finetune flag and related code for the finetuned model has been temporarily disabled for retraining.

Fixed

PR Master to Upstream
* Updated Sub Gen Module. Module didn't load model file from the model directory which is set by the user or defaults to downloading to the user profile instead,
* Added the device flag which was missing too.
@cyberofficial cyberofficial self-assigned this Oct 22, 2024
- Ui Changes; Prep for new UI.
* UI Changes for Basic Mode
* Possible fix for #150 will need additional testing to make sure.
* Fix for no log #149
* auto_model_swap removed,  will come back at a later date to be improved. Issue found with #150 . Will be fixed at a later date down the line.
@cyberofficial cyberofficial changed the title To be named Update Synthalingua Version 4.62 to .63 Nov 13, 2024
Switched dev environment to conda manager. Will need to exclude this chonky folder.

excluding testing stuff
I'm tired boss. Updated main file and transferred stuff to modules. Still need to verify stuff, but stuff seems to work (for now). Might've broken something, but ehhhh we'll cross that bridge when time comes, but for now, this is danger noodle build. may or may not work.
Danger Noodle Push
- Modules Rework
- Imports file removed
- Profit?

This is a deadly push and might not work as intended. beware!
* Attempts to play latest segments from DVR vods that are live (maybe fixes #132 ).
Will need further testing.
* Attempt to fix issue #131
@cyberofficial cyberofficial added documentation Improvements or additions to documentation enhancement New feature or request bug fix dependencies Pull requests that update a dependency file next major Info on next major labels Feb 5, 2025
Docs update
* Build File Update
* Requirements Update
* Update model list
* Fixed an issue where normal models would load if English was selected, will now load actual smaller en modes now.
English translation button fixed.
@cyberofficial
Copy link
Copy Markdown
Owner Author

Under review, making sure all changes are working as intended.

@cyberofficial cyberofficial merged commit 71e9840 into master Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement implemented enhancement New feature or request next major Info on next major PR Forward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant