foxWavEncoder

package
v0.0.0-...-2f35ba3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FoxEncoder

type FoxEncoder struct {
	SampleRate  int
	BitDepth    int
	NumChannels int
	Size        int64
}

Structure holds basic information about the Samples to be encoded

func (*FoxEncoder) EncodeData

func (we *FoxEncoder) EncodeData(buffer [][]float64) ([]byte, error)

func (*FoxEncoder) EncodeData1

func (we *FoxEncoder) EncodeData1(buffer [][]float64) ([]byte, error)

func (*FoxEncoder) EncodeHeader

func (we *FoxEncoder) EncodeHeader() ([]byte, error)

EncodeHeader generates the WAV file header (RIFF format) as a byte slice using information from ther FoxEncoder Struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL