Re: [LAU] sample preview program?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: rosea.grammostola <rosea.grammostola@...>
Cc: <Linux-audio-user@...>
Date: Monday, December 17, 2012 - 7:18 pm

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@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] sample preview program?, rosea.grammostola, (Mon Dec 17, 9:05 am)
Re: [LAU] sample preview program?, Brent Busby, (Mon Dec 17, 7:18 pm)
Re: [LAU] sample preview program?, Robin Gareus, (Mon Dec 17, 2:01 pm)
Re: [LAU] sample preview program?, rosea.grammostola, (Mon Dec 17, 2:05 pm)
Re: [LAU] sample preview program?, Emiliano Grilli, (Mon Dec 17, 1:56 pm)