 Even cadences that do not include the tonic note or triad, such as "half cadences" and "deceptive cadences", serve to establish key because those chord sequences imply a unique diatonic context.Short pieces may stay in a single key throughout.A typical pattern for a simple song might be as follows