LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2004, 04:45 PM   #1
clausawits
Member
 
Registered: Jun 2001
Posts: 147

Rep: Reputation: 16
Alternative to mplayer for audio playback?


I need a program that can play sound clips (in WAV, MP3, and OGG format) invoking a gui (so I can call it from a script). I can't use mplayer because for short sound clips, it cuts off the tail end of the clip ("I'll be back." becomes "I'll be").. no one seem to have any help for that aspect, ( http://www.linuxquestions.org/questi...hreadid=131317 ) so now I'm hoping to get recommendations for alternatives..

Thanks guys for any help you can give!
 
Old 01-04-2004, 05:11 PM   #2
merlin371
Member
 
Registered: Jul 2003
Location: Italy
Distribution: Ubuntu/Fedora
Posts: 152

Rep: Reputation: 30
did you try xmms www.xmms.org
I don't Know if it can open OGG files
 
Old 01-04-2004, 06:44 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
xmms has to be my favorite. Maybe it's because I also use Winamp 2.x?
 
Old 01-04-2004, 09:17 PM   #4
clausawits
Member
 
Registered: Jun 2001
Posts: 147

Original Poster
Rep: Reputation: 16
Oh my.. I feel like an idiot...
Quote:
I need a program that can play sound clips (in WAV, MP3, and OGG format) invoking a gui (so I can call it from a script).
That's supposed to read "I need a program that can play sound clips WITHOUT invoking a gui." ...argh!!! sorry about the goof-up..

I don't know how to get xmms to go without trying to fire off all the gui stuff..

thanks for the replies though.. any more help?
 
Old 01-04-2004, 09:31 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
this here could be what your looking for
 
Old 01-04-2004, 09:47 PM   #6
clausawits
Member
 
Registered: Jun 2001
Posts: 147

Original Poster
Rep: Reputation: 16
Many thanks DrOzz!!

I checked freshmeat for "audio" and "command line", but this one didn't show up on that search... maybe I shoulda tried "console" also??

I'll take a look at it and post a followup if it works out..

again, thanks for finding that for me!
 
Old 01-04-2004, 09:54 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
not a problem at all d00d ...
i actually just tried it myself and i kinda like it ;-)
i only have mp3s, so i can't really comment on other file types, but overall works great...just got to get used to the key navigation...

the only thing i noticed which is not a problem cause i don't use it (just opened it by accident) but when i fired up gnome-terminal and press F1 (use to add files) the gnome terminal manual opens up , but i meant to open aterm, and it works fine in there ...
 
Old 01-04-2004, 10:13 PM   #8
clausawits
Member
 
Registered: Jun 2001
Posts: 147

Original Poster
Rep: Reputation: 16
Alas, mp3blaster seems to think some wavs are in fact recordings of Alvin, Simon, and Theodore (the chipmunks)... others it claims are bad file formats, (though they play fine in other software)...

looking at the mp3blaster man page, my hopes were raised regarding the overly high-speed playback by the mention of the downsampling, but trying that option didn't make any difference.. the debugging output for two attempts to fix the chipmunks is as follows (one with the -2 -d options, and the next with -2 -8 -d options):
Code:
Debugging of mp3blaster started.
Not playing, waiting to start playlist
THREAD playing woke up!
AC_PLAY: allow_repeat = 0No song to play, let's find one!
start_song()
Resetsound: samplesize = 16
Resetsound: samplesize = 16 (2)
Resetsound: rawstereo=0
Resetsound: rawspeed=16000
Allowing playlist repeat
No song to play, let's find one!
start_song()
Could not determine song in start_song()
End of playlist reached.
I want to repeat: 0
Am I allowed to?: 1
stop_list() : allow_repeat = 0
reset_playlist(1)
Debugging of mp3blaster started.
Not playing, waiting to start playlist
THREAD playing woke up!
AC_PLAY: allow_repeat = 0No song to play, let's find one!
start_song()
Resetsound: samplesize = 8
Resetsound: samplesize = 8 (2)
Resetsound: rawstereo=0
Resetsound: rawspeed=16000
Allowing playlist repeat
No song to play, let's find one!
start_song()
Could not determine song in start_song()
End of playlist reached.
I want to repeat: 0
Am I allowed to?: 1
stop_list() : allow_repeat = 0
reset_playlist(1)
Assuming mp3blaster won't work, any other suggestions? If not, I guess I'm going to have to wander blindly google and freshmeat a while longer.. unless someone thinks sending a bug report to the mplayer guys would actually be helpful...

Any more suggestions or help would be keen!
 
Old 01-04-2004, 10:21 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well you can look through this list that i found, they are both gui and command line ...
i don't think it looks good as of format support, unless someone else knows of something, the next best thing i can think of is mpg321, but i am pretty positive its just mp3 support with that...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD-Audio playback TomalakBORG Linux - Software 1 12-10-2005 03:58 PM
audio playback mr_a_ali Linux - Hardware 3 09-29-2004 05:21 AM
no audio cd playback on gentoo catfishk Linux - Hardware 2 05-02-2004 07:36 PM
audio/video playback problem xexe Mandriva 1 12-24-2003 02:54 AM
Two problems - DVD playback and audio puppy Mandriva 4 09-13-2003 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration