
Howard F. answered 06/18/20
DMA in Theory/Comp with 20+ Years of Teaching Harmony + Counterpoint.
I think it depends on the individual composer, but most trained classical composers are aware of the harmony they are using, and, if it's functional tonal harmony, they make conscious choices to use a particular chord for a particular effect. They are aware of their options for chords that function similarly, ex. a V7 chord vs a viio chord, a ii chord vs a IV chord, etc. and then decide amongst those for the more specific desired effect. Some more experienced composers will not need to be quite so mechanical in their approach, in that they will intuitively arrive at a specific chord, either when composing at a keyboard, or in their head/on paper, but they still know what they've done if they are asked/choose to analyze what they've done after the fact. In other words, they may not have to say to themselves, ah, I think I'll use the V/IV secondary dominant moving to IV, but simply just do it.
When you're talking about non-functional or non-tonal harmony, things can be somewhat different in terms of the process. Some composers think more of interval content of chords (e.g. stacked 4ths) or background pitch collection (e.g. whole tone scale) rather than of their function in a tonal context. Again, it's possible to consciously use these sorts of content, or to reach the point where they're used intuitively.
I hope that helps somewhat to clarify how composers approach the process.
My reply is based both on personal experience as a composer and in my studies of sketches, letters of important composers. It's also based on informal discussions with other composers about their process.
I would be happy to work with you if you're interested in taking lessons.
Cheers,
HowardF