There are two types of composers. Like Stravinsky, some always are aware of the instrument that will be playing a given melody. However, other composers do work out the orchestration only after they have finished composing. I'm like Stravinsky. I always write music with specific instruments in mind.