There are softwares like LMMS called the Audio or Music production softwares.
Their main task, or which I'm most interested in, is to create sound imitating the notes of music in differentg instruments, combined to form a melody or a tune.
Is there a similar software but which could be used like a command line tool, or like a text-based IDE?
To make it more explicit, it should be able to do the following:
produce sounds of different notes of various musical instruments, at least of a piano
compose together and play a string of such musical notes
save and load such a composition
Windows 8. Freeware preferred but open to paid as well.