Tag Archive for 'g.711'

Quick convert raw g711 uLaw audio to a .au file

I had reason to playback some raw g.711 audio data. I made the following script to convert the data to a .au file that is playable. From the AU file spec.. which is way simple by the way: You just need to add 6 32-bit header flags. raw2au.py: import struct header = [ 0x2e736e64, 24, 0xffffffff, […]



css.php