Making music on Ubuntu

This is just to share my (extremely basic!) knowledge for people having some sort of electric keyboard, piano or other MIDI enabled device and willing to learn something new. Once, you can connect your instrument to your computer you should be fine to follow this tutorial.
Recording MIDI
I have been playing previously with Reaper, but unfortunately it’s Windows-based program and sometimes I was encountering problems with it under Ubuntu. Therefore, I’ve looked for alternative, and I have found Rosegarden.

# install
sudo apt-get install rosegarden
# you may also want to install qjack, but it may  be installed internally by rosegarden
sudo apt-get install libjack0:i386 \qjackctl
# plug your MIDI device, run & record

Converting MIDI to MP3
Personally, I recommend online solution, solmire, that offers better sound quality in my opinion, than using timidity. Anyway, timidity seems quite powerful and I guess there is possibility to improve the quality somehow.

# install
sudo apt-get install timidity lame
# play
timidity your.mid
# convert to mp3
timidity your.mid -Ow -o - | lame - -b 96 your.mp3

Sharing your music
I really recommend SoundClound. It’s free for basic usage and has very strong community. You can check some of my pieces.
Do you know something more? Great! Please share it, as I’m really looking for some advices!
Inspired by UbuntuForums and many other forums.