def METHOD_NAME(audio, text):
    if not isinstance(text, str):
        return text
    if text[0] == '%' and text[-1] == '%':
        return to_string(audio.get(text[1:-1], ''))
    elif text in FIELDS:
        return to_string(audio.get(text, ''))
    else:
        if text[0] == '"' and text[-1] == '"':
            text = text[1:-1]
        return findfunc.parsefunc(text, audio)