Versions in this module Expand all Collapse all v0 v0.4.2 Nov 26, 2018 Changes in this version + type APU struct + func (a *APU) Init(sound bool) + func (a *APU) Read(address uint16) byte + func (a *APU) ToggleSoundChannel(channel int) + func (a *APU) Write(address uint16, value byte) + func (a *APU) WriteWaveform(address uint16, value byte) + type Channel struct + func NewChannel() *Channel + func (chn *Channel) Reset(duration int) + func (chn *Channel) Sample() (output uint16) + type WaveGenerator func(t float64) byte + func Noise() WaveGenerator + func Square(mod float64) WaveGenerator + func Waveform(ram []byte) WaveGenerator