what software can use to place background music in my games??, current use Melody Raiser (midi is a generator but it is not always according to the game).
Don't understand the question, you mean making music?
Develop games in your browser. Powerful, performant & highly capable.
which program you use to create the melodies or music you put on the games?
Pretty big topic, can you write music? Maybe look at Reason - that contains most the sounds, instruments and recording features someone starting out would need.
If you can't write music, here are some generators for sound effects and music:
http://www.bfxr.net/
http://onlinesequencer.net/
http://www.seaquence.org/
http://getsoundly.com/
http://sfbgames.com/chiptone/
http://www.superflashbros.net/as3sfxr/
http://scribble.audio/