def blend(signal1, signal2, noise, blending_factor=0.05):
    """blends two signals based on a normalizing noise factor"""
    return (signal1 * blending_factor + signal2 * noise) / (noise +
        blending_factor)
