classify

package
v1.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package classify registers a handler of audio which classifies it as mostly speech, music, silence or other sound, from up to its first MaxDuration, with go-media's segmenter, which detects speech with libfvad, the WebRTC voice activity detector. It returns the class as audio:class, and the fractions of the audio which are speech, music and silence, from 0 to 1, as audio:speech, audio:music and audio:silence. Audio which is protected with DRM can't be decoded, so isn't classified, and nor is audio with a MusicBrainz release type, as it's a known release. It decodes the audio, which takes about a second for each 8 minutes of it, so it's only done when the audio namespace is requested.

It's only built with cgo and the libfvad build tag, which the Makefile sets when it finds libfvad.

Index

Constants

View Source
const Enabled = false

Enabled is false, as audio is only classified when it's built with cgo and the libfvad tag

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL