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.
Package spectrum works out how loud each part of a song's sound is, moment
by moment, for the apps' music visualizer. The apps can't hear what they
play (an Apple TV has no way to), so the server listens once, with FFmpeg,
and they draw from the levels in time with the music.
const (
// FPS is how many moments a second the levels describe. FPS = 20
// Bands is how many parts of the sound each moment has, from the bass// (40 Hz) up to the treble (5 kHz), spaced the way ears hear them.
Bands = 24
)
type Analyzer struct {
FFmpeg string Dir string// Timeout is the longest one file may take; 0 means five minutes. Timeout time.Duration// contains filtered or unexported fields
}
Analyzer works out songs' levels and keeps them, so each file is listened
to once per version of it.