·
66 commits
to main
since this release
v4.0.1
This update only bring visual and parsing bug issue that happen on 4.0.0. Nothing else.
π Fixes & Improvements
Rendering & Layout
- Gradient Bleeding Fix: Rewrote the
preWipesystem using a velocity physics-based approach to resolve lyrics gradient bleeding issues. - Growable Lyrics: Fixed an issue where text was mispositioned in growable mode.
- Text Calculation:
- Fixed character width calculation by excluding kerning and preventing leading/trailing spaces from affecting width.
- Fixed
emsizing logic to correctly utilizefont-size.
- Visuals:
- Canvas: Adjusted WebGL canvas aspect ratio to 1:1 (Square) for correct display.
- Wipe Animation: Refined animation keyframes to handle long words better.
- Styling: Fixed an issue where style removal was too aggressive.
Core System & Parsing
- LRC Parsing: Major overhaul to parsing logic, supporting KPoe format, word-level timestamps, speaker tags, and negative offsets.
- Synchronization: Added audio output latency compensation for precise lyric timing.
- Performance: Fixed a RAM leak issue during prolonged usage.
- Compatibility: Fixed
pBrowserfallback logic for broader browser support.
β»οΈ Refactor
- Code Maintainability: Tidied up the
renderWordByWordfunction to improve code structure.