Documentation ¶
Index ¶
- func AudioLevel(samples []int32) float64
- func ConvertBitDepth(srcSample int32, srcBitDepth, dstBitDepth int) (dstSample int32, err error)
- func ConvertSampleRate(srcSamples []int32, srcSampleRate, dstSampleRate int) (dstSamples []int32, err error)
- type SilenceDetector
- type SilenceDetectorConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AudioLevel ¶
AudioLevel computes the audio level of samples https://dsp.stackexchange.com/questions/2951/loudness-of-pcm-stream https://dsp.stackexchange.com/questions/290/getting-loudness-of-a-track-with-rms?noredirect=1&lq=1
func ConvertBitDepth ¶
ConvertBitDepth converts the bit depth
Types ¶
type SilenceDetector ¶
type SilenceDetector struct {
// contains filtered or unexported fields
}
SilenceDetector represents a silence detector
func NewSilenceDetector ¶
func NewSilenceDetector(c SilenceDetectorConfiguration) (d *SilenceDetector)
NewSilenceDetector creates a new silence detector
Click to show internal directories.
Click to hide internal directories.