refactor with voice and envelope files