how to compress sound waves?

352 Views Asked by At

there is voice sound wave as series of numbers: enter image description here

we sample them into discrete numbers like: enter image description here i need to compress it in half. most existing ways as simple as ignoring even samples to become half length series are changing the voice of person by higher pitched.

is there a mathematical way to do better. without changing frequency of voice too much.