Imported from https://github.com/cvqluu/dropclass_speaker