songrec-recognize(1)

songrec-recognize1

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

Usage

songrec recognize [{-l | --list-devices}] [{-d | --audio-device}] [{-i | --request-interval}] [{-j | --json}] [{-c | --csv}] [{-h | --help}] [input_file]

Overview

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

From songrec 0.8.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.