def energy_vad_threshold(energy_segments, threshold):
    """Process voice activity detection with simple energy thresholding"""
    # Threshold speech segments
    vad = (energy_segments > threshold).astype("i1")
    return vad