Documentation
¶
Overview ¶
Package audioop provides some useful operations on sound fragments by manipulating raw audio data. The implementation is based on the Python audioop module. More references can be found here:
Index ¶
- func AbsInt32(x int32) int32
- func Add(cp1 []byte, cp2 []byte, size int) ([]byte, error)
- func Avg(cp []byte, size int) (int32, error)
- func Avgpp(cp []byte, size int) (int32, error)
- func Bias(cp []byte, size int, bias int) ([]byte, error)
- func Cross(cp []byte, size int) (int32, error)
- func FindFactor(cp1 []byte, cp2 []byte) (int32, error)
- func FindFit(cp1 []byte, cp2 []byte) (int32, int32, error)
- func FindMax(cp []byte, len2 int) (int32, error)
- func GCD(a, b int) int
- func GetSample(cp []byte, size int, offset int) (int32, error)
- func Int16LE(b []byte) int16
- func Int32LE(b []byte) int32
- func Int8LE(b []byte) int8
- func Lin2Lin(cp []byte, size, size2 int) ([]byte, error)
- func Max(cp []byte, size int) (int32, error)
- func MaxInt32(x, y int32) int32
- func Maxpp(cp []byte, size int) (int32, error)
- func MinInt32(x, y int32) int32
- func MinMax(cp []byte, size int) (int32, int32, error)
- func Mul(cp []byte, size int, factor float64) ([]byte, error)
- func RMS(cp []byte, size int) (int32, error)
- func Reverse(cp []byte, size int) ([]byte, error)
- func SumInt32(i ...int32) int
- func ToMono(cp []byte, size int, fac1, fac2 float64) ([]byte, error)
- func ToStereo(cp []byte, size int, fac1, fac2 float64) ([]byte, error)
- func Uint16LE(b []byte) uint16
- func Uint32LE(b []byte) uint32
- func Uint8LE(b []byte) uint8
- type Error
- type Int32Iterator
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Int32Iterator ¶
type Int32Iterator struct {
// contains filtered or unexported fields
}
func NewInt32Interator ¶
func NewInt32Interator(items []int32) *Int32Iterator
func (*Int32Iterator) Next ¶
func (it *Int32Iterator) Next() int32
Click to show internal directories.
Click to hide internal directories.