feat: Lyrics

This commit is contained in:
yhlhoh committed 2026-10-24 10:54:52 +08:00
1 parent 6ed3e169e4
commit 82b1fa0d47
17 files changed
+3863 -283

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
color: #fff;
background: transparent;
}
.wrap {
position: relative;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: 10px 16px;
box-sizing: border-box;
}
.tag {
font-size: 11px;
letter-spacing: 0.18em;
text-transform: uppercase;
opacity: 0.85;
}
.title {
margin-top: 6px;
font-size: 20px;
font-weight: 800;
}
.subtitle {
margin-top: 4px;
font-size: 14px;
opacity: 0.9;
}
</style>
</head>
<body>
<div class="wrap">
<div class="tag">{{tag}}</div>
<div class="title">{{mainTitle}}</div>
<div class="subtitle">{{subtitle}}</div>
</div>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
[ti:示例曲目]
[ar:示例歌手]
[al:示例专辑]
[by:obs-lowerthird]
[offset:0]
[00:00.00]作词:示例词作者
[00:00.40]作曲:示例曲作者
[00:00.80]编曲:示例编曲人
[00:01.20]制作人:示例制作人
[00:02.00]<00:02.00>第一句<00:02.65>歌词<00:03.20>从打点位置开始
[00:05.20]<00:05.20>第二句<00:05.80>跟着<00:06.40>时间轴出现
[00:08.60]<00:08.60>第三句<00:09.20>继续<00:09.80>往下走
[00:11.80]<00:11.80>第四句<00:12.40>用来<00:13.00>检查自动偏移
[00:15.00]
[00:17.40]<00:17.40>副歌<00:18.10>第一句
[00:20.60]副歌第二句
[00:24.00]最后一句结束后会自动隐藏
+62
View File
@@ -0,0 +1,62 @@
{
"appearancePresets": [
{
"id": "appearance-default-1",
"name": "默认 · 右侧信息区",
"kind": "iframe",
"align": "right",
"themeColor": "",
"extraCss": "",
"fieldDefs": [
{ "key": "tag", "label": "标签", "defaultValue": "LIVE 直播" },
{ "key": "mainTitle", "label": "主标题", "defaultValue": "示例主标题" },
{ "key": "subtitle", "label": "副标题", "defaultValue": "示例副标题" }
],
"htmlFile": "default-appearance.html"
}
],
"contentPresets": [
{
"id": "content-default-1",
"name": "示例内容 · 开场",
"appearancePresetId": "appearance-default-1",
"fields": {
"tag": "LIVE 直播",
"mainTitle": "欢迎来到直播间",
"subtitle": "这是一个内容预设示例"
}
},
{
"id": "content-default-2",
"name": "示例内容 · 嘉宾介绍",
"appearancePresetId": "appearance-default-1",
"fields": {
"tag": "GUEST 嘉宾",
"mainTitle": "嘉宾姓名",
"subtitle": "职位 / 简介"
}
}
],
"lrcPresets": [
{
"id": "lrc-default-1",
"name": "示例 · LRC 字幕",
"sourceFile": "default.lrc",
"filters": {
"dropCreditLines": true,
"dropUntimed": true
},
"range": { "startIndex": 0, "endIndex": null },
"offsetMs": 0,
"tailMs": 4000,
"style": {
"position": "bottom",
"fontSize": 42,
"background": "rgba(0, 0, 0, 0.55)"
}
}
],
"settings": {
"autoHideDuration": 0
}
}