Documentation ¶
Index ¶
- func NewBufferFromSamples(format beep.Format, samples []float32) *beep.Buffer
- func Stream(streamer beep.Streamer, numSamples int) ([]float32, error)
- func StreamAll(streamer beep.Streamer) ([]float32, error)
- func ToWav(pcmData []float32, sampleRate int) ([]byte, error)
- type ByteSliceWriteSeeker
- type Float32Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBufferFromSamples ¶
Types ¶
type ByteSliceWriteSeeker ¶
type ByteSliceWriteSeeker struct {
// contains filtered or unexported fields
}
func NewByteSliceWriteSeeker ¶
func NewByteSliceWriteSeeker(initialSize int64) *ByteSliceWriteSeeker
func (*ByteSliceWriteSeeker) Bytes ¶
func (b *ByteSliceWriteSeeker) Bytes() []byte
type Float32Stream ¶
type Float32Stream struct { Samples []float32 // contains filtered or unexported fields }
func (*Float32Stream) Err ¶
func (s *Float32Stream) Err() error
Click to show internal directories.
Click to hide internal directories.