Archive for the ‘music’ Category

Fractal waveform

Tuesday, September 27th, 2011

It would be really interesting to try to make a waveform that is fractal in nature, and actually sounds interesting and musical at whatever frequency you play it at. As you speed it up, some frequencies will go so high they become inaudible and new frequencies move into the audible range at the low end. In normal music, the pitches, effects, tempos and structures all happen at different timescales but in fractal music they would all interact with each other in interesting ways.

Waller's Torus: a four-dimensional musical instrument

Monday, July 5th, 2010

Consider the major and minor chords in Western music. There are 24 of them altogether (with the normal twelve-tone equal temperament tuning system usually used): one major chord and one minor chord for each of the 12 notes in the chromatic scale (A-G and 5 accidentals).

Each of these 24 chords consists of 3 notes. Pick one of the notes in the chord and throw it away, leaving two notes. Given these two notes, one can always find two chords (one major and one minor) which use those two notes. So given any major chord one can find three minor chords which share two notes with it, and given any minor chord one can find three major chords which share two notes with it.

That suggests that the 24 chords form a sort of network or graph, with vertices corresponding to chords and edges corresponding to pairs of notes. In three dimensions this network can be arranged on the surface of a torus (Waller's Torus). You can arrange the vertices in such a way that all the edges are the same length, but some vertices will have different sets of angles between edges than others.

In 4 dimensions, the symmetries of the network are more apparent - the vertices can be arranged such that each edge is the same length and all the vertices have the same set of angles between edges. The resulting object isn't a polychroron because only three edges meet at each vertex but it isn't a polyhedron either because it does extend into all 4 dimensions. The analogous figure in 3D would might be something like a star shape - if you draw it in 2D the inner points will be closer to each other than the outer points but in 3D you can arrange the points on the surface of a cylinder (sort of like the points one might find at the top of a paper party hat from a Christmas cracker). Here's what it looks like:

Using this figure, one could generate a nonlinear mapping from points in a 4-dimensional space to chords. Not just major and minor chords either - other chords are represented by points other than the vertices. At each vertex you can move in the direction of one of the edges to change the pitch of one of the notes. Since there are only three degrees of freedom in a chord (one for the pitch of each note) there is also a direction at each point in 4-space which leaves the chord unchanged as you move along it.

Screen aspect ratios as musical notes

Saturday, July 5th, 2008

Aspect ratios of televisions and computer monitors tend to be ratios of small integers. On my desk right now I have 3 monitors that are 4:3 and one that is 8:5.

Another thing involving ratios of small integers is musical intervals in Just Intonation.

C 1:1
C# 16:15
D 9:8
D# 6:5
E 5:4 5:4 monitors exist but are not common
F 4:3 the most common non-widescreen aspect ratio
G 3:2 3:2 monitors exist but are not common
G# 8:5 the most common computer widescreen format
A 5:3 5:3 monitors exist but are not common
A# 16:9 HDTV format
B 15:8

Vocalsynth

Sunday, June 29th, 2008

A fun toy would be a musical instrument with a microphone that can detect and modify pitch in real time. So if you sing an A but play a B it will transpose your voice up a tone. I understand such things are common in modern recording studios but I'm not sure if they work in real time (besides which, I don't think it would be too difficult to create such a thing from scratch).

Better still would be if it was polyphonic, so you sing a note, play a chord and hear a trio.

Shepard tones

Monday, June 23rd, 2008

If you arrange the musical notes C, C#, D, D#, E, F, F#, G, G#, A, A# around a circle (in that order), like this:

The resulting structure has some interesting properties. Firstly, each interval becomes a directed chord (in the geometric sense) on this circle, and transposition is just rotation.

The trouble is that because of octaves, this picture doesn't tell the whole story. If you go all the way around the circle you'll find yourself an octave higher (or lower) than when you started. Not all the intervals will sound alike as some of them will include an extra octave factor.

Unless you use Shepard tones.

Shepard tones have frequency components of the same pitch class in all octaves (tapering off at low and high frequencies according to a bell curve in log frequency space), like this:

They sound kind of like notes on a church organ.

The Shepard tones sound like musical notes but because the peak of the bell curve is always the same frequency, once you have progressed through a full scale you're back where you started instead of being up an octave. This can be used to create an auditory illusion of a pitch which sounds like it is continually getting higher (or lower), but is in fact looping.

It would be interesting to compose some music using Shepard tones. Another interesting feature of them is that all chords are identical to their own inversions. So in a number of ways Shepard tones drastically simplify music theory.

Another fun thing to do with Shepard tones is to leave the pitch class alone and vary the frequency that is at the peak of the bell curve. That way you can make a sound which continuously increases in frequency but which never seems to change pitch.

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.

Extending "The Elements"

Thursday, June 5th, 2008

Tom Lehrer's terrific song The Elements is unfortunately lacking in one respect - it is outdated as it does not include the elements discovered/named since the song was written.

Here is one attempt at bringing it up to date but I don't think just adding an extra verse fits well with the rest of the song. I wonder if it is possible to fit in the extra elements but keep the list format, perhaps at the expense of (part of) the last two lines. There is also some flexibility about where to put the "and"s - Lehrer doesn't use them consistently and even throws in an "also" in one place.

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.

Musical toy

Saturday, April 28th, 2007

The new and more logical musical stave I proposed yesterday could also form the basis for a fun musical toy. It would consist of a set of bars of various lengths representing various intervals, with the length proportional to the logarithm of the frequency multiplier (so maybe 15cm for an octave, 8.8cm for a fifth, 4.8cm for a major third and so on) and a set of connectors into which one or more of these bars can be plugged.

Each of the connectors would have a button on it which, when pressed, makes a sound. One of the connectors has its frequency fixed at (say) 440Hz (or maybe is tunable with a potentiometer) - the frequencies of the other connectors depend on how far away they are from the fixed connector (which in turn depends on which interval bars are plugged in. The connectors are built in such a way that if two bars are plugged in to opposite sides, their ends touch.

The result would be a sort of "build it yourself piano keyboard" which would help children (and adults) learn about musical intervals and tuning systems.

The mathematics underlying music

Saturday, April 28th, 2007

Did you know that almost all Western music is based on an approximation? 524288 = 531441 to be precise (which is true to an accuracy of about 1.3%). These numbers are quite special:
524288 = 212
531441 = 319
Their ratio is called the Pythagorean comma and is the difference between 12 perfect fifths and 7 octaves. In Western music this ratio is treated identically to 1 (i.e. if you go up a fifth 12 times you'll end up on the note you started with, 7 octaves up). This approximation caused an enormous amount of trouble for early piano tuners.

Making this sort of approximation is quite important otherwise there would be an infinite number of notes (if you keep going up in intervals of fifths and going down in intervals of octaves you never get to exactly where you started).

But if we're using computers instead of more primitive instruments to make music, having an infinite number of possible notes doesn't really matter - the computer can represent them as exactly or approximately as you like, making it possible to do perfect just intonation and use any intervals you like without approximating.

The really interesting thing about thinking about intervals instead of "the 12 notes" is (for me) not so much that the different sounds are possible but that the underlying harmonic structure of the music is made explicit. The musical stave with its lines, spaces, sharps and flats has evolved rather than being designed and as such seems to hide the underlying intervals rather than revealing them. A fifth, for example, can be represented by 2 units, 2 units plus an accidental or 2 and half units plus an accidental depending on the note and key signature. But when the music is played they all sound like the same interval.

A much more logical stave would have time going down the vertical axis and frequency along the horizontal axis. Vertical lines would represent notes of constant pitch and horizontal lines would represent particular intervals. The horizontal scale should be made logarithmic so that a particular interval would be the same length no matter what its absolute pitch is. Intervals would be marked with their ratio to make it clearer what they really mean (though with practice it would probably be possible to read this kind of stave by eye without the interval markings). So if an octave is represented by 30mm, a perfect fifth (marked \frac{3}{2}) would be represented by 17.5mm (\displaystyle 30\frac{\log \frac{3}{2}}{\log 2}) and a major third (\frac{5}{4}) by 9.7mm (\displaystyle 30\frac{\log \frac{5}{4}}{\log 2}).

I ought to try drawing various pieces of music like this to see how it looks. It would also be much easier to write music using "weird" intervals like 7/4 and 12/11 using this stave.