I usually open up a drummer that has loops and grooves, find a tempo that can portray the emotion I feel then look for chords that fit how I feel, After recording the chords, I will pick a melody, then change the drum pattern (make my own) Do alot of layering, and constantly listen to the track from the beginning and introduce changes throughout the music where I feel they should go.