def get_channel_from_status(status):
    """Return the 4 least important bits of status byte.

    According to MIDI standard, channels are numbered from 1 to 16, whereas
    the actual bits go from 0 to 15.
    """
    channel = status & 15
    return channel + 1
