def mul_wave(wave, scalar: float = 1.):
    """
    Multiply the wave by a scalar
    :param wave: the wave
    :param scalar: a scalar to multiply the wave with
    :return:the new wave
    """
    return map(lambda x: x * scalar, wave)