Skip to main content

output

Function output 

Source
pub fn output(ch: Channel) -> u8
Available on crate feature cgb only.
Expand description

What a channel is putting out, from 0 to 15.

This is the digital value on its way to the DAC, so it moves with the envelope and the waveform rather than with the volume the mixer applies. A program drawing its own sound reads it here.