def isAudio(pinName):
    """\

    Predicate to check whether the input corresponds to an audio- or light sensor-input

    :param pinName: indicates a pin to add to the set of pins to be read  during capture.
        one of "LIGHT_0", "AUDIO_0", "LIGHT_1", "AUDIO_1"
    :returns boolean: True if pin is associated with audio input on arduino
    and False otherwise (pin is connected to light sensor input

    """
    if pinName == "LIGHT_0" or pinName == "LIGHT_1":
        return False
    elif pinName == "AUDIO_0" or pinName == "AUDIO_1":
        return True
    else:
        raise ValueError("Unrecognised pin identifier: "+repr(pinName))