Canorus is a free music score editor. It supports note writing, scripting support, import/export of various file formats, MIDI input and output and more! Note that Canorus is still in early stage of development and not nearly all the features are implemented yet!
Canorus is free (libre) software, licensed under GNU GPL.
Download: Canorus 0.5