Escrichov G711 Save

PCM to G711 Fast Conversions

Project README

PCM to G711 Fast Conversions

Build example:

make

Conversions

./example example_files/alaw.raw alaw_pcm ulaw_to_pcm.audio
./example example_files/ulaw.raw ulaw_pcm alaw_to_pcm.audio
./example example_files/pcm.raw pcm_alaw pcm_to_alaw.audio
./example example_files/pcm.raw pcm_ulaw pcm_to_ulaw.audio

To play files:

brew install sox
play -t s16 -r 44100 -c 2 -e signed-integer example_files/pcm.raw
play -t raw -r 44100 -c 2 -e a-law example_files/alaw.raw
play -t raw -r 44100 -c 2 -e u-law example_files/ulaw.raw
play -t s16 -r 44100 -c 2 -e signed-integer alaw_to_pcm.audio
play -t s16 -r 44100 -c 2 -e signed-integer ulaw_to_pcm.audio
play -t raw -r 44100 -c 2 -e a-law          pcm_to_alaw.audio
play -t raw -r 44100 -c 2 -e u-law          pcm_to_ulaw.audio
Open Source Agenda is not affiliated with "Escrichov G711" Project. README Source: escrichov/G711
Stars
53
Open Issues
1
Last Commit
6 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating