Some checks failed
Android CI Build / check (push) Has been cancelled
Android CI Build / package-apks (push) Has been cancelled
Docs Deploy / build (push) Has been cancelled
Module Market Check / Validate modules/ (push) Has been cancelled
Module Market Publish / Generate submissions.json (push) Has been cancelled
Docs Deploy / deploy (push) Has been cancelled
- Package rename com.webtoapp -> br.com.drukstech.codeapp - Product rename WebToApp/web-to-app -> DruksCode/drukscode - Design system Wta* -> Dkc* - applicationId br.com.drukstech.codeapp (.play for gplay flavor) - rootProject.name DruksCode - Fresh git history (upstream kept as remote for sync)
20 lines
1.0 KiB
Markdown
20 lines
1.0 KiB
Markdown
# Background Music
|
|
|
|
Plays background music in the generated app, with synced lyrics.
|
|
|
|
**Where:** the **Background music** card in the [Edit Common Config](/guide/app-actions/edit-common-config/) editor.
|
|
|
|
## Options
|
|
|
|
- **Enable** — turn background music on (`bgmEnabled`).
|
|
- **Playlists** — add music tracks; supports synced **LRC lyrics** with lyric animations.
|
|
- **Play mode** — loop, sequential, or shuffle (`BgmPlayMode`). Shuffle starts on a random track, plays every track once per cycle with no repeats, and reshuffles on wrap.
|
|
- **Lyric styling** — custom font, color, stroke, and shadow for lyrics.
|
|
- **Online search** — search for music online.
|
|
|
|
## Notes
|
|
|
|
- BGM audio files are packaged into the exported APK (and can be encrypted).
|
|
- Online music search downloads tracks in their real format — MP3, M4A, AAC, OGG, FLAC, or WAV — all of which show up in the selector.
|
|
- Lyric and tag edits persist to the library (sidecar `.lrc` and tag files), surviving refreshes and restarts even for tracks not yet saved into an app config.
|