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 ¶
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.