Is there a way to modify the pitch of voice chat?

I want to achieve that, when my character gets smaller than default, the voice chat input should have a higher pitch. Is this possible to do?