does anyone know of a software that:

-can record MIDI
-is free
-can edit what i record

thanks

i have ubuntu 8.04