The organization of pitches in a logical and pleasing way, resulting in a specific musical phrase or theme.