The music of the city

Oud, kanun, ney and harp over a darbuka rhythm and the jingle of a sistrum. There is not a single audio file in the game: every note is written in code, and your browser plays it during the game.

Five themes

One queue for the whole city

ThemeMoodMode and tempo
Anubis NightsThe evening square: ney, an oud ostinato and kanun runsMaqam Hijaz in D, 96 BPM
The Harper’s SongA harpist from a tomb painting sings with his harpMaqam Kurd in A, 66 BPM
Mystery of OsirisNight in the temple: a drone, the ney and deep drumsMaqam Saba in D, 70 BPM
Nile SunsetHarp and ney at dusk; it also greets you as you create your characterMaqam Kurd in D, 72 BPM
Night Barque of RaThe sun boat rows through the night towards dawnMaqam Kurd in E, 6/8

The city starts with “Anubis Nights”. Each theme plays through, then after a short breath the next one comes in — in this order, round and round. The queue does not restart when you sit down at a table: the same tune keeps playing.

“Anubis Nights” opens with an oud musing over the call of a riq. Then a ney flute takes up the melody while the oud keeps a steady ostinato and the kanun answers with quick runs. The second theme climbs higher in the saidi rhythm, a darbuka solo breaks it up, and the oud brings the first theme back.

“The Harper’s Song” is a quiet piece in the spirit of the harpers painted on tomb walls: the harp plays the tune and its own accompaniment, and the ney answers at the ends of the phrases. “Mystery of Osiris” is built on maqam Saba with its “crying” note, over the bare fifths of a low harp, a kanun tremolo and deep doum strokes. “Night Barque of Ra” sways in 6/8 like a boat: the ney sings over a rowing harp, and at dawn the mode brightens — F turns into F sharp — before the night returns.

At the tables

Quieter while you play

At a poker or blackjack table, at a slot machine, at the roulette wheel and in the bingo halls the music does not change — the same queue plays on, 40% quieter, so you can hear the cards, the balls and the reels. When you leave the game, it comes back smoothly.

How it is made

Written in code, played by your browser

Each theme is written in code note by note, part by part — like a tracker score on the scale of a maqam. A sequencer schedules the notes a moment ahead, so the rhythm stays tight even when the game is busy.

For every part we wrote several variations and drum fills, and on each pass the game plays one of them — so a theme does not wear out over a long evening.

The instruments are synthesized too. Plucked strings — oud, kanun, harp — use the Karplus–Strong method, the ney is breath and resonance, the drums and the sistrum — the jingling rattle of the temples — are shaped noise and tone, and a soft drone holds it all together. The whole soundtrack weighs a few kilobytes.

Around you

Sounds of the city

Fountains, waterfalls, the Nile lapping at the quay, torches crackling, kites crying over the river and the murmur of the crowd. Every source has its place on the map: walk closer and it becomes louder and brighter, walk away and it fades into the distance.

The water is made of thousands of tiny bubbles rather than noise, so it sounds like water and not like static. The crowd is a real speech-like murmur of dozens of synthesized voices.

In the settings

Your own player

The Sound tab in the game settings has a small music player. Themes play through and then change on their own; you can skip to the previous or next tune, put one on repeat or pause the music without silencing the city.

Hear it in the city

Open the game and listen to the square — then sit down at a table: the tune plays on, just a little quieter.

Play free