How to play · The city’s look and sound
What is chiptune music?
Chiptune is the bright, buzzing music of old game consoles and home computers, and the style lives on long after the machines. This page explains what makes music chiptune: the few simple waves, the noise drums and the fast arpeggios. Then it opens up a working example, the radio inside Cashmate, a free city builder in your browser, and shows how its songs are made from notes rather than recordings.
The short version: chiptune, also called 8-bit music, is electronic music made with the sound chips of old consoles, computers and arcade machines, or in their style. Its sound comes from a few plain waves, pulse, triangle and sometimes sawtooth, plus a noise channel for the drums, and it plays chords as very fast arpeggios. Cashmate has a radio of 5 stations and 20 original songs in this style, built note by note in your browser.
Chiptune in one sentence
The
Wikipedia article on chiptune
opens like this:
Chiptune, also called 8-bit music (although not all chiptune is 8-bit),
is a style of electronic music and musical subculture made using the programmable sound
generator (PSG) sound chips or synthesizers in vintage arcade machines, computers and video game
consoles.
The important word is the chip. On those machines a small programmable sound chip made the tones
live, and the music was a set of instructions telling it which note to play and when. The same
article adds that chiptune
can be defined by choice of instrument, by timbre more than specific style elements
. In
other words, it is a sound before it is a genre: a ballad, a dance track or a march can all be
chiptune if they are played with those tones.
The sounds: pulse, triangle and noise
Wikipedia describes the usual set-up of such a chip as
two or three simple waveforms and often a single pseudorandom noise generator (PRNG)
. Each
wave has its own colour:
- Pulse. The sound switches between high and low. How long it stays high in each cycle, the duty cycle, changes its tone; a pulse that is high exactly half the time is the square wave.
-
Triangle. In Wikipedia's words
softer than a square wave
; in all but one of this game's songs it plays the bass. - Sawtooth. Bright and raspy, on the chips that have one.
- Noise. A hiss from a pseudorandom generator; in this game it becomes the hi-hats, the snare and the crash.
The radio in Cashmate builds exactly these. It has three pulse waves, high for 12.5 %, 25 % and 50 % of each cycle. Its triangle is not smooth: it climbs and falls in 32 small steps, which gives it the slight buzz of a chip. A sawtooth is there too, used in one song only. The noise comes from a 15-bit shift register, a simple pseudorandom generator: the game makes one second of hiss with it once, and every snare, hi-hat and crash starts somewhere inside that second.
Chords that are not chords: arpeggios
Wikipedia names the problem:
Due to the limited number of voices in early sound chips, one of the main challenges is to
produce rich polyphonic music with them.
And the answer:
The usual method to emulate it is via quick arpeggios, which is one of the most relevant
features of chiptune music (along with its electronic timbres).
The notes of a chord are played one after another, so fast that they blur into one shimmering
sound.
In the game's song files a chord is written as its notes joined with a plus, such as
A3+C4+E4, and one voice steps from note to note between 24 and
41 times a second while the chord is held. The station built around this trick is
Arcade 8, which describes itself as Fast arpeggios for high-score runs
: all
four of its songs use it, at 140 to 152 beats a minute.
How the radio in this game makes it
Cashmate has no sound chip, of course, and no audio recordings either. Each station is one small text file of notes. A song is split into sections; each bar has 16 steps; and each voice gets a line of tokens: a note name to start a note, a dash to hold it, a dot for silence. The drums get letters for kick, snare, closed and open hi-hat, crash and tom. When you tune in, your browser's own audio system turns those lines into sound as the song plays.
There are three melodic voices, a lead, a harmony and a bass, and a drum kit beside them. The kick and the toms are short tones that drop in pitch, the snare mixes noise with a tone, and the hi-hats and the crash are filtered noise. A few modern touches sit on top: a gentle vibrato that starts a moment after each note, an echo, and on some stations a filter that softens the high end.
Every melody was written new for the game. To keep a station from sounding like a loop, repeated sections can get a drum fill or a voice dropping out for a while, the next song is picked at random but never one of the last two, and a short station jingle plays in between. A song lasts from 1:54 to 2:32.
Five ways to sound like a chip
Each station has four songs and its own idea of what chiptune can be. In the radio's list they describe themselves like this:
-
Neon FM:
Bright synth-pop for busy streets
, the station that plays first. -
Night Drive:
Dark synthwave for the late shift
, with the most echo of the five. - Arcade 8:
Fast arpeggios for high-score runs
, the fastest. -
Lo-Fi Bits:
Chill-hop chip for slow evenings
, the slowest at 72 to 84 beats a minute, with a swing in its rhythm and a filter that takes the edge off every song. -
Sakura Station:
Pentatonic chip from the tea-house quarter
, most of its songs in five-note scales.
Listening in the game
The radio starts with your first click in the game, at 30 % volume on Neon FM. The radio button at the top of the screen opens the station list, with buttons for the previous and the next song, a volume slider and Music off. The key M turns the music on or off, and the radio pauses by itself when you leave the tab. Sound effects are a separate switch in Settings and start off.
For a city at night, tune to Night Drive and follow the neon city guide. The signs in that city carry real Chinese words, which the neon signs guide translates. And if you would rather have your own playlist or a podcast on, the guide to playing while you listen explains how quiet the game can be.
Want to make chiptune yourself?
Cashmate is a city builder, not a music maker: you can listen to its radio, not write songs in
it. If the sound has caught you, the Wikipedia article is a good next stop. It names two classic
machines, the Game Boy portable game console and the Commodore 64 personal computer
, says
that software such as LittleSoundDJ for the Game Boy boosted a new wave of chiptune culture, and
names the music programs called trackers that are still in use:
OpenMPT, Famitracker, Furnace and Goattracker
.
Or simply start a city, build a street of neon shops and let the radio play. Coins are an in-game currency and have no cash value.
More guides
Every control, tool and setting: the Cashmate player guide.
-
Cyberpunk city builder: how to build a neon city at night
When night falls, what glows, how to build tall and dense, and the view from the street in 3D.
-
A game to play while listening to music or podcasts
Sound effects off, the music one key away, no timer, and a city that keeps running between glances.
-
Hong Kong neon signs: the words and what they mean
The Chinese words on the signs, read and explained, and the story of the real ones.
-
A cozy game online: a city that takes its time
No combat, no game over, no deadlines: a city that takes its time, free in your browser.