Skip to content

Instantly share code, notes, and snippets.

@information-security
Created August 20, 2015 14:09
Show Gist options
  • Select an option

  • Save information-security/025cb07c3d163dc11ad5 to your computer and use it in GitHub Desktop.

Select an option

Save information-security/025cb07c3d163dc11ad5 to your computer and use it in GitHub Desktop.
Yate's slin format and Asterisk's sln format can be converted to wav files using this cmd. Usage: convert_slin2wav.sh in.slin out.wav
# Usage: convert_slin2wav.sh in.slin out.wav
sox -t raw -r 8000 -b 8 -c 1 --bits 16 --encoding signed-integer --endian little $1 $2
@information-security
Copy link
Copy Markdown
Author

Tested on CentOS 6.5 with SoX v14.2.0

@zivillian
Copy link
Copy Markdown

successfully tested on Debian 10 (buster) with SoX v14.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment