Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SquareChannel ¶
type SquareChannel struct { Volume uint8 // contains filtered or unexported fields }
func NewSquareChannel ¶
func NewSquareChannel() *SquareChannel
func (*SquareChannel) EnableSoundLength ¶
func (sc *SquareChannel) EnableSoundLength(enable bool)
func (*SquareChannel) Initial ¶
func (sc *SquareChannel) Initial()
func (*SquareChannel) SelectPattern ¶
func (sc *SquareChannel) SelectPattern(pattern uint8)
func (*SquareChannel) SetFrequency ¶
func (sc *SquareChannel) SetFrequency(freq uint16)
func (*SquareChannel) SetSoundLength ¶
func (sc *SquareChannel) SetSoundLength(soundLength uint8)
func (*SquareChannel) Tick ¶
func (sc *SquareChannel) Tick() uint8
Click to show internal directories.
Click to hide internal directories.