Common-tone diminished chord
A brief diminished color can circle a stable chord without changing key.
An embellishment around one note
A common-tone diminished seventh chord decorates a stable harmony while retaining at least one pitch between the two. It can sound like a flash of tension around a chord rather than a new key or strong dominant. In C, a diminished shape can surround a held C as nearby voices move away and back. Its spelling and placement matter more than a generic diminished-chord label.
Keep one finger down
Hold a C in the melody while moving the other voices from C major into a neighboring diminished sonority and back. Listen for the held note stitching the passage together. If the diminished chord instead drives strongly to another root, an applied leading-tone reading may fit better.
A short duration and return to the original chord strengthen the embellishing reading. If the diminished sonority persists for several bars, the ear may hear a larger harmonic departure.
Related entries
Further reading
These source links provide technical background; the exercises above are Eidolon's own editorial guidance.