GB::Channel1
Inherits GB::VolumeEnvelopeChannel < GB::SoundChannel < Reference < Object
Constants
RANGE = 65296..65300
WAVE_DUTY = Slice[[0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 1, 1, 1], [0, 1, 1, 1, 1, 1, 1, 0]]
Instance methods
frequency_calculation
Calculate the new shadow frequency, disable channel if overflow 11 bits https://gist.github.com/drhelius/3652407#file-game-boy-sound-operation-L243-L250
get_amplitude
Sourcesweep_step
Source