---
name: "songrec-recognize"
section: "1"
platform: "linux"
package: "songrec"
version: "0.8.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/songrec-recognize"
---

# songrec-recognize(1)

Recognize one song from a sound file or microphone and print its info.

## NAME

songrec-recognize - Recognize one song from a sound file or microphone and print its info.

## SYNOPSIS

**songrec recognize** \[**-l**\|**--list-devices**\] \[**-d**\|**--audio-device**\] \[**-i**\|**--request-interval**\] \[**-j**\|**--json**\] \[**-c**\|**--csv**\] \[**-h**\|**--help**\] \[*input\_file*\]

## DESCRIPTION

Recognize one song from a sound file or microphone and print its info.

## OPTIONS

- **-l**, **--list-devices**

  List available audio devices and quit

- **-d**, **--audio-device**

  Specify the audio device to use

- **-i**, **--request-interval** \[default: 10\]

  Shazam interval between requests in seconds (increase if you are rate-limited)

- **-j**, **--json**

  Enable printing full song info in JSON

- **-c**, **--csv**

  Enable printing full song info in the CSV format

- **-h**, **--help**

  Print help

- \[*input\_file*\]

  Recognize a file instead of using mic input
