[code] add of function in speaker and in the test mode