这是一个使用 SvelteKit 构建的示例项目,包含了音乐播放器、歌词播放器、音乐波形可视化和节奏播放器等功能。
This is a demo project built with SvelteKit, featuring a music player, lyrics player, music waveform visualization, and rhythm player.
- 音乐播放器 (Music Player)
- 歌词播放器 (Lyrics Player)
- 音乐波形可视化 (Music Waveform Visualization)
- 节奏播放器 (Rhythm Player)
-
克隆仓库 (Clone the repository):
git clone https://github.com/runwezh/svkit-demo1.git cd svkit-demo1 -
安装依赖 (Install dependencies):
npm install
-
启动开发服务器 (Start the development server):
npm run dev
-
打开浏览器并访问 (Open your browser and visit):
http://localhost:5137
-
构建项目 (Build the project):
npm run build
-
预览构建结果 (Preview the build):
npm run preview
svkit-demo1/
├── src/
├── lib/
├── LyricsPlayer.svelte
├── MusicPlayer.svelte
├── MusicWave.svelte
└── RhythmPlayer.svelte
├── routes/
└── +page.svelte
├── app.d.ts
└── app.html
├── static/
└── audio/
└── sample.wav
├── .gitignore
├── package.json
├── svelte.config.js
├── tsconfig.json
└── README.md
欢迎提交问题 (issues) 和拉取请求 (pull requests) 来改进此项目。
We welcome issues and pull requests to improve this project.
此项目使用 MIT 许可证。
This project is licensed under the MIT License.