---
name: arrow_move_error_sfx.aiaudio
description: 无效的路径操作时的轻微错误提示音效。
triggers: 需要生成箭头/路径操作无效提示音效时触发。
---

# 箭头移动错误音效

## Recipe

生成提示词见 manifest.json generation.prompt。
- model: Google Lyria 3（平台默认，见 manifest.json generation.platformSkill）
- format: mp3
- loop: false

## Result

- 产物文件：`arrow_move_error.mp3`
- 在 Preloader.ts 中作为 `sfxArrowMoveError` key 加载

## Binding

```json
{
  "role": "sfxArrowMoveError",
  "target": "assets/sounds/arrow_move_error.mp3",
  "type": "audio-asset-reference"
}
```

## 生成方式

Platform Skill: `playcraft-audio-generation`

```bash
# 1. 生成 SFX（--prompt 必须英文）
playcraft tools generate-sfx \
     --prompt "subtle error sound for invalid arrow interaction in puzzle game" \
     --duration 1 \
     --output ta-workspace/raw_sfx.mp3

# 2. 归一化音量
playcraft audio normalize --input ta-workspace/raw_sfx.mp3 --output ta-workspace/raw_sfx.mp3 --target-loudness -16

# 3. 压缩（SFX 目标 ≤15KB）
playcraft audio compress --input ta-workspace/raw_sfx.mp3 --output ta-workspace/arrow_move_error.mp3 --target-size 15KB

# 4. 将产物写入 sandbox 对应路径（见 binding.target）
```
## Skill Definition

```yaml
tools:
  - generate_audio
inputs:
  - prompt: see manifest.json
outputs:
  - audio: arrow_move_error.mp3
```
