---
name: "trm"
section: "1"
platform: "linux"
package: "libtunepimp-bin"
version: "0.4.2-4.1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/trm"
---

# trm(1)

calculate the TRM acoustic fingerprint for an audio file

## NAME

trm — calculate the TRM acoustic fingerprint for an audio file

## SYNOPSIS

**trm** \[**-i**\]  \[**-l**\]  \[*mp3 \| ogg/vorbis \| wav \| flac file*\]

## DESCRIPTION

This manual page documents briefly the  **trm** command.

This manual page was written for the **Debian** distribution  because the original program does not have a manual page.

**trm** will decode the first 30 seconds  of the audio file encode it, query the TRM server for a TRM id and   then spit out that TRM id (see http://www.relatable.com for details)   on stdout. If some error occurs, the error message is printed to stderr.

Note that this means that information about the audio file is  sent to the TRM server.

TRM is an audio fingerprinting technology that generates a  unique fingerprint for an audio file based on an analysis of the  acoustic properties of the audio itself. Each audio fingerprint is  unique and can be used to identify a track precisely, regardless of  whether any associated text identifiers are present or  accurate.

The program takes and understands OGG, MP3, FLAC and WAV as input  files.  It calculates the TRM with the help of the Musicbrainz  library **libmusicbrainz2**.

## OPTIONS

- **-l**

  Lookup file at MusicBrainz (starts $BROWSER).

- **-i**

  Print out track metadata along with TRM id.

## AUTHOR

This manual page was written by Robert Jordens jordens@debian.org for the  **Debian** system (but may be used by others).  Permission is granted  to copy, distribute and/or modify this document under the terms of  the GNU General Public License, Version 2. On  Debian systems, the full text of this license can be found in the  file /usr/share/common-licenses/GPL-2.
