Hiatus [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Mon 2009-09-28 16:33
Hiatus

Hmm, I seem not to have posted anything in here for months. I'm not quite sure whether my life has been more boring recently, or whether it's just that my interestingness threshold for bothering to post in this diary has gone up.

I've had a new silly project preoccupying me since I last posted, which is to arrange a means of computer-typesetting music that doesn't irritate me. Until now I've been using a program I wrote myself when I was 15 and have stuck with on the grounds that I already knew how to use it and it's just about good enough, but it shows definite signs of having been written by a 15-year-old, and in particular the copyright status on its font of musical symbols was uncertain so I couldn't distribute it. Every alternative I've looked at since then has irritated me for at least one reason, and in particular I haven't found any replacement set of symbols that were both to my taste and copyright-unproblematic. So in the last couple of months I decided enough was enough and drew a new set from scratch, and then dropped that into the least irritating of the existing typesetting software. As of the weekend just past, the result is passing its stress test collection and I think I prefer its output to everything else I've seen including my own program. I can witter on about this at much greater length if anyone is interested and hasn't already been subjected to two months of said witter in the pub :-)

Last week I finally got round to dealing with the fact that nobody is currently selling acceptably nice gluten-free pizza bases, by experimenting with my breadmaker's pizza dough setting. This was successful after a couple of attempts (and even the first attempt wasn't too bad), so I now have a sudden urge to feed pizza to everyone I know.

Other unexpected things that have happened to me in the last couple of months include unexpectedly being called on to help catch a young woman jumping off a roof (she'd apparently climbed up there for a laugh and then found getting down was harder than getting up; I was walking past at the time), accidentally re-proving a theorem of Erdős in conjunction with [livejournal.com profile] drswirly (it struck me as an interesting question and we managed to prove the answer before finding out who'd already done it), accidentally finding the inverse cosine of 0.9 (a number I picked completely at random was so close to it that it completely confused a test program I was running) and having a cold while on holiday (bah).

LinkReply
[personal profile] emperorMon 2009-09-28 16:08
Ooh, I'd be interested in seeing how your symbols compare with lilypond's default ones, given it's the thing I use for typesetting music.
Link Reply to this | Thread
[personal profile] simontMon 2009-09-28 16:24
I could upload some comparison PNGs this evening if you like. Any particular symbols (e.g. ones specific to your instrument(s) of choice) you'd like to see included in them?
Link Reply to this | Parent | Thread
[personal profile] emperorMon 2009-09-28 16:47
That would be grand; I can't think of any particular things OOTOMH.
Link Reply to this | Parent | Thread
[personal profile] simontMon 2009-09-28 18:12
OK. Here's a pair of demo images that show off all the clefs, note heads, note tails, ordinary accidentals and a few other things:

First one is standard Lilypond; second one is mine. Things I specifically disliked about LP and prefer about mine include the treble clef (LP's is absurdly tall by the standards of most others, the curved line down the middle makes it look as if it's leaning backwards, and a couple of parts are rather unevenly curved); the trill (LP's is unpleasantly ornate, mine is more in the style I was used to from music I actually played); the time signature digits (IMO much more readable if they're small enough not to collide with the outer stave lines, though actually making them miss at both ends turned out to take some cheating!); the sharp (LP's is too wide and also too slanted for my taste); the fermata (mine looks like an arc of a circle whereas LP's non-vertical ends make it look oddly parabolic); the quaver tails (some differences between the down and up tails are a good thing, but I think LP takes it a bit far). And if you look very closely, LP's minim head has a knobbly outline, but it isn't really clear at this resolution.

Most importantly, I find I can read my version without the notation jumping out at me: I find it does a better job of fading into the background. Standard LP looks like strangely stylised music, whereas mine just looks (to me) like music.

Link Reply to this | Parent | Thread
[personal profile] emperorTue 2009-09-29 06:40
Thank you. I shall have to flick through some of the music I own and see what I think - I'm not sure I've much looked at music and thought "that's nice"; sometimes really badly typeset music hacks me off, though.
Link Reply to this | Parent | Thread
[personal profile] simontTue 2009-09-29 16:00
Seeing you mention your interest in early music in your own LJ reminds me of something it might be worth me mentioning up front: I haven't actually quite implemented a drop-in replacement for the whole of the Lilypond font. I've done most of it, but there are a few obscure pieces I've left out on the basis that they probably wouldn't come up in normal use and I could wait to see if anyone actually really wanted them. One of those, in case it turns out to be important to you, is the entire section of the LP font that deals with early music notation: mensural and all that. (One reason I haven't done it is because I don't know anything about it – I'd prefer to understand the aesthetics and readability requirements before I sit down and draw fifty glyphs that might turn out to be completely useless.)
Link Reply to this | Parent
[identity profile] marnanel.livejournal.comMon 2009-09-28 17:29
When I next see you in a pub, feel free to tell me as much detail as you like about the typesetting project! It sounds pretty interesting.
Link Reply to this | Thread
[personal profile] simontMon 2009-09-28 18:19
I don't know when I'm next likely to see you in a pub :-) but I might write a long cut-for-geeking post with some of the details if I get round to it.
Link Reply to this | Parent
[identity profile] gjm11.livejournal.comMon 2009-09-28 18:47
I'd be very interested to know more about your music typesetting. FWIW, my tool of choice is PMW. Like Lilypond it takes textual input; unlike Lilypond its input language is reasonably lightweight; perhaps there is some highly formulaic and repetitive music for which the procedural stuff Lilypond can do is actually useful, but I don't think I've ever seen a case where it would be worth the overhead.

What was the theorem, and how hard was it to prove?
Link Reply to this | Thread
[personal profile] simontMon 2009-09-28 19:32
Ah yes, PMW was mentioned to me but I never quite got round to looking at it. It looks to be on roughly the same general level of complexity as Mus (my own unpublished effort as mentioned above). A brief look at its font in particular doesn't do anything to make me think I've been wasting my time, though :-)

The theorem: given a positive integer n, how many integers do you need in order to guarantee that n of them sum to a multiple of n? (answer and five different proofs) I think it took us about an afternoon or so of serious thought between us to find a proof, once we'd decided what we thought the right answer was to start with (for which I cheated by computer search). Of the five proofs given there, ours was pretty similar to the first one (though Erdős's version, as one might expect, was more elegant and included a more neatly reusable lemma).
Link Reply to this | Parent
[personal profile] emperorTue 2009-09-29 06:41
For music that's verse+chorus, the procedural stuff can be quite handy. Lilypond can be a bit boilerplate-tastic, though.
Link Reply to this | Parent
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]