Click Track Maker (Metronome WAV & MIDI)
Turn a song map with tempo and meter changes into a metronome click track as WAV and MIDI.
How it works
Write the sections of a song — bars, meter, tempo, tempo changes, accent groups, subdivisions and a polyrhythm layer — and get a sample-accurate metronome click track as a WAV file and a MIDI file, with an optional count-in, gap click (muted bars to test your inner time) and seeded random muting. The same engine as the metronome in the Tonegrid app.
- Every bar gets its tempo (a tempo change inside a section moves in equal steps from the first to the last bar) and lasts beats × 60 / tempo seconds; the bar start times are added up in order. Click times inside a bar: beats at j × 60/tempo, subdivisions in between, polyrhythm clicks at m × bar length / n.
- The WAV file (16-bit mono, 44.1 kHz) places each click on the sample nearest to its time, so clicks never drift. Click sounds are short synthesized tones: the first beat of the bar is the highest, the first beat of every accent group is a little lower and softer, other beats lower still; subdivisions are quiet and the polyrhythm layer has its own lower pitch.
- The MIDI file (type 0, 480 ticks per quarter note) has tempo and time-signature changes per bar, section names as markers and the clicks on channel 10 (General MIDI wood blocks; cowbell for the polyrhythm layer). Gap click mutes bars in a fixed play/mute cycle after the count-in; random mute draws each bar from a seeded generator, so the same seed mutes the same bars.
Practice aid. The click track is synthesized and free to use; check the timing against your own recording software before relying on it in a session.
Sources
Part of Tonegrid
-
Tonegrid Tone matrix & beat sequencer
Light up squares to build melodies, beats and acid bass, then arrange them into songs.
Related tools
- Tempo Ramp Planner (Speed Trainer) – Plan a speed-building ramp: +N BPM every M bars up to your goal, as a table and click track.
- Tonegrid Pattern Renderer – Render a Tonegrid project to a stereo WAV file and measure the mix.
- Universal Audio Converter – Convert MP3, WAV, FLAC, Ogg, Opus, M4A and AIFF with bitrate and sample-rate control.
How to use the Click Track Maker
Write a song map with bars, meters and tempo changes and download a sample-accurate metronome click track as WAV and MIDI, with count-in and gap click.
What it is for
A click track is a metronome recording that follows a whole song: the count-in, a verse at one tempo, a bridge in 7/8, an outro that slows down. Bands use one to rehearse with a drummer's in-ear click, teachers use one for students who practise at home, and home-recording musicians drop one into a DAW before recording.
The Click Track Maker builds that recording from a short text, the song map: one section per line with bars, meter and tempo. You get a 16-bit mono WAV file and a MIDI file with the same clicks. It is the engine of the metronome in the Tonegrid app (Practice view), so the same song map gives a byte-identical WAV file in the app.
It does not detect the tempo of an existing recording, and it does not add count-in voices or cue announcements.
Worked example
The first example uses this song map with a one-bar count-in and the wood-block sound:
Intro: 4 bars 4/4 at 96
Verse: 8 bars 4/4 at 96
Bridge: 4 bars 7/8 at 168 groups 2+2+3
Outro: 4 bars 4/4 at 96 to 80
The result: "Click track of 21 bars, 0:53 long (53.46 s), with 96 clicks." The section table shows the count-in at 0:00, the intro at 0:03, the verse at 0:13, the bridge at 0:33 and the outro at 0:43, which lasts 0:11 because it slows from 96 to 80 BPM. The 7/8 bridge at 168 counts eighth notes, so each bar lasts 7 × 60/168 = 2.5 s; the groups 2+2+3 put softer accents on eighths 3 and 5.
For a band rehearsal with a 6/8 verse and a triplet chorus, plus random gaps to practise keeping time, enter:
Verse: 16 bars 6/8 at 132 groups 3+3
Chorus: 8 bars 4/4 at 88 sub 3
with Count-in bars 2, Random mute 25 % and the seed band. The track is 1:11 long with 126 clicks; 7 verse bars and 3 chorus bars are muted. The same seed always mutes the same bars, so everyone in the band can download an identical file.
How to read the result
- Length, Bars (count-in included), Clicks (only the ones you hear) and Muted bars.
- The Sections table lists where every section starts, its meter, its tempo (a → b for a gradual change) and its muted bars.
- The WAV download places each click on the sample nearest its exact time, so the clicks never drift. The MIDI file has tempo and time-signature changes and section markers; drag it into a DAW to get a tempo map, or route channel 10 to any drum sound.
- The Song map box shows your map in the tidy form the app understands.
Tips and common mistakes
- The tempo always counts the lower number of the meter. If you think of 6/8 in two dotted-quarter beats at 88, enter 6/8 at 264 (three eighths per beat).
- "to" changes the tempo bar by bar in equal steps; for a sudden change, start a new line.
- Gap click needs both numbers above zero: for example 2 bars with clicks and 2 bars muted.
- "poly 3" in a 2/4 bar gives three against two; in 4/4 it gives four against three.
- Downloads are limited to 8 minutes; split long setlists into one track per song.
FAQ
Why is the MIDI file a few milliseconds off the WAV after several minutes?
MIDI stores tempo in whole microseconds per quarter note. Tempos such as 96 BPM are exact, but odd tempos are rounded, so the two files can drift apart by a few milliseconds over a long song.
Can I hear the accents?
Yes. The first beat of a bar is the highest click, the first beat of each group a little lower and softer, other beats lower still, and subdivisions are quiet.
Is the WAV file free to use?
Yes. The clicks are synthesized by the tool's own code and contain no third-party samples.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://tonegridmetronomeclick.usefulweb.app/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://tonegridmetronomeclick.usefulweb.app/mcp· tool nametonegrid_metronome_click
Example request
curl -s -X POST https://tonegridmetronomeclick.usefulweb.app/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"map":"Intro: 4 bars 4/4 at 96\nVerse: 8 bars 4/4 at 96\nBridge: 4 bars 7/8 at 168 groups 2+2+3\nOutro: 4 bars 4/4 at 96 to 80","sound":"wood","countIn":1,"gapPlay":0,"gapMute":0,"randomMute":0,"seed":"practice"}'