I have installed play :
sudo apt-get install sox libsox-fmt-mp3
I can now play my audio files like this :
play Desktop/SONGS/01\ -\ Oh\ Baby\ Girl.mp3
Since I'm learning shell, I wish I could do something like this :
(sleep 10 ; play Desktop/SONGS/01\ -\ Oh\ Baby\ Girl.mp3 ) &
After 10 sec's, I can see the screen as :
File Size: 7.38M Bit Rate: 260k
Encoding: MPEG audio Info: 2012
Channels: 2 @ 16-bit Track: 01/09
Samplerate: 44100Hz Album: Maalai Pozhudhin Mayakathilaey :::tunesinn.blogspot.com:::
Replaygain: off Artist: Hemachandra, Achu
Duration: 00:03:46.98 Title: Oh Baby Girl
But the song is not playing. But if I do this (without &) :
(sleep 10 ; play Desktop/SONGS/01\ -\ Oh\ Baby\ Girl.mp3 )
Is working as expected. But I couldn't able to use my terminal in meanwhile.
How could I resolve my problem, with using &?
cmus. It even has a scriptcmuscrobblerfor last.fm and you can map global hotkeys in X window system viacmus-remote. Or you could try using an utility likescreen. – jeremija Aug 15 '12 at 08:43cmusis a great program- I should expand this comment into a full answer! – Aug 15 '12 at 12:59