Files
QZMusic_PC/amll-local/README.md
lqtmcstudio 72f4510dc8 fork(fix): Clone AMLL 并修复 BUG
- 将AMLL Clone到本以地进行修复和优化(emm虽然这很不优雅但是暂时无时间做子模块和Fork)
- 修复在当前播放歌词行不可见的视口Seek会出现滚动偏移的问题
2026-06-07 00:02:14 +08:00

113 lines
4.6 KiB
Markdown

<div align=center>
![Apple Music-like Lyrics - A lyric page component library for Web](https://github.com/user-attachments/assets/cd6e4ba3-2640-4aab-aeb1-0762f97c8880)
English / [简体中文](./README-CN.md)
</div>
<div align=center>
A lyric player component library that aims to look similar to iPad version of Apple Music. With [DOM](./packages/core/README.md), [React](./packages/react/README.md) and [Vue](./packages/vue/README.md) bindings.
This is perhaps the most iPad Apple Music-like lyric page you've seen in frontend.
Although the goal of this project is not to imitate it completely, it will polish some details to be better than the current best lyric players.
**—— AMLL Series Projects ——**
[AMLL TTML DB - TTML Syllable Lyric Database](https://github.com/amll-dev/amll-ttml-db)
[AMLL TTML Tool - TTML Syllable Lyric Editor](https://github.com/amll-dev/amll-ttml-tool)
/
[AMLL Editor - Next-Gen TTML Syllable Lyric Editor](https://github.com/amll-dev/amll-editor)
[AMLL Player - Local Music Player](https://github.com/amll-dev/amll-player)
/
[AMLL Page - Web Music Player](https://github.com/amll-dev/amll-page)
[Projects that references AMLL](https://github.com/amll-dev/applemusic-like-lyrics/discussions/397)
</div>
## AMLL Ecology and source code structure
### Main modules
- [![AMLL-Core](https://img.shields.io/badge/Core-%233178c6?label=Apple%20Music-like%20Lyrics&labelColor=%23FB5C74)](./packages/core/README.md): AMLL Core Component Library, written natively with DOM, provides lyric display component and dynamic fluid background component
- [![AMLL-React](https://img.shields.io/badge/React-%23149eca?label=Apple%20Music-like%20Lyrics&labelColor=%23FB5C74)](./packages/react/README.md): AMLL React binding, provides React component forms of lyric display and dynamic fluid background components
- [![AMLL-Vue](https://img.shields.io/badge/Vue-%2342d392?label=Apple%20Music-like%20Lyrics&labelColor=%23FB5C74)](./packages/vue/README.md): AMLL Vue binding, provides Vue component forms of lyric display and dynamic fluid background components
- [![AMLL-Lyric](https://img.shields.io/badge/Lyric-%23FB8C84?label=Apple%20Music-like%20Lyrics&labelColor=%23FB5C74)](./packages/lyric/README.md): AMLL lyric parsing module, provides parsing and serialization support for various lyric formats including LyRiC, YRC, QRC, and Lyricify Syllable
## Browser compatibility alerts
This component framework requires the following browsers or newer versions at a minimum:
- Chromium/Edge 91+
- Firefox 100+
- Safari 9.1+
To fully render all component effects, the following browser versions or newer are required:
- Chromium 120+
- Firefox 100+
- Safari 15.4+
Reference Links:
- [https://caniuse.com/mdn-css_properties_mask-image](https://caniuse.com/mdn-css_properties_mask-image)
- [https://caniuse.com/mdn-css_properties_mix-blend-mode_plus-lighter](https://caniuse.com/mdn-css_properties_mix-blend-mode_plus-lighter)
## Performance configuration reference
Performance benchmarks have shown that mainstream CPU processors from the last five years can run the lyric component at 30FPS. However, if you need smooth 60FPS operation, ensure your CPU frequency is at least 3.0GHz or higher. For 144FPS or above, a CPU frequency of at least 4.2GHz is recommended.
GPU performance capable of running at full 60 fps at the expected sizes under the following conditions:
- `1080p (1920x1080)`: NVIDIA GTX 10 series and above
- `2160p (3840x2160)`: NVIDIA RTX 2070 and above
## Development/build/packaging process
### Prerequisites
- [Node.js](https://nodejs.org/)
- [pnpm](https://pnpm.io/)
### Building the component libraries
Clone this repository, then run the following commands in the project root:
```bash
# Install dependencies
pnpm install
# Production build (all library packages)
pnpm run build:libs
```
### Building a single package
```bash
# Example: build only @applemusic-like-lyrics/core
pnpm nx run @applemusic-like-lyrics/core:build
# Example: development build of @applemusic-like-lyrics/lyric
pnpm nx run @applemusic-like-lyrics/lyric:build:dev
```
## Acknowledgements
- [woshizja/sound-processor](https://github.com/woshizja/sound-processor)
- [FFmpeg](http://ffmpeg.org/)
- And many other frameworks and libraries used by AMLL, thank you very much!
### Special Thanks
<div align="center">
<image src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg"></image>
<div>
Thanks to <a href=https://jb.gg/OpenSourceSupport>JetBrains</a> for their development tools that provide great support to the AMLL project
</div>
</div>