def maxpitchamp(amparray):
    """ Max Pitch Amplitude audio feature:
    High Predictability rate (86%)

    :param amparray: array of pitch period amplitudes (floats)
    :return maxamp: Max pitch period amplitude
    """

    maxamp = 0
    if len(amparray) > 0:
        maxamp = max(amparray)

    return maxamp