def key_to_frequency(key):
    return 440 * 2 ** ((key - 49) / 12.0)
Check if the connection is encrypted in the given direction.
dataset/ETHPy150Open jdan/Melopy/melopy/utility.py/key_to_frequency--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/conch/ssh/transport.py/SSHTransportBase.isEncrypted