simont: A picture of me in 2016 (Default)
simont ([personal profile] simont) wrote2005-11-07 10:06 am

Name that tune

I woke up this morning with a fragment of a tune running round my head, and no idea where it came from. I've just managed to identify it, thankfully, but it's been driving me mad in the two hours between then and now; and there's another tune fragment which I've been trying to identify for months if not years.

What I'd therefore like to do is to post the tune in my diary so that all my readers can see if they know it; but I don't know of any sensibly standard way to represent music in ASCII. I could sing it into a microphone and post a link to an MP3 (or, probably more usefully, synthesise it programmatically into an MP3, which wouldn't require recording hardware and also wouldn't involve my poor singing voice complicating the issue), or I could write it down in musical notation and post a link to a picture; but both of those solutions strike me as woefully wasteful of bandwidth given that the actual information content of the few bars I can remember ought in principle to be no more than a line or two of text. I could enter it into some sort of sequencer program and post the file saved from that, but that suffers from standardisation problems: it would limit my audience to people with the same sequencer program.

If only everybody had a Spectrum, I could post a sequence of BEEP commands which would play the tune, and this would actually be a more standard low-bandwidth approach than anything else I'd thought of. It even briefly occurred to me that you can get Spectrum emulators for most operating systems… But that's not a good idea either, because the trouble with Spectrum emulators is that you can't cut and paste into them, so it would be a matter of everyone manually typing in the BEEP commands I posted.

I must be missing something obvious. Is there no sensible way at all for me to post a few lines in a text-based forum and have the majority of readers be able to cut and paste that text into something which will convert it into a possibly recognisable tune?

[identity profile] cartesiandaemon.livejournal.com 2005-11-07 10:35 am (UTC)(link)
Don't the notes have names like C and D#? Can't you just write those down?

Or find a font with music notes in, or write a program which will draw them in ascii art?

Come to think of it, parhaps a gif of the music *is* the right solution -- it should compress fairly well, no?

[identity profile] cartesiandaemon.livejournal.com 2005-11-07 10:48 am (UTC)(link)
I assumed recognising a famous a snippet was likely to have relatively simple timing/octave, to the extent you could just write it in brackets or something, or use an accent mark (which most people should figure out). ("GGGEb...")

"I think I'm currently leaning more towards audio solutions than musical notation ones, simply because not everybody can read music."

Indeed. Though there's probably some correlation between not recognising stuff and

Have you tried services like http://www.shazam.com/music/ where you ring them up and hum it and they tell you the answer? I've never tried it, but I've heard it's a lot better than I expected.

[identity profile] cartesiandaemon.livejournal.com 2005-11-07 12:12 pm (UTC)(link)
Mmm. But I'm sure I remember *some* service it was worth trying with. It'd almost be worth the cost of the call just out of curiousity imho

[identity profile] songster.livejournal.com 2005-11-07 04:32 pm (UTC)(link)
Write it out on a proper stave, scan it, post the link?

[identity profile] songster.livejournal.com 2005-11-07 04:33 pm (UTC)(link)
I take on board the point that many people can't read music - on the other hand, those who can actually answer your question are vastly more likely to be able to...

[identity profile] songster.livejournal.com 2005-11-07 04:36 pm (UTC)(link)
Hum. Only if you're considering *your* bandwidth and processor time, as compared to everyone else's who has to decode the information from the textual representation, surely? I include wetware processor time in this calculation.

[identity profile] mooism.livejournal.com 2005-11-07 10:40 am (UTC)(link)
There are unicode characters for music notes, presumably with <pre> and <s> or <u> you could mock up a stave to display them on.