Sunday, 18 July 2010

Playing GSM audio files on Ubuntu 9.10 Karmic

Note: you will need to have a package called sox installed for this to work

1) Create script file in your ~/bin directory (assuming that is on your PATH) called play_gsm_with_sox containing the following:
#!/bin/sh
gnome-terminal --command="play $*"

2) Make it executable (and test it by executing the command play_gsm_with_sox file.gsm)

3) R click your gsm file > properties > open with > command > play_gsm_with_sox

Then you should be able to double click gsm files and get a little terminal window playing them, which you can close to stop playback

No comments:

Post a Comment