sound

package
v0.0.0-...-b784547 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartPlay

func StartPlay()

func Update

func Update(t int64)

Types

type AY8910

type AY8910 struct {
	// contains filtered or unexported fields
}

func NewAY8910

func NewAY8910() *AY8910

func (*AY8910) SelectReg

func (ay *AY8910) SelectReg(reg byte)

func (*AY8910) WriteReg

func (ay *AY8910) WriteReg(val byte, t int64)

type Beeper

type Beeper struct {
	// contains filtered or unexported fields
}

func NewBeeper

func NewBeeper(clock float32) (*Beeper, error)

Create a new instance of the Beeper

func (*Beeper) Beep

func (b *Beeper) Beep(val byte, t int64)

Process beeper change at T state

func (*Beeper) Close

func (b *Beeper) Close()

func (*Beeper) Read

func (b *Beeper) Read(buf []byte) (int, error)

Jump to

Keyboard shortcuts

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