Created
          February 4, 2013 06:54 
        
      - 
      
 - 
        
Save ipoddubny/4705341 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
ipoddubny created this gist
Feb 4, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/bash # converts .mp3 files in current directory into .sln Asterisk 16-bit signed linear audio for f in *.mp3; do lame --decode $f; done for f in *.wav; do sox $f -t raw -r 8000 -b 16 -c 1 ${f%.wav}.sln rm $f done