Hello Welcome in H.C.M. I have gone through your query regarding hoarse voice. As you said that you were having very bad cough like whooping cough but you became little better with treatment and now you cough had changed your voice to hoarse. Whenever there is alteration of voice it indicates that your sound box (larynx) is involved. Considering all these in view now your cough should be diagnosed as laryngo tracheo bronchitis. Here my suggestion is that you should consult your ENT doctor for thorough examination, necessary investigations and treatment. Regards.