Documentation
¶
Index ¶
- Constants
- func CenterArray(arr []float64, total int) []float64
- func CheckErr(err error)
- func Chunk(data []float64, desiredChunks int) [][]float64
- func ChunkedMean(data []float64, desiredChunks int) []float64
- func GetSQNR(bits int) float64
- func GetUDPAddr(host string, port uint16) (*net.UDPAddr, error)
- func GetUDPConn(host string, port uint16) *net.UDPConn
- type FlagsResult
- type Pinger
Constants ¶
View Source
const DefaultPort = 42170
Variables ¶
This section is empty.
Functions ¶
func CenterArray ¶
func ChunkedMean ¶
Types ¶
type FlagsResult ¶
type FlagsResult struct { Host string Port uint16 LedCount int FftSize int SampleRate int Channels int Decay float64 DbfsThreshold float64 Backend string Device string AudibleLow float64 AudibleHigh float64 Mirror bool Effect string Color color.RGBA Verbose bool }
func GetFlags ¶
func GetFlags() FlagsResult
Click to show internal directories.
Click to hide internal directories.