Common functions for Voice Adaptation Server/Client