Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added methods for lin2ulaw, ulaw2lin, lin2alaw, and alaw2lin to pyaudioop.py #825

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sammygrey
Copy link

As described in

https://web.archive.org/web/20110719132013/http://hazelware.luggle.com/tutorials/mulawcompression.html

for the compression algorithms accordingly, the expansion algorithms are just an inverse of this

@sammygrey
Copy link
Author

Oh yeah I changed _sample_count to use int division due to an error while testing, alongside. Also a protected helper function for signing to help with the 4 functions added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant