Melody Generator is a software application designed specifically for helping you generate melodies by positioning notes on a staff and tweaking several audio parameters.
Melody Generator runs on Macintosh and Windows platforms and can be downloaded freely.