For a project I am currently working on I need individual midi files of single piano notes as though the note was held for 4 seconds before release. I have found a few toy online midi keyboards that can generate the exact notes desired, but there is no output option. What software (Windows or linux) would allow me to generate a specific piano key and output that note as a file? I have played around with rosegarden and been unsuccessful, and I do not have access to a physical synthesizer or keyboard.

2 Answers 2


Rosegarden should do the job.

If you have programming skills, it is extremely easy to generate MIDI files like this with python or perl and the appropriate MIDI library.

Along similar lines, I wrote some tiny Pure Data patches for holding long, droning notes. You can get them at the Pure Data forum (you have to sign in to see the attached files).

Update - here are the Pure Data patches on github.

  • Ok, I guess I didn't give it a good enough shot. Ill try again soon. Thanks for the link, helped a good bit.
    – a sandwhich
    Oct 27, 2011 at 3:05
  • I've been meaning to setup a GitHub of my PureData patches, if you are interested contact me at my name at gmail dot com. Oct 27, 2011 at 3:09

I thought that rosegarden could export to .midi files...

Nevertheless here you have a list


Some of them GPL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.