Tuesday, 16. December 2008, 09:22:43
In case you didn't know, I'm a musician and composer. That's my main job (I also work in a bookshop a couple of days a week) and I work in the fields of contemporary music and jazz.
This does not make for a multi-million pound lifestyle. And music can be an expensive profession. I made the switch - fairly painfully, as it happens, but quite successfully in the end - to a Linux system. It was painful because even though there are a lot of resources to generally help with a generic system, you do have to read each bit of help you find the help you need for your specific system. This takes time, which is where (for a new user) Linux is very expensive indeed.
But on the plus side, my time fixing a system so that it works well for me doesn't actually cost me money. As money is the thing in which I'm deficient (I can always find time to do something else!) then Linux is a very good choice for a self-employed musician. More and more distributions are being made with audio applications in mind, and I strongly feel that musicians inputting knowledge to the work would only strengthen it.
That said, there was one piece of software from my old Windows system that I haven't been able to let go of.
Lime is a music notation editor that I've used for the last five years. I bought my version at a ridiculously good £45; it's done a lot of good work for me over the years and I highly recommend it, especially if you can touch-type as it gives each pitch a keypress of its own (LIKE A PIANO! unlike most other notation editors, for which you enter a note {a, b, c, &c.} and then enter the sharp or flat as an alteration).
I dallied with the various notation solutions for Linux and realised that
- I don't like entering code to write Western notation (Lilypond, CMN). In fact, I think it's weird. We're dealing with the visual medium. It's quicker to write it by hand.
- I don't like frontends that don't offer the full range of options that the backend can deliver (Denemo, Rosegarden, Noteedit, Nted - and yes, that's almost all of them).
- I don't want to enter two keys for one note (all of them including Musescore which apart from that and the fact that it crashes openSUSE 11 fairly regularly, is very good)
- I want total control of the number of lines on a stave (unlike any of them except Musescore - but only after the first measure - and Canorus. Unfortunately, this was the only aspect of Canorus I liked and could use)
So, I headed back to Lime and set about making it work. There exists a Microsoft compatibility application called
WINE: it does all the really hard work of getting Lime to run, but the notes didn't display at all.

So I re-encoded the fonts so that they would display, and give a small guide to get it to work. The only thing you will need (that I cannot supply) is the Symbol font from Microsoft Windows. But you should be able to pull it off an existing Windows system, like I did. With luck, it'll join the other MS core fonts in time. Who knows?
Anyway, the caveat: I'm using openSUSE 11.0 and Fluxbox. I'm not a programmer. I don't know enough about Linux to help you out in advanced cases. It's working here. I HOPE it works for you.
- Copy the Symbol font to the fonts directory of your WINE installation (this may be at /home/(username)/.wine/drive_c/windows/fonts/)
- Download and install Lime (it doesn't matter where as long as you know where it is - for this example I'm going to say it's at /home/corey/Lime/)
- Download this zip file with the modified fonts and extract it into the Lime directory
Now we need to add Lime to the Fluxbox menu. To do this
- Open up /home/(username)/.fluxbox/usermenu in a text editor
- Since my path to Lime.exe is at /home/corey/Lime/ I would add
[exec](Lime) {wine /home/corey/Lime/Lime.exe}
to the file
- Save usermenu. On my version of Fluxbox (1.1.1) this updates the menu automatically so you can see if it works straightaway
To actually hear the output from Lime, you'll need Timidity, which allows you to hear MIDI events through your soundcard. I decided to have Timidity start up when Lime did, through a keypress: I went to /home/corey/.fluxbox/keys using a text editor and added the line
Mod4 F9 :MacroCmd {Exec timidity -iA D} {Exec wine /home/corey/Lime/Lime.exe}
Every time I hold down the Windows key and hit F9, Timidity starts up, then Lime. I'm then ready to write and can hear the stuff I've done.
Lime uses the Alt key to select annotations and chord symbols - this cannot be changed inside the program, and for Fluxbox users the Alt key is normally used to move a window. Luckily Fluxbox allows you to change this behaviour. Open up the keys file again and scroll down to the area that says
# alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
And change
Mod1 to
Mod4.
It's all very nifty, and didn't take me all that long to do after I'd got the fonts re-encoded. Of course, I'm still waiting for the day that I can happily use an open source notation tool as well as Lime... but until then...