Logo Audio Direction

Audio Direction

Tổ chức
SummerEngine
audio-direction

Xác định âm thanh của trò chơi (phong cách âm nhạc, bộ từ vựng SFX, nhạc động) trong .summer/audio-bible.md.

Add to TypingMind

Tổng quan

Nhà phát hànhSummerEngine
Kho mãsummer
Tên kỹ năngaudio-direction
Sao
91
Bản fork
8
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được SummerEngine công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Audio Direction trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/SummerEngine/summer/tree/main/library/skills/audio-direction
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/audio-direction .claude/skills/audio-direction
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Audio Direction trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Audio Direction ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Audio Direction với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

/audio-direction — Define the Sonic Identity

Overview

Many indie games sound like one sound library used flat: the same generic "swoosh" for menu, jump, pickup and hit. This skill builds an audio bible that names the music style, the SFX vocabulary, the dynamic music plan, and the spatial / mix rules. Writes to .summer/audio-bible.md and configures the audio bus layout in the project so the rest of the work has a real foundation.

Core principle: SFX needs a vocabulary, not a library. Eight named SFX classes with consistent character beat 80 random library hits.

Steps

1. Open with three references

Ask exactly this:

Three reference tracks, games, or films for the music. What instruments matter? And what's the SFX vibe — chunky, clean, synthetic, or organic?

Three is the minimum. One or two collapses into a clone.

If they freeze, offer four axes (not titles):

Pick the closest: a) orchestral + cinematic (Hollow Knight, Journey), b) lo-fi electronic + ambient (Disco Elysium, Outer Wilds), c) chiptune / synth (Hyper Light Drifter, Celeste), d) acoustic / folk (Sable, A Short Hike).

2. Read the brief and art bible if they exist

Read .summer/GameSoul.md
Read .summer/art-bible.md

Audio must rhyme with the visuals. Quote it back:

Art bible says "soft, hand-warmed, golden-hour, painterly". That rhymes with acoustic / folk / lo-fi over orchestral or aggressive synth. Confirming.

If the brief says "horror", that constrains the music style harder than the user's references will. Name the constraint.

3. Pin the music style

Force one primary style. Sub-styles can blend, but a primary is required.

StyleAnchor instrumentsPairs withAvoid
Orchestral cinematicStrings, brass, choirStory-led, fantasyCasual / cozy
Acoustic / folkGuitar, piano, hand percussionCozy, narrativeAction / horror
Lo-fi electronicVintage synth pad, tape sat, light beatAtmospheric, indieCombat-heavy
Chiptune / synthwave8-bit / 16-bit chips, FM synthRetro, platformerRealism
Industrial / metalDistorted bass, percussion-ledHorror, actionCozy
Ambient dronePads, no drums, slow movementWalking sim, horrorAction
Jazz / fusionLive instruments, improvStylish, narrativeGeneric action
Tracker / hyperpopGlitchy, dense, modernEsoteric, indieMass appeal

Ask:

One primary style. Which?

4. Define tempo + key range

Concrete numbers, not "varies".

Tempo range: 80–110 BPM (slow side; combat would push 120+)
Key center: D minor (warm but melancholic)
Modulation rule: combat tracks shift to D dorian, calm tracks to D natural minor
Time signature: 4/4 default; 6/8 for emotional cues

5. Build the SFX vocabulary

Eight named classes. Each class has a character, not a single sound.

ClassCharacterExamples in this gameDON'T
UISoft, woody, short (60-100ms)Menu hover, button click, tab switchNo bell tones, no synth blips
Pickup positiveWarm, ascending interval (major third), 200-400msCoin, key, healNo pure sine "ding"
Pickup neutralBrief tactile, no melodic componentNote, breadcrumb, lore itemNo ascending pitch (reads as reward)
Negative / damagePunchy low-mid, slight detunePlayer hit, enemy hit, fall damageNo long reverb tail
Movement / footstepMaterial-aware (wood / stone / grass)Walk, run, jump, landNo same sample for all surfaces
Attack / actionFront-loaded transient, short bodySwing, parry, dashNo layered orchestral hit
Ambient layerContinuous, low presenceWind, room tone, distant wavesNo looping melody
Stinger / eventDistinctive, rare, melodicBoss intro, level clear, story beatNo reuse for normal events

Ask:

Eight classes above. Adjust any character / examples / DON'Ts?

6. Define the dynamic music plan

Static music = one track loops forever in a level. Boring. Dynamic music = layers swell with player state. Pick a model.

ModelHow it worksCostBest for
Layered stemsOne bar / multiple instrument layers; combat adds drum stem, calm removes itMedium (need stems authored)Most games
Vertical re-orchestrationSame melody, different instrumentation per stateHigh (composer-led)Story-led / boss-heavy
Horizontal sequencingDifferent tracks for different states, crossfadeLow (just author 3-5 full tracks)Vertical slice scope
Procedural / generativeGenerate from rules in real-timeHigh dev costSpecial-case

Pick one. State the state machine:

States:
  CALM        — exploration, low intensity
  TENSION     — enemies aware but not engaged
  COMBAT      — engaged
  VICTORY     — encounter cleared (4-second sting → return to CALM)

Transitions:
  CALM → TENSION   when an enemy detects the player (2s crossfade)
  TENSION → COMBAT when first damage exchanged (instant drum stem)
  COMBAT → VICTORY when last enemy dies (drum stem cuts, brass swell)
  VICTORY → CALM   after 4s

Rules:
  No state stays > 90s without variation (loop with bar-1 randomization)
  Volume ducking: dialogue active → music -6dB
  Boss music is its own track; ignores normal state machine

7. Define the spatial + mix rules

RuleValue
3D attenuation curveInverse-square (default), max distance 25m
Reverb buses1 small (interior), 1 large (cave / hall), 1 outdoor
HRTF for playerON (headphone-friendly directional cues)
Master ceiling-1 dBTP (true peak, no clipping on consoles)
Music vs SFX vs UI mix-8 dB / 0 dB / -3 dB (SFX is loudest)
Footstep rolloffCuts at 4m for player; cuts at 10m for NPC (player needs them, distant NPCs are noise)
CompressionLight bus compression on master (2:1, slow attack, 100ms release)

8. Configure the audio bus layout

Real audio in Summer Engine needs a bus layout. A new project starts with only the Master bus, so configure the remaining buses now.

Preferred (Summer MCP): Buses are typically in default_bus_layout.tres. Modify project setting:

summer_project_setting(key="audio/buses/default_bus_layout", value="res://audio/default_bus_layout.tres")

Ask the user:

May I create audio/default_bus_layout.tres with these buses: Master / Music / SFX / UI / Voice / Ambient / Reverb_Small / Reverb_Large / Reverb_Outdoor?

On yes, write the .tres directly via Write (it is the engine's plain-text resource format):

Write audio/default_bus_layout.tres

Fallback (no MCP): Print the .tres for the user to paste, plus the project.godot line.

9. Save the audio bible

Always write the bible. Path: .summer/audio-bible.md.

markdown
# Audio Bible — <Game Name>

**References:** <3 specific tracks / games / films>
**Style:** <one of the 8 above>
**Tempo / key:** 80–110 BPM, D minor, 4/4

## SFX Vocabulary
| Class | Character | Examples | DON'T |
|---|---|---|---|
| UI | Soft, woody, 60-100ms | hover, click | bell tones |
| Pickup positive | Warm major-third, 200-400ms | coin, heal | pure sine |
| ... | ... | ... | ... |

## Dynamic Music Plan
**Model:** Layered stems
**States:** CALM / TENSION / COMBAT / VICTORY
**Transitions:** ...
**Rules:** ...

## Spatial + Mix
- 3D attenuation: inverse-square, 25m
- Reverb buses: small / large / outdoor
- HRTF: ON
- Master ceiling: -1 dBTP
- Mix bus: Music -8 dB, SFX 0 dB, UI -3 dB
- Footstep rolloff: 4m player / 10m NPC

## Bus Layout
Master → Music, SFX (→ Reverb_Small / Large / Outdoor), UI, Voice, Ambient

Ask:

May I create .summer/audio-bible.md with this bible?

10. Optional — generate first SFX seeds

If the user wants to start generating, propose 3-5 SFX seeds aligned with the vocabulary. These are starting points, not finals. Generate them with the sound-effect skill: the first sound effect in a chat starts with its question (three versions from three models, picked by ear in Summer Studio), and its prompt shape is the one that tested well.

assets.generate_audio({ capability: "sound_effects", text: "Foley one-shot: a fingertip taps a small wooden button, soft woody click, no tail, close-mic, dry, no reverb, no music, no voices.", durationSeconds: 0.5 })
assets.generate_audio({ capability: "sound_effects", text: "Foley one-shot: a small gold coin drops onto a wooden table, bright metallic ting with a short ring, close-mic, dry, no music, no voices.", durationSeconds: 0.5 })
assets.generate_audio({ capability: "sound_effects", text: "Foley one-shot: a fist hits a padded leather vest, low-mid thump, no tail, close-mic, dry, no reverb, no music, no voices.", durationSeconds: 0.5 })

capability is required; sound_effects reads from text (not prompt), and the length argument is durationSeconds (not duration) with a floor of 0.5 s (1 s for Stable Audio 3 SFX). Leave out modelId so the person's approved default model runs. Ask for the character you want inside the text and let the player only use the front of the clip — you cannot request 80 ms.

Ask first:

May I generate first-pass SFX seeds for UI, pickup, and damage classes? They're starting points, not finals.

11. Route to the next step

End with:

Bible saved. Next:

  • /design-mechanic to wire SFX cues into specific mechanics.
  • /game-feel if you haven't paired audio with visual effect cues yet.
  • Author or generate the calm music track first; it's the longest-running and sets the room tone.

Common mistakes

MistakeFix
Single reference for musicThree minimum. Listen for the common element across them.
"Library" instead of "vocabulary"A bag of free SFX with no shared character feels random. Eight named classes with character notes.
Same SFX for all eventsIf pickup-coin and pickup-key sound identical, the player learns nothing from audio.
No dynamic music planStatic loops bore in 90s. Pick a model (layered / vertical / horizontal / procedural).
Music louder than SFXPlayers need SFX for gameplay; music is mood. Default mix is -8 dB music vs 0 dB SFX.
No reverb buses"Send" architecture (rooms route to a small/large/outdoor reverb bus) is mandatory or your mix sounds dry-then-wet inconsistently.
Pure sine "ding" for pickupReads as cheap mobile game. Use a major-third interval with character.
Same footstep sample for all surfacesPlayers hear footsteps constantly; material-aware steps carry much of the perceived audio quality.
No master ceiling / true peakAudio clips on console builds without -1 dBTP ceiling. Always set it.
Assuming SetResourceProperty fails silently on inline sub_resourcesIt does not — inline targets work, and the structural failures (node not found, property is not a resource, resource is null) are explicit errors. What is silent on current engines is a bad value shape: a JSON object instead of an engine literal string, a misspelled subProperty, or a wrong-typed value returns ok:true yet no-ops or coerces destructively. Pass class names and literal strings, and confirm in the saved .tres/.tscn, never from ok alone. See summer_docs_read id reference/mcp-tools-reference.

Collaborative protocol

This skill writes one bible (.summer/audio-bible.md), creates a bus layout (audio/default_bus_layout.tres), modifies project.godot, and may generate audio (metered). Always ask before writing or generating. See summer_docs_read id reference/collaborative-protocol.

Want a working starter?

No template — this is a workflow that produces the bible the rest of the project obeys. After the bible exists, the bus layout is set up and any subsequent audio work (footstep system, dynamic music) reads from it.

See also

  • summer_docs_read id reference/collaborative-protocol
  • summer_docs_read id reference/godot-version — Summer compatibility and version-sensitive audio API notes
  • summer_docs_read id reference/mcp-tools-reference
  • brainstorm-game — produces the brief that anchors the bible
  • art-direction — the visual counterpart; audio must rhyme with it
  • adaptive-music — implements the dynamic music plan
  • sound-effect, music-track, ambient-bed, voice-line — generate the audio the bible describes

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
summer_assets_generate_audiosummer assets generate-audio
summer_docs_readsummer docs read
summer_add_nodesummer engine add-node
summer_get_project_contextsummer engine get-project-context
summer_get_scene_treesummer engine get-scene-tree
summer_inspect_nodesummer engine inspect-node
summer_project_settingsummer engine project-setting

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Audio Direction làm được gì?

Xác định âm thanh của trò chơi (phong cách âm nhạc, bộ từ vựng SFX, nhạc động) trong .summer/audio-bible.md.

Vì sao nên dùng Audio Direction trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Audio Direction là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Audio Direction trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/SummerEngine/summer/tree/main/library/skills/audio-direction. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Audio Direction?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Audio Direction với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Audio Direction với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Audio Direction có miễn phí không?

Có. Kỹ năng này được SummerEngine phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇