# The Subsequence Cookbook *From first sound to generative composition.* This guide is for a **musician or producer who knows their way around MIDI and is happy to learn a little Python** — no prior coding experience assumed. It starts by getting Python and Subsequence installed and a first beat playing, then builds step by step toward complex generative composition. Every example is runnable, and you can read front-to-back or jump straight to any topic from the sidebar. For an exhaustive method-by-method listing, see the [API Reference](../api/subsequence/index). ```{toctree} :maxdepth: 2 :caption: Part I · Getting Started 00-setup ``` ```{toctree} :maxdepth: 2 :caption: Part II · Pattern Fundamentals 01-step-grid 02-rebuild-loop 03-notes-beats-durations ``` ```{toctree} :maxdepth: 2 :caption: Part III · Generators and Pitch 04-generators-euclidean 05-pitch-and-scales ``` ```{toctree} :maxdepth: 2 :caption: Part IV · Harmony 06-harmony-context 07-progressions ``` ```{toctree} :maxdepth: 2 :caption: Part V · Material and Form 08-motifs 09-phrases 10-form-sections ``` ```{toctree} :maxdepth: 2 :caption: Part VI · Production Workflow 11-seeds-locks-freeze ``` ```{toctree} :maxdepth: 2 :caption: Part VII · Advanced 12-deep-generative 13-expression-hardware 14-live-and-data ``` ```{toctree} :maxdepth: 1 :caption: Appendices appendix-a-direct-pattern-api appendix-b-analysis-toolkit appendix-c-midi-routing appendix-d-api-reference appendix-e-glossary appendix-f-field-guide appendix-g-api-contract ```