gen

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2016 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmplxOscillatorF64

func CmplxOscillatorF64(samples int, freq float64, samplerate float64) []float64

func CmplxOscillatorS8

func CmplxOscillatorS8(samples int, freq float64, samplerate float64) []int8

func CmplxOscillatorU8

func CmplxOscillatorU8(samples int, freq float64, samplerate float64) []uint8

func F64toU8

func F64toU8(f64 []float64, u8 []byte)

func NewRandSCM

func NewRandSCM() (pkt []byte, err error)

func UnpackBits

func UnpackBits(data []byte) []byte

func Upsample

func Upsample(bits []byte, factor int) []byte

Types

type ManchesterLUT

type ManchesterLUT [16]byte

func NewManchesterLUT

func NewManchesterLUT() ManchesterLUT

func (ManchesterLUT) Encode

func (lut ManchesterLUT) Encode(data []byte) (manchester []byte)

Jump to

Keyboard shortcuts

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