def get_default_resolver():
    global default_resolver
    if default_resolver is None:
        default_resolver = Resolver()
    return default_resolver
Convert to pretty_midi's given number of accidentals and mode
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/resolver.py/get_default_resolver--crossover with--dataset/ETHPy150Open craffel/pretty-midi/pretty_midi/utilities.py/mode_accidentals_to_key_number