# Skill: Genre Code Generator This skill enables the generation of Strudel code templates based on a specified Genre and Sub-Genre. ## Trigger User input format: `Genre: ` or `Sub-Genre: ` (or both) ## Process 1. **Analyze Style**: Identify key musical characteristics of the provided Genre and/or Sub-Genre (BPM, swing, sound palette, arrangement). Search the web if necessary to gather accurate stylistic details. 2. **Map to Strudel**: - **BPM**: Set appropriate `setcps`. - **Drums**: Select Drum Bank (e.g., `tr909` for Techno, `tr808` for Trap/Electro). - **Rhythm**: Define patterns (e.g., Euclidean for IDM, 4-on-the-floor for House). - **Tones**: Choose Synths/Instruments (e.g., `sawtooth` for Trance, `gm_epiano1` for Deep House). - **FX**: Apply genre-specific effects (e.g., heavy `delay` for Dub, `distort` for Industrial). 3. **Generate Code**: Construct the code following strict rules in `reference.md` and `gemini.md`. ## Output Format (Strict) - **File Type**: Markdown - **Code Block**: Javascript (Strudel) - **Explanation**: Japanese. Explain the code structure and how it represents the genre. --- *Load this file to activate the Genre Composer capability.*