Guide

Matching & correction

DJ software rarely carries perfect tags. Milonga is built around that reality: it takes whatever your DJ app reports — incomplete, reordered, or mis-spelled — and finds the right recording in its database of ~45 000 tango recordings.


How a track is resolved

Each time your DJ app reports a new track, Milonga works through a cascade, stopping at the first step that gives a certain answer:

  1. Cortina markers — a C- prefix, ***, or a leading run of dashes on the title or artist means cortina, immediately.
  2. Your saved decisions — tracks you have confirmed or corrected before (see Learning) resolve instantly to your saved answer.
  3. Trusted prefix — tracklist-style names such as 1V-Troilo - Ruiz - Flor de Lino are read positionally: the V marks a vals, the fields follow in order. Every trusted-prefix match is also automatically saved to a personal learned database so the general engine can use these recordings in future lookups.
  4. General matching — the string is split into typed fields (title, orchestra, singers, date, duration), each spelling-corrected against curated name lists, then scored against candidate recordings. Extra evidence from your DJ software's own database and the audio file's embedded tags is merged in. The best candidate is accepted only when it clears the minimum score and clearly beats the runner-up.

If nothing is certain enough, the track is treated as a cortina — for a tango DJ, a wrong "unknown" is better than a confidently wrong title on screen.

With T-Player, none of this is needed: T-Player says whether a cortina or a track plays, and the file's own tags are taken at their word — the database only corrects their spelling. Your saved corrections still apply.

Orchestra periods

Some orchestras are tagged with a period after their name — Orquesta Típica Victor - Carabelli, Carlos di Sarli - Sexteto. Milonga reads the second part as a period of that orchestra, not as another artist: the track is looked up among the Típica Victor recordings of the Carabelli years (1925–1936), not among those of Adolfo Carabelli's own orchestra. When the same title was recorded in two periods, the one you named is shown.

Known periods: Típica Victor — Carabelli, Scorticati, Maurano; Carlos di Sarli — Sexteto; Quinteto Pirincho — Canaro.

Numbered tracks of a tanda

If you number the tracks of your tandas and code them by fields —

1V-D'Arienzo - Inst - Lágrimas y sonrisas - 1936
3M-Calo - Beron - Milonga antigua - 1942
2M-Orquesta Reliquias Porteñas - Baldosa floja

that is position + genre letter, then orchestra – singer – title – year (singer and year are optional; Inst means instrumental) — Milonga takes your coding at its word. This is the setting Always trust DJ info first, on by default:

  • the genre is the letter of the prefix (T tango, V vals, M milonga), even when the database files the recording under another genre;
  • the orchestra, singer, title and year are yours. Milonga never replaces them by another orchestra's recording of the same title;
  • the database only completes the line: the full spelling (Miguel Caló — Raúl Berón — Milonga antigua), the recording date, or the singer when your line gives none;
  • when the recording is not in the database, your line is displayed as written — a known orchestra or singer still gets its full name. Such a track is never shown as a cortina.

With the setting off, these lines are matched like any other, the prefix only giving the genre.

Your file names and folders

When the DJ application says which audio file is playing — VirtualDJ always does; Traktor does once Milonga can read your collection — Milonga reads your coding on the file's own name, in preference to the tags that came with the file. Nothing is opened or changed: only the names are read.

…\5-Milongas\Canaro - Maida - 1935-38\M-Canaro - Roberto Maida - Milonga criolla - 1936.mp3
…\1-Tangos\Canaro - Fama - 1932-33\2-Canaro - Fama - Triste queja - 1932.wav
…\1-Tangos\Troilo - Marino - 1945\Troilo - Marino - Me quedé mirándola - 1945.wav

  • The prefix may be the letter alone (M-), the number alone (2-), or missing altogether — as long as the first field is an orchestra Milonga knows, or the file sits in a folder named after it (orchestra – singer – years, your tanda folder).
  • Without a letter, the genre is the one of the recording in the database; you can also write it behind the year (… - 1939 - Tango). For a recording the database does not hold, a folder named Vals or Milongas above the file gives the genre; otherwise the track is shown as a tango.
  • The years of the tanda folder (1932-33) help choose between two recordings when the file name gives no year.
  • A note behind the year (- 1931 - youtube) is ignored.

File names that follow no such coding — a track number and a title, an album folder — change nothing: those tracks are matched as before.


Cortina rules

A track is shown as a cortina (and the tanda cycle advances) when:

  • its title or artist carries a cortina marker (C-, ***, leading ---), or
  • its file name carries that marker, or the file sits in a folder named Cortinas (0-Cortinas\Latino\…, Cortinas lentes\…) — whatever its tags say: a cortina whose title happens to be a tango's is no longer taken for that tango, or
  • no database match clears the minimum score.

The C- prefix and any leading punctuation are stripped for display, so C-Tainted Love appears simply as Tainted Love.


La Cumparsita

By tradition the milonga closes with La Cumparsita. When a matched track's title is exactly La Cumparsita, the carousel enters its closing Cumparsita state.

If you play the tune mid-event, turn this off in Preferences → Matching → Treat "La Cumparsita" as closing tanda and it will display as an ordinary tango.


Preparing the evening

Most of what you will play tonight is already written down: in the collection of your DJ application, or in the list you prepared. Milonga can read it before the milonga and tell you what it will show for each track — so that a wrong match is put right at home, not in front of the dancers.

Open Setup → Preparation and choose what to read ahead:

Choice What is read For whom
Preload collection The whole collection of your DJ application (VirtualDJ's database, Traktor's collection). Your collection hardly changes and you pick from it freely.
Preload list of choices One list: a VirtualDJ list (.vdjfolder — a list of My Lists, the automix queue), a playlist (.m3u, .m3u8), or a Traktor playlist, picked by name in your collection. You prepared the evening and play from that list.

A list is read again by itself whenever it changes: add a tanda to it during the evening and Milonga follows. A collection is large, so its tracks are only looked up when you click Look up the … tracks — a few minutes for a big collection, and you can go on working meanwhile.

The line under your choice sums up the result — 182 tracks · 150 recordings · 28 cortinas · 4 to check — and the list below shows the tracks, filtered by Show:

  • To check — Milonga hesitates between a cortina and a recording, or found the recording only on a second look. Start here.
  • Not in the database — a song the database does not hold: it will be shown as you wrote it.
  • Recordings, Cortinas, Answered, All.

Select a track to see what the display will say and the closest recordings. As in the Correction panel, click the right recording, or answer It is a cortina or A song, not in the list. The answer is remembered — the track moves to Answered — and applies every time that track is played. Nothing is ever sent to the display window from this tab.

What a preloaded list changes on the night:

  • with Traktor, which does not say which file is playing, the list tells Milonga which of several recordings of a title is yours tonight, and hands it the file — its name and folders, its tags;
  • with either application, you have seen beforehand what the dancers will read.

A track or a tanda added on the spot

No evening goes exactly as planned. When you add a track — or a whole tanda — that was not in what you preloaded, add it in your player and drop it on Milonga: drag the audio files, or the tanda's folder, from the Finder or the Explorer onto the dashed zone Drop tracks or a tanda folder here. The zone is in Setup → Preparation and, for the evening itself, in the Live tab under the overlay buttons.

  • What you drop joins tonight's tracks at once, whatever you chose to read ahead — even Nothing: the drop zone works on its own.
  • A folder is taken with every audio file under it, in name order. A .vdjfolder or .m3u list can be dropped too.
  • The dropped tracks are looked up first. The zone sums them up — Dropped: 4 tracks · 3 recordings · 1 to check — and check them opens them under Show → Dropped, where you answer as for any other track.
  • They are kept, from one launch to the next, until you click Forget them in Setup → Preparation. Your answers stay.

It is one more gesture, and a few seconds: the track is known before it plays. The two go together — the list for what you planned, the drop zone for what you decide on the night.

Good to know — Play from what you preloaded or dropped. A track taken elsewhere is still recognised the usual way; it simply was not checked beforehand. Answers are kept only with Preferences → Matching → Learn from corrections switched on (the default).


Correcting a match live

The Live tab's Correction panel shows, for every track played, exactly what Milonga looked up and the best candidates it considered:

The Correction panel

  • Left — the lookup history of the evening, newest first, with the resolved genre.
  • Top right — the raw input received from the DJ app and the chosen result.
  • Table — the scored candidates. Click any row to push that recording onto the display immediately — the fastest way to fix a wrong match live, without touching your DJ software.

When you correct the track that is playing right now, the fix is also written into the evening's session log, so your recorded history stays accurate.

Doubtful cortinas

A track Milonga cannot identify is shown as a cortina. Before settling for that, it takes a second look: it ignores the way the text is split into title and artist and searches the whole line for a known title together with the orchestra, singer or year of that same recording. When they are all there, the recording is displayed — this catches tags such as "Nostalgias-Jorge Omar" or a title field that also holds the orchestra.

When the evidence is only partial, Milonga keeps the cortina on screen and asks you:

  • the entry is marked ? in the history, and the panel title shows how many entries are waiting (Correction — 2 to confirm);
  • selecting it shows the question Cortina, or a recording? with the closest recordings in the table.

You have three answers:

  • click the right recording in the table;
  • A song, not in the list — when it is a tango, vals or milonga that the table does not offer (the recording is missing from the database). Choose its genre: the track is displayed as its own line describes it, and added to your personal recordings;
  • It is a cortina.

Every answer is remembered, so the same track is never asked about twice. Nothing interrupts the evening: the question waits in the panel and you can answer it later, or not at all.

Milonga asks in two situations: the line looks like a known recording but not clearly enough, or a cortina arrives after fewer than two songs of a tanda — usually a tango that was not recognised. Cortinas you mark yourself (C-, ***) are never questioned.

Note — Answer while the track is still playing and everything is put right: the recording is displayed, the carousel returns to the tanda in progress and the evening's log holds the recording instead of the cortina. Once the next track has started, the answer only teaches Milonga for next time — fix the evening's log afterwards in the Milongas tab if you need to.


Learning from corrections

With Preferences → Matching → Learn from corrections enabled (the default), Milonga maintains a personal overlay on top of the shipped database:

  • inputs you have confirmed or corrected resolve instantly next time;
  • learned spellings (e.g. a recurring typo in your library) apply to future lookups;
  • recordings missing from the base database can be learned as your own entries.

In addition, every track resolved via a trusted prefix is automatically saved to learned_recordings.db — a separate personal database in the Milonga application-support folder. As this database grows, the general matcher gains more recordings to draw from, improving coverage for tracks not in the main database.

Your data survives application updates.


Matching settings

In Preferences → Matching:

Setting Default Effect
Minimum match score 68 Candidates below this score are rejected (track becomes a cortina). Lower = more permissive, higher = stricter.
Treat "La Cumparsita" as closing tanda on See above.
Learn from corrections on Enables the personal learning overlay.
Double-check cortinas on Takes a second look at unidentified tracks and asks you about the doubtful ones — see Doubtful cortinas. Your answers are remembered when Learn from corrections is on.
Always trust DJ info first on For numbered tracks (1V-Orchestra - Singer - Title - Year) and coded file names, takes your fields as written; the database only completes them — see Numbered tracks of a tanda.

Giving the matcher more to work with (Traktor)

Traktor's now-playing broadcast only carries title and artist. You can give Milonga access to the rest of your collection metadata (genre, dates, comments, file paths):

  1. In Traktor, export your collection as HTML (with all columns).
  2. On the Setup → Event tab, in the DJ Application group, click Use Traktor Metadata and select the exported file.

Milonga imports it once into a local lookup database. Dates and genres from your own library then corroborate the match — and when the audio file itself is reachable, its embedded tags are read too.

VirtualDJ needs no export: Milonga reads database.xml directly.

Next: Recording & statistics · Troubleshooting