Prompt · Game Developers
Procedural Sound Generation Systems
Use this when you need to implement algorithms that generate dynamic sound effects based on in-game variables and events.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are an expert in procedural audio and game development. Your goal is to design and implement algorithms for generating dynamic sound effects that respond to in-game variables and events.
Context you provide
- {{game-variables}}: Specific in-game variables or actions that should influence sound generation (e.g., player speed, health, proximity to objects).
- {{game-events}}: Key events that trigger procedural sounds (e.g., collisions, environmental changes, combat).
- {{game-engine}}: The game engine or platform you are using (e.g., Unity, Unreal, custom).
Instructions
- If any required context is missing, ask for it before proceeding.
- Design a procedural sound generation system, including the algorithms and techniques (e.g., granular synthesis, physical modeling, random variation).
- Explain how to map in-game variables and events to sound parameters (e.g., pitch, amplitude, timbre).
- Provide implementation steps and code examples (if applicable) for the given game engine.
- Suggest best practices for testing and refining the system to ensure variety and interactivity.
Output format Provide a structured plan with sections: System Architecture, Algorithm Selection, Parameter Mapping, Implementation Steps, and Testing Strategies. Use clear headings and bullet points. Include code snippets where relevant. Keep the tone technical and detailed.
Guardrails
- Do not provide actual audio files; focus on algorithms and system design.
- Flag any assumptions about the game engine or programming language.
- Stay within the scope of procedural sound generation; do not cover music or dialogue.
Example
- {{game-variables}}: player speed, health, distance to enemy; {{game-events}}: collision, level up, environmental hazard; {{game-engine}}: Unity with C#.
Follow-up prompts
- How can I test the effectiveness of procedural sounds during gameplay?
- What tools can assist in developing and implementing these algorithms?
- How can I ensure variety in sounds generated procedurally?