Fights and music

Counterbeat is a rhythm game whose chart is a boxing match. The notes are the punches of a historic bout, and the song is fitted to them.

The four fights

29 rounds in total. Each fight can be played from either corner. The ring names are invented, and the game names no real boxer.

  • Onyx v Flint

    Year
    1973
    Weight
    Heavyweight
    Rounds
    2
    Song
    El Choclo (a tango)
    Composer
    Ángel Villoldo, died 1919
    Published
    1903
  • Cobalt v Ember

    Year
    1985
    Weight
    Middleweight
    Rounds
    3
    Song
    Toreador Song from Carmen (played as a pasodoble)
    Composer
    Georges Bizet, died 1875
    Published
    1875
  • Slate v Gold

    Year
    2009
    Weight
    Welterweight
    Rounds
    12
    Song
    El Manisero (a son-pregón)
    Composer
    Moisés Simons, died 1945
    Published
    1930
  • Tide v Hammer

    Year
    2025
    Weight
    Light heavyweight
    Rounds
    12
    Song
    La Paloma (a habanera, played as a tango)
    Composer
    Sebastián Yradier, died 1865
    Published
    about 1859

How the charts were made

Each fight started as footage. Back-to-back 8 second windows of every round were cut into frame sheets, and every punch in them was logged: who threw it, with which hand, when, and whether it landed. For Tide v Hammer that came to 939 and 665 charted punches. A second pass recorded range and ring position.

The game reads a chart from one corner, snaps the gaps between punches to the beat, and turns it into cues.

Timing and who threw are the reliable parts of a chart. Punch type is approximate, fast combinations are under-counted, and which punches landed is a judgement made from the footage.

The opponent boxes back

When the chart says your punch was blocked in the bout, he covers it with a glove or an elbow. Some straight punches he slips. When the chart says it landed, his head or body snaps the way that punch would move it.

His own punches come from the same chart. The arm he is about to punch with turns red before he throws.

Slate v Gold with El Manisero, played by the game's scripted player in desktop Chrome.

How the punches play the tune

A song is a JSON file with a style, a key, chords and a melody. When a fight starts, the game fits the melody to the chart so that each punch gets the next note of the tune.

  • Your punches play the notes in order. Land them and the tune comes out. Miss one and that note is missing.
  • The rhythm is the chart’s and the notes are the tune’s.
  • Under each punch the band plays the chord the tune has under that note.
  • Where you have nothing to hit for two bars or more, the band plays the tune itself. Your punches then carry on from the note the band stopped at.
  • Each round starts on a phrase of the tune.

The band

The band is built in the browser from recorded instruments: congas, bongos, claves, cowbell, guiro, maracas, piano, bass, trumpet and flute. It plays what the song file says and nothing else, so a fight sounds the same every time you play it.

Only the melody and the plain chords of each tune are used. There are no words, and nothing from a later arrangement or recording.

The songs guide has the file format and says where the notes of each tune were taken from. The credits page covers the licences.