Sunday, August 7, 2011

How to play .gsm audio file in Debian based system (BOSS, Ubuntu, etc)

1. Install sox package.
apt-get install sox

2. Create a script in your /bin folder "play_gsm.sh"
#!/bin/sh
gnome-terminal --command="play $*"

3. Make the file excecutable.
chmod +x /bin/conf-placeintoconf.gsm

4. Run this command in terminal
play_gsm.sh "path of your .gsm file"