add sound input support(change the clearText function)