Usually I have a basic idea about a song. It can be a melody, a rhythm or a riff. I start to develop the idea on the guitar, on the piano or with a computer. When the basic idea is ready I make a basic composition with a midi editor using real instrument voices. Then I create synthesized voices and replace the original voices with them. And after that I finalize the song.