Channel1
Inherits VolumeEnvelopeChannel < SoundChannel < Reference < Object
Constants
RANGE = 65296..65300
WAVE_DUTY = [[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
[](index : Int) : UInt8
Source[]=(index : Int, value : UInt8) : Nil
Sourcefrequency_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
Sourceschedule_reload(frequency_timer : UInt32) : Nil
Sourcesweep_step
Source