-
Notifications
You must be signed in to change notification settings - Fork 731
Open
Description
🚀 Feature
I would like to propose adding of A-Law to torchaudio.transforms
Motivation
A-law is a companding algorithm similar to mu-law (that is already in torchaudio
). It is used in European 8-bit PCM systems. By convention, A-law is used for an international connection if at least one country uses it. With these transforms torchaudio
would
enable even wider modelling capabilities of telephony audio.
Pitch
I imagine the API could be almost identical to MuLaw
with one caveat - the compression parameter A would be an additional parameter. So at the end there would be two additional transforms ALawEncoding
and ALawDecoding
.
Additional context
I have already written the code and would be happy to open a PR.
Metadata
Metadata
Assignees
Labels
No labels