Archive for the ‘books’ Category

Sampling keyboard

Thursday, July 3rd, 2008

I'd like to write a piece of software which makes it trivially easy to record and instantaneously play back sound. This piece of software would be operated by holding down keys on the computer's keyboard. For example:

  1. Holding down 'R' records whatever goes into the computer's microphone while the key is held down and stored in the next unused buffer.
  2. Holding down 'P' plays back all the buffers at the same time (until the last buffer runs out or the key is released, whichever happens first).
  3. Holding down 'B' does both (with appropriate cancellation of the output signal from the input signal).

This software would enable a truly epic (and slightly shorter than normal) reading of the children's book "Doggies". For those unfamiliar with the book, there are ten dogs, each of which has a different bark ("Woof", "Yap yap", "Ruff ruff ruff" etc.). On the first page the first dog barks, on the second page the first and second dogs bark and so on.

With the aid of this software, the human reader/operator need only make each dog sound once. Furthermore, all the dog sounds would be heard simultaneously, making the immediate vicinity sound like a dog pound by page ten.

I'm sure there are other uses too, but this was the inspiration.

Everything I needed to know about life, I learned from "The Very Hungry Caterpillar"

Saturday, June 14th, 2008
  • When you are hungry, eat.
  • Fruit is good for you.
  • Eating too much junk food will give you a stomach ache.
  • Green leaves can cure all ills.
  • When you are not hungry anymore, stop eating.
  • When you want to change yourself, hide away while you do it.
  • Anyone can become something beautiful.

Background music for books

Thursday, June 12th, 2008

Normally when I read books I don't have music playing in the background as it's too distracting. But there have been occasions when (for one reason or another) I found myself reading a book and listening to music at the same time, and actually being able to concentrate on and enjoy both, particularly when the mood of the music seemed to fit the mood of the book.

It seems to me that this (with a bit of high tech magic) could be an entirely new multimedia experience - a system that plays appropriate music while you read.

It would be kind of difficult to implement, though, because everyone reads at different speeds and the speed isn't even consistent for a given person. So you'd need a computer program which can "recompose" music so that certain musical events can happen on demand. This isn't completely unheard of - I remember hearing about a roller coaster which had synchronized music which had to solve a similar problem (a roller coaster runs at different speeds depending on the mass of its payload.

Then you'd just need a system that could track your eyes to find out which bit of the book you were reading at any given moment.

Probably not possible yet but maybe in a few years.

Cool stuff you can't find on the web

Saturday, November 3rd, 2007

Every so often, I think of something - perhaps a book, television programme or computer game - that I remember but that I have lost or have no record of. Usually when that happens, I turn to the web - a simple search and I have a massive amount of information on whatever it is in no time.

However, sometimes it doesn't work. For whatever reason, the collective consciousness has failed to remember some things. A few of these are recorded here, but since I'm relying on my memory, some facts may be inaccurate.


Fire was a computer game I used to have a copy of, but it was destroyed by the Dir II virus. You had to fly a helicopter through 8 levels, blowing up various things including hot air balloons, planes and a train (which constituted level 2). Then there were some levels over water, where you had to destroy boats, and some over desert, where you had destroy tanks and ground-to-air missile launchers. The really amazing thing about this game was the parallax scrolling - I'd never seen anything like it on the 8MHz 8086 I played it on. It had CGA and EGA graphics modes. The title screen (which took up most of the first of the two 360K floppy disks the game came on) was beautifully atmospheric, with the helicopter flying in front of the sun and stopping in the middle. Then there was this brilliant (and long) bit of sampled soundtrack. There was some documentation, but it was in French. When I asked Jim Leonard of Mobygames, he hadn't heard of it but said it sounded like a game by Loriciels. I found some screenshots for another Loriciels game on the web and the graphics did have a similar sort of style. I'd really like to play this again, but searching for "Fire" in the context of computer games is a somewhat futile exercise.

[Update!] - Fire wasn't by Loriciels at all but by New Deal Productions. I have found information about versions for the Amstrad CPC, Amiga and Atari ST, but still haven't found the PC version.

[Update!] - Found it! (at ibm5150.net). It can run from a hard drive in theory but the contents of the zip file need to be in the root directory for it to work. I seem to recall that to run it from 2 360Kb disks, the CGA and EGA directories need to be on disk 2 and everything else on disk 1. Start with "fire c" for CGA graphics, "fire e" for EGA graphics or "fire h" for Hercules graphics. The documentation also mentions "fire v" but that doesn't seem to work. This is probably because there's no vga graphics directory (it was also missing on the copy I had on floppies). The sampled soundtrack 52.7 seconds of 4-bit samples at 9.322KHz (1/384 of the NTSC colour burst frequency). DOSBox plays it fine in all 3 graphics modes, though needs to be slowed down a bit from the default - the game is CPU-speed dependent (unusually for a game made as recently as 1989).

For the most part the game is of very high quality but there are a few rough edges - apart from the VGA graphics problem already mentioned, the game seems too difficult to start with and then very easy once you get the knack of it. This, combined with its rarity, makes me wonder if the PC conversion was unfinished or unreleased.


I used to have a book which (like the "choose your own adventure" series) was divided up into sections, between about 1 and 5 per page. At the end of most of the sections there was a decision to make, with a section number for each choice. There were about 200 sections altogether, and many possible paths through the book. Every time I read it I came across sections I hadn't seen before. The book was also a competition - if you figured out it's secret you had a chance of winning a trip to Disneyland. The plot was that the land was dying, and you had to find a magic word to tell Steeleye the Raven so he could break the spell and restore the land. At one point in the book, you were falling and had to shout "Save me, Steeleye!", holding the feather he gave you at the beginning of the book, in order to get rescued. There were puzzles such as roman numeral codes and liar/truth-teller type things. There was a unicorn near the beginning who gave you a tear which emitted light. There was a talking tree near the end, and there might have been a swarm of bees somewhere. One character says "Deeds, not words" and tries to kill you. The book was published by Ladybird (it was that shape) but I don't remember what it was called or who wrote it.

[Update!] - I now know that the book is called "Steeleye and the lost magic" by Jason Kingsley, illustrated by Jon Davis and pubished in 1987. If anyone can help me find a copy I'd be very grateful to them!

[Update 2!] - I now have a copy of the book! It's a bit shorter than I remembered (only 117 sections) and a bit easier (I've solved it, I think, apart from one cryptic clue) but otherwise very much as I remember. I've scanned it so hopefully soon I'll find time to put it on the web (okay, it would be a copyright infringment, but since the book is out of print I'm sure there would be no harm in it.)

Links which helped me in my quest to find this book:
Demian Katz's Gamebook site - http://www.netaxs.com/~katz/game/book.htm
The Cheesypeas Ladybird book site - http://www.cheesypeas.demon.co.uk/ladybird
Sadly, both of these websites have since gone missing. Please let me know if you find them.


Comedy wordsmith and Splicer's disease sufferer Creighton Wheeler, who used to appear regularly on
Kevin Greening's weekend morning shows on BBC Radio 1, and now appears somewhat less regularly on Steve Wright's afternoon show on Radio 2.

[Update!] - The part of Creighton Wheeler is performed by Andrew McGibbon. Testbed made two shows about Creighton Wheeler in 2003 for Radio 4, called "Wheeler's Wonder" and "Wheeler's Fortune". Anybody know where I can get a hold of these? Apparently Creighton Wheeler has also appeared on Loose Ends.


Pickwick tell-a-tale tapes (in association with Ladybird books, Pickwick international and Moss Music) - brilliant audio books for children. I have "Treasure Island", "Swiss Family Robinson" and "Gulliver's Travels" but I'm sure there were many more. The voice acting and classical music were great.

[Update!] - Reader James pointed me to this website which is selling these tapes.

Along a similar vein, there used to be a magazine (I think) which came with a tape which had various childrens stories on it. The one I remember was "The thin king and the fat cook" but there were a few on each tape. I had a couple of tapes, but I've lost them now. Maybe they are still at my parents' house somewhere.

[Update!] - This is what I was talking about. Apparently I had "Story Teller 2" parts 5 and 16 and possibly also "Christmas Story Teller" part 2, because the titles Bored Brenda, Noggin And the Birds, The Snow Bear, The Inn Of Donkeys, Shorty The Satellite And The Brigadier, The Nightingale, Hugo And the Man Who Stole Colours, Mole's Winter Welcome, The Tale of the Little Pine Tree and Grogre and the Giant Nasher seem familiar. I remember very little about any of these except that (as I recall) some of them made me feel quite sad. And there was something about a picnic of bread, cheese and apples in one of them. And people getting swallowed up by a bog. Derek Jacobi's voice still makes me think of these stories to this day. It's quite possible that at least some of these tapes were chewed up by my tape player - it used to do that every once in a while (particularly when I stuck things into it - I was a little scientist).

[Update!] - I got a hold of a digital copy of all of the tapes and magazines, and they are just as good as I remember - extremely well done. I have been playing them for Alexander but he's a bit young for them at the moment. I look forward to the day when he is old enough to enjoy them. The one with the picnic was "The Snow Bear", and the sad one was "The Nightingale" (all these stories have happy endings, though). "Mole's Winter Welcome" still brings a tear to my eye.


The A Word A Day entry for 18th December 1998 reads:

Date: Fri Dec 18 00:04:27 EST 1998
Subject: A.Word.A.Day--straight-from-the-shoulder
X-Bonus: We see but dimly through the mists and vapors; \
 Amid these earthly damps \ What seem to us but sad, funeral tapers \
 May be heaven's distant lamps. -Longfellow (1819-1892)

straight-from-the-shoulder (strayt-fruhm-thuh-SHOAL-duhr) adjective

   Frank and forthright: straight-from-the-shoulder reporting.

   "A striking poem called Sequinned ends this way:
        Girl, don't you let that city get away.
        Lift it up, raise it up, slip your arms through
        and take it back to dance.
   This is poetry that speaks to us boldly, straight from the shoulder."
   Natalie Soto, et al., On the Shelf, Rocky Mountain News, 21 Dec 1997.

This week's theme: idioms.

Anyone know who this poem is by and where I can get a copy?

[Update!] My friend Claudine Burgos found the poem. Not on the web, though - by the old-fashioned technique of looking up the archives of the Rocky Mountain News and calling the library to find a copy. The poem is by Allison Adele Hedge Coke and goes:

    Don't tell me you couldn't reach down pick up
    the whole gleaming garment and wear it
    to fancy shawl dance back home. Dancing proud
    in a twenty -four- dollar trinket city.

    All laid out
    shimmering and shining on jet black world
    traffic lights, stret lamps, hot neons, cool fluorescents.

    Headlights
      	swim freeways electric

      	minnows, glittering eyelets on bridges
    bridges lacing up New York and Newark, separate
    sides of a sequined vest.  Borough lights trace out
    webbed wing

    butterfly design, no wasps- mosquitoes even.
    Something ready to fly off the whole metro stretch.
    Some cousin calling:

    Girl, leave your French braids right `cause
      	Cut Nose is goin' ta have it out with you
    Over snagging her sometimes half-side last night.
        She wants to take yoru prize and crown
  	from Red Nations Pow Wow-

    Her eyes painted sharp red at the corners,
    red as the landing light
      	on this plane's wing tip.
    Her plume high and straight, the Empire State,
    while yours falls
      	gently over your part.  But that vest-
    red, green, gold, silver sparkles,
    no one's got more brilliance.
    More elegant that bugle beads and embroidery,
    More stunning than satin and silk.

    Girl, don't you let that city get away,
    Lift it up, raise it, slip your arms through
    And take it back to dance.

The game Willy the Worm was written by a guy called Alan Farmer. Anyone know anything about this game other than what's in the documentation, such as where to obtain the editor, and what the author is doing these days? I'd be particularly interested to know if there was ever a "Willy the Worm II" or a "Pete the Pigeon" game.

[Update!] - A school friend of Alan's sent me some of his software:


I used to have a book called something like "20 Games for the BBC Micro". They were written in BBC BASIC mostly (although there was one - a board game - which was written partly in assembler). You had to type them in. The games included Hunchback, Monty Mole, a Star Wars game and some others I don't remember. How come you can't find downloadable copies of these games to run on an emulator?

[Update!] I since found out what happened to the book - I lent it to a friend of mine and forgot about it. I'll have to try to remember to get it from him next time I see him, and possibly reproduce some of the programs here.


Chris Evans used to do the breakfast show on BBC Radio 1, and every Friday he and his cohorts would sing "The Weekend Song" (or, possibly, "The Friday Song".) Some of the lyrics were "I want Spielberg to focus my camera / I want Versace to dress my dog...".

[Update!] - Someone sent me some more lyrics:

I want to live in a castle,
I want an ocean for a pond,
I want a jumbo jet just to get to work,
Because it always takes me far too long.

I want to skip in the sunshine,
I want to dive into the deep blue sea,
I want to buy an ice cream for the man in the moon,
Because he always shines his light on me.

I want Spielberg to focus my camera,
I want Versace to dress my dog,
I want a current account at the Jodrell Bank,
I want Niagara falls to flush out my bog.

We're all just a drop in the ocean,
And the world's just the size of a pea,
And like a meal for one, it'll soon be gone,
And it's all just a cliché for me.

Anyone got a recording?


"Das Verflixte Hundespiel" by Artus Puzzle. You had nine cardboard squares, and on the side of each square was half a dog (either a head or a tail). There were four different types of dog. You had to arrange the squares into a 3x3 matrix in such a way that the heads and tails matched up. It was very difficult! There are 9! x 48 = 23,781,703,680 different ways of arranging the squares but only 2 solutions. I eventually gave up and wrote a computer program to solve it.

[Update!] - Das Verflixte Hundespiel is still being sold here. Apparently it is Swiss. This isn't exactly the same version I had - the dog illustations on the version I had were different.

A friend of mine remembers having a British version - anyone know anything about it?

My then girlfriend (now wife)'s family bought me a similar puzzle which is even more difficult as it only has one solution. The box and website claim that there are "over 300,000" wrong ways to assemble the pieces but this is a gross underestimate (probably based on 9! = 362,880 permutations, which doesn't include orientations).

[Update!] - Commenter John requested the solver program and solutions. Here they are. It is currently set up to solve the card suits jigsaw version (I don't have the "Das Verflixte Hundespiel" puzzle to hand). It's not a particularly elegant way of coding it (18 nested loops for the tile choices and orientations) but it should be easy to adapt for similar puzzles. There is a project file for Microsoft Visual Studio .NET 2003 but the code is portable.


This one isn't for me, but for a friend of mine. Dave writes:

Several years ago, a band called Blind Melon did an acoustic set on a late-night ITV rock/metal show called "Noisy Mothers". Around a month later, the lead singer died of a cocaine overdose, after they'd only released two albums [they released a third posthumously]. I've been trying to track down a recording of that ever since I accidentally taped over it a couple of years ago, before I could transfer the VHS to digital... I'll be impressed if anyone in the world can track a copy down...

Can you help?

[Update!] here is one of the songs from the set.


Some years ago, I remember seeing several episodes of a TV show called "They Who Dare" on BBC2. Each episode was only 10 or 15 minutes long (might have been longer or shorter, I don't remember, but I'm sure it wasn't a full half-hour).

Each episode documented some dare-devil sport such as parachuting, hang-gliding or BASE jumping. One particularly memorable episode featured people jumping out an aeroplane and then parachuting down large holes in the ground. The holes themselves were formed by some unusual natural phenomenon, and were quite spectacular even without people parachuting down them.

Each episode was a real work of art - fusing music and beautiful landscape cinematography with the human drama of people who get their kicks from flying through these scenes in some dangerous fashion. It was so enthralling that I remember regularly finding myself realizing at the end of an episode suddenly realizing that I had actually been watching TV for the past 15 minutes and not actually performing these incredible stunts.

I'd love to get a hold of copies of all the episodes of this show, but have only found single, in-passing mention of it using Google.


Along similar lines, I remember hearing about a 5-minute BBC promotional film short featuring a Helicopter tour around the coast of Britain. I never saw it (except for highlights on Points of View but I remember people saying it was really amazing to watch. I have ever since been kicking myself for missing it.


What is this piece of music? I found it on an episode of This American Life but this piece isn't listed. It isn't on TAL's scoring tracks page either (I think - I listened to them all and didn't hear anything that sounded like it). The world needs a search engine where you can upload a piece of music and find out what it is.

[Update!] - Somebody pointed out that such services already exist - Shazam is one and I think there are several others. Unfortunately they all seem to need an SMS-capable mobile phone which doesn't really help me because I don't have one.

[Update 2!] - John Philips from Bath emailed me with the answer - the song is "At The River" by Groove Armada.


This one is a real long-shot, since there is almost nothing to go on.

There is a childrens book I remember reading as a child, but I remember almost nothing about it. I remember that I read it in the childrens' section of Goring library, and it may have been about some children going into space. I think it was (at least mostly) a picture book. I have a vague recollection of one of the illustrations being of something like this (possibly in the middle of a large room, possibly aboard an alien spaceship - though that could just be a mental picture I formed at the time). I don't know that I would even recognize it if I saw it. I do remember that I felt amazingly inspired by it at the time and I have a feeling it may have influenced my life greatly.

I recently visited Goring Library again for the first time in more than 19 years. It was very much like I remembered (though as one would expect it seemed smaller than I had remembered). Unfortunately (with the exception of some Meg, Mog and Owl books I had completely forgotten the existence of) all the books I that were around when I was a child seemed to have been replaced.

So to sum up, this book:

  • Was written for children
  • Has colour illustrations
  • Was published in the UK in 1988 or before
  • Has a science-fictiony sort of story, possibly involving aliens

Any suggestions about books that might fit these criteria?


From Ben Davis, via Dave:

Just wondering if anyone remember a game called 'Prunes' for the BBC computer?

I tried searching the Internet the other day, but amazingly the Internet seems to contain absolutely no knowledge of the game's existence. :/

I remember it well enough to remake it last night :) I'm just still getting to grips with the fact that it seems to be completely unknown to the world.

Screenshot: http://bdavis.strangesoft.net/prunes.png

You are "the last of the Giant Prunes", aka the white pixel leaving a cyan trail. You have to surround the "Giant Figs" (red pixels moving randomly and leaving a magenta trail), and then touch a blue-yellow flashing pixel, at which point any fully surrounded magenta regions turn green. Unfortunately there's no win condition (in mine or in the original), so you eventually end up with what resembles a cyan and green world map and nothing to do.

It's a pretty faithful remake. Apart from exact dimensions and timings and stuff like that, the only bits I couldn't remember were the scoring mechanism and the behaviour when a blue helper prune (which eats through fig trails for you) touches a flashing pixel. The sound effects are missing from my version, which is a shame since they had bags of character.

Executables (insert standard disclaimer here yada yada): http://bdavis.strangesoft.net/prunes.exe (DOS) http://bdavis.strangesoft.net/prunes-win.exe (Windows)

Source - compiles with Allegro on some other platforms like Linux and Mac: http://bdavis.strangesoft.net/prunes.cpp

Maybe I'll launch a full-scale investigation to find out who made the original game and make sure they know that they are awesome.

My suspicion is that this was never actually published anywhere - that it was just something coded by a secondary school student over a few lunchtimes (probably starting with the random walk used by the figs and blue things - I coded that up algorithm myself shortly after learning C), evolved into a game and possibly got passed around on disk. It has a Qix-like feel to it so may have been inspired by that. The simple graphics, the fact that it's not winnable and the fact that it's relatively easy to get to a stalemate situation all point to an unpublished, one person job. However, it would be interesting to track down the original version and/or it's author.

Three books

Tuesday, June 7th, 2005

I have been meaning to post this for quite some time now. Three books I read recently (well, more like 5 months ago), all of which have something in common - they might just change the way you think about the universe.

A Short History of Nearly Everything by Bill Bryson. Just about everything in this book has been done before but it's still quite something to see so many diverse branches of science presented in a compact, accessible format like that. And the descriptions of truly ancient forms of life that can still be found in remote areas of Australia today is really fascinating.

The Curious Incident of the Dog in the Night-Time by Mark Haddon. A great idea well executed, and many people elsewhere on the web have written much about this book so I won't go into great length about it. But there is one part in particular which really made me think - the part about how the mind and consciousness works. This was really fascinating to me since in my opinion the mystery of consciousness is one of the great mysteries of the universe but the hero of this book says (effectively) "oh, this is how it works" and describes a very coherent theory in a very matter of fact way.

One of Us by Michael Marshall Smith. Smith is a British novelist who writes brilliant science fiction novels which are incredibly imaginative and superbly paced but also very very gory, gratuitously violent and disturbing. Actually "One of Us" is probably less gory and violent than the other two novels of his that I have read ("Only Forward" and "Spares") but still only recommended for the non-squeamish people. To say how this book explains the mysteries of the universe would be to give away the ending so I won't say any more about it here.