Re: sample preview program?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Dec 2012, rosea.grammostola wrote:

How do I set midnight commander to let mplayer play my audio files?

Well, just for some ideas, here's some stuff from my ~/.mc/bindings :


### Sound files ###

regex/\.([wW][aA][vV]|[vV][oO][cC]|[aA][uU]|[sS][mM][pP]|[aA][iI][fF][fF])$
       Open=sndfile-play %f >/dev/null 2>&1 &
       View=%view{ascii} soxi %f

regex/\.([sS][nN][dD])$
        Open=sndfile-play %f >/dev/null 2>&1 &
        View=%view{ascii} sndfile-info %f

regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$
       Open=mikmod %f
       #Open=tracker %f

regex/\.([mM][pP]3)$
        Open=mpg123 %f
View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'

regex/\.([oO][gG][gG|aA|vV|xX])$
        Open=ogg123 -d alsa -o use_mmap:yes %f
        View=%view{ascii} ogginfo %s

regex/\.([sS][pP][xX]|[fF][lL][aA][cC])$
        Open=play %f
        View=%view{ascii} soxi %f

--
+ Brent A. Busby	 + "We've all heard that a million monkeys
+ Sr. UNIX Systems Admin +  banging on a million typewriters will
+ University of Chicago	 +  eventually reproduce the entire works of
+ James Franck Institute +  Shakespeare.  Now, thanks to the Internet,
+ Materials Research Ctr +  we know this is not true." -Robert Wilensky
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux