---
title: "Music recognition vs AI music detection: two different questions"
description: "Music recognition tells you which known recording is in the audio; AI-music detection estimates whether audio was made by a generative model. What AudD's recognition answers about generated music, what it doesn't, and how a platform can run both checks on an upload."
slug: "/resources/articles/music-recognition-vs-ai-music-detection"
section: "articles"
keywords: [audd, ai music detection, ai-generated music, ai generated song detector, music recognition, audio fingerprinting, generative ai music, music deepfake, upload screening, custom catalog]
---

# Music recognition vs AI music detection: two different questions

You can use the AudD music recognition API to find out which known recording is in a piece of audio. It's the usual music recognition that works like Shazam: you send us a piece of the file, we send you the artist, the title, the album, the release date, the label and a link to the song. For detecting AI-generated music, AudD is not the right tool. If you want to know whether a track was made by a generative model, you need an AI-music detector.

```python
from audd import AudD

audd = AudD("your-api-token")  # get your own token at dashboard.audd.io

result = audd.recognize("https://audd.tech/example.mp3")
if result is None:
    print("no known recording")
else:
    print(result.artist, "-", result.title, "|", result.label)
```

This prints `Tears For Fears - Everybody Wants To Rule The World | UMC (Universal Music Catalogue)`. The result doesn't say how the recording was made.

## What recognition answers

When you send us audio, our server makes a fingerprint of it and searches for it in our DB of 160 million songs, and in your own catalog if you've uploaded one. If there are matches, you get the artist, the title, the album, the release date, the label, and a link to the song. A fingerprint is made from the sound of one specific recording, so a match means that this recording is in your audio. If the server has successfully processed the request, but there are no matches, the `result` field is `null`.

### When the track is a released AI-generated song

Like any other release, a generated song that has been released and is in our database matches, however it was made. The result doesn't give you the origin of the recording: you get the same fields as for any other song.

### When the track is new

If the track is new, it's not in our DB, and you'll get `null` in the `result` field (unless you've uploaded it to your own catalog). Note that "no match" does not mean "generated", and it does not mean "original" either: a new song that a person recorded returns `null` too.

## What recognition tells you about generated music

### Is there a released recording in a generated track?

If you generate music, you can use recognition as a filter for the generated tracks. If we recognize a song in a generated track, there's a released recording in it, and you probably don't want to give it to the user. To check the whole track, send it to our enterprise endpoint. We count requests to the enterprise endpoint as 1 request per 12 seconds of audio, and `limit` is the upper bound for the number of chunks the server will recognize:

```python
from audd import AudD

audd = AudD("your-api-token")

matches = audd.recognize_enterprise("generated-track.mp3", limit=25)  # up to 5 minutes
for m in matches:
    print(f"{m.start_seconds}-{m.end_seconds} s: {m.artist} - {m.title}")
if not matches:
    print("no known recording in this track")
```

The positions of the match in your file are in `start_seconds` and `end_seconds`.

### Is a "new" upload an existing track?

Recognize the upload: if it's a released recording, the match tells you so. To tell the uploader's own release from somebody else's, compare the `artist` in the match with the artist the uploader claims to be. A match against a different artist is a reason for a person to look, not proof of infringement.

### Is it a re-upload of your own track?

If you want to recognize music among your own songs (e.g. the songs made on your platform), you can upload them to a custom catalog. You set an `audio_id` for every song you upload and get this ID back with the recognition results. Access to custom catalogs isn't available by default: contact the AudD representative that you work with, or email api@audd.io.

### What recognition doesn't answer

Note that if we don't recognize anything, it doesn't mean that the track is original: we recognize recordings with our audio fingerprinting technology, and a soundalike, a pastiche, a cloned voice or a new performance of an existing song is a different recording.

## What an AI-music detector answers

A detector is a different tool: it's a classifier that tries to tell synthetic audio from authentic audio. In a 2024 paper, "[Detecting music deepfakes is easy but actually hard](https://arxiv.org/abs/2405.04181)", Darius Afchar, Gabriel Meseguer-Brocal, and Romain Hennequin trained classifiers on real audio and fake reconstructions, and report "a convincing accuracy of 99.8%".

The authors also write that "a good test score is not the end of the story". They list the things that could be a problem with a deployed detector: calibration, robustness to audio manipulation, generalisation to unseen models, interpretability, and the possibility for recourse.

Streaming services can run their own detection. For example, on June 20, 2025, [Deezer wrote](https://newsroom-deezer.com/2025/06/deezer-launches-worlds-first-ai-tagging-system-for-music-streaming/) that it tags the albums that include fully AI-generated tracks, and that it excludes those tracks from algorithmic and editorial recommendations.

## Using both on one upload

If you check uploads on a platform, you can use both. Send each upload to our API and to the detector you use, and save both results with the upload. A match is about the rights to a recording, and a flag from a detector is about how the audio was made, so you'll probably have different rules for them.

If we recognize a song in the upload, there's a known recording in it, and you can handle it like any other match. If a detector flags a song that we recognize, the known recording may itself be a released generated song. If we don't recognize anything, the upload is unknown; the detector's result is one more thing your policy can use.

Here's a Python example you can use for reference:

```python
from audd import AudD

audd = AudD("your-api-token")


def recognition_step(path):
    matches = audd.recognize_enterprise(path, limit=30)  # up to 6 minutes of audio
    if not matches:
        return {"known_recording": False, "matches": []}
    return {
        "known_recording": True,
        "matches": [(m.artist, m.title, m.start_seconds, m.audio_id) for m in matches],
    }


print(recognition_step("upload.mp3"))
```

---

**Related**

- [What music recognition matches, and what it doesn't](/resources/concepts/what-recognition-matches)
- [AudD for trust and safety teams](/resources/for/trust-and-safety-teams)
- [AudD for music video generation startups](/resources/for/music-video-generators)
- [AudD for independent artists](/resources/for/independent-artists)
- [Screen releases before you deliver them to streaming services](/resources/recipes/screen-releases-before-distribution)
- [Enterprise endpoint docs](https://docs.audd.io/enterprise)

## Sitemap

See the [resources sitemap](https://audd.io/resources/sitemap.md) for every guide and the [glossary](https://audd.io/resources/reference/glossary.md) for AudD terms.
