# 诗歌本投影 OSC 控制器预置 v1

这些文件用于 Companion、TouchOSC、Open Stage Control 和 QLab。

## 连接

- 本机测试：`127.0.0.1:9000`
- 局域网：填写运行诗歌本投影的 Mac 局域网 IP，端口 `9000`
- 反馈：默认 `127.0.0.1:9001`

## 文件

- `companion-hymn-osc-32.v1.companionconfig`
- `touchosc-hymn-osc-ipad.v1.tosc`
- `open-stage-control-hymn-osc.v1.json`
- `qlab-hymn-osc.v1.zip`
- `buttons/*.png`

## 按钮

| 坐标 | 标题 | OSC 地址 | 参数 |
| --- | --- | --- | --- |
| 0/0 | 状态 刷新 | `/hymn/v1/status/request` | `无` |
| 0/1 | 打开 演示屏 | `/hymn/v1/projection/screen/open` | `无` |
| 0/2 | 关闭 演示屏 | `/hymn/v1/projection/screen/close` | `无` |
| 0/3 | 开始 投影 | `/hymn/v1/projection/start-current` | `无` |
| 0/4 | 结束 投影 | `/hymn/v1/projection/end-current` | `无` |
| 0/5 | 提交 待切换 | `/hymn/v1/projection/commit-pending` | `无` |
| 0/6 | 舞台 准备 | `/hymn/v1/stage-message/send` | `"请准备" "10"` |
| 0/7 | 舞台 上台 | `/hymn/v1/stage-message/send` | `"请上台" "10"` |
| 1/0 | 上一页 | `/hymn/v1/projection/previous` | `无` |
| 1/1 | 下一页 | `/hymn/v1/projection/next` | `无` |
| 1/2 | 跳第 1页 | `/hymn/v1/projection/page/go` | `1` |
| 1/3 | 工作区 歌词 | `/hymn/v1/workspace/set` | `"lyrics"` |
| 1/4 | 工作区 经文 | `/hymn/v1/workspace/set` | `"scripture"` |
| 1/5 | 经文 投影 | `/hymn/v1/scripture/project-current` | `无` |
| 1/6 | 上一章 | `/hymn/v1/scripture/chapter/previous` | `无` |
| 1/7 | 下一章 | `/hymn/v1/scripture/chapter/next` | `无` |
| 2/0 | 黑屏开 | `/hymn/v1/output/blackout/set` | `true` |
| 2/1 | 黑屏关 | `/hymn/v1/output/blackout/set` | `false` |
| 2/2 | 黑屏 切换 | `/hymn/v1/output/blackout/toggle` | `无` |
| 2/3 | 清文字 开 | `/hymn/v1/output/clear-text/set` | `true` |
| 2/4 | 清文字 关 | `/hymn/v1/output/clear-text/set` | `false` |
| 2/5 | 清背景 开 | `/hymn/v1/output/clear-background/set` | `true` |
| 2/6 | 清背景 关 | `/hymn/v1/output/clear-background/set` | `false` |
| 2/7 | 清舞台 消息 | `/hymn/v1/stage-message/clear` | `无` |
| 3/0 | 编排 恢复 | `/hymn/v1/arrangement/resume` | `无` |
| 3/1 | 编排 上一步 | `/hymn/v1/arrangement/previous` | `无` |
| 3/2 | 编排 下一步 | `/hymn/v1/arrangement/next` | `无` |
| 3/3 | 停止 媒体 | `/hymn/v1/media/output/stop` | `无` |
| 3/4 | 停止 音效 | `/hymn/v1/media/effects/stop-all` | `无` |
| 3/5 | Master 静音开 | `/hymn/v1/mixer/bus/mute` | `"master" true` |
| 3/6 | Master 静音关 | `/hymn/v1/mixer/bus/mute` | `"master" false` |
| 3/7 | Master 80% | `/hymn/v1/mixer/bus/volume` | `"master" 0.8` |
