class

GBA::Channel4

Inherits GBA::VolumeEnvelopeChannel < GBA::SoundChannel < Reference < Object

Constants

RANGE = 120..127

Instance methods

===(other) : Bool

Used so that channels can be matched with case..when statements

Source
[](address : UInt32) : UInt8
Source
[]=(address : UInt32, value : UInt8) : Nil
Source
frequency_timer

Calculate the frequency timer

Source
get_amplitude

Outputs a value -0x80..0x80

Source
schedule_reload(frequency_timer : UInt32) : Nil
Source
step_wave_generation

Called when @period reaches 0

Source