* alsaplayer and mplayer
@ Daniel Dalton
` Daniel Dalton
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Daniel Dalton @ UTC (permalink / raw)
To: Linux for blind general Discussion
Hi,
When I play a track with mplayer I can not use speech with
speech-dispatcher, however, if I use alsaplayer I can use my speech.
Does anyone know why this is? I thought both players support alsa?
If so how can I make mplayer work like alsaplayer and let my synth talk at
the same time?
Thanks for any help,
--
Daniel Dalton
http://members.iinet.net.au/~ddalton/
d.dalton@iinet.net.au
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: alsaplayer and mplayer alsaplayer and mplayer Daniel Dalton @ ` Daniel Dalton ` Willem van der Walt ` Geoff Shang 2 siblings, 0 replies; 8+ messages in thread From: Daniel Dalton @ UTC (permalink / raw) To: Linux for blind general discussion On Wed, 19 Mar 2008, Daniel Dalton wrote: > When I play a track with mplayer I can not use speech with speech-dispatcher, > however, if I use alsaplayer I can use my speech. It appears after a little more testing that sometimes it speaks and sometimes it doesn't. It seems to always work with alsaplayer... Anyone know why this could be? Thanks, -- Daniel Dalton http://members.iinet.net.au/~ddalton/ d.dalton@iinet.net.au ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsaplayer and mplayer alsaplayer and mplayer Daniel Dalton ` Daniel Dalton @ ` Willem van der Walt ` Daniel Dalton ` Geoff Shang 2 siblings, 1 reply; 8+ messages in thread From: Willem van der Walt @ UTC (permalink / raw) To: Linux for blind general discussion I think mplayer can be built with or without alsa support. Alternativly try using mplayer with aoss like: aoss mplayer file.wav Regards, Willem On Wed, 19 Mar 2008, Daniel Dalton wrote: > Hi, > > When I play a track with mplayer I can not use speech with speech-dispatcher, > however, if I use alsaplayer I can use my speech. > > Does anyone know why this is? I thought both players support alsa? > If so how can I make mplayer work like alsaplayer and let my synth talk at the > same time? > > Thanks for any help, > > -- > Daniel Dalton > > http://members.iinet.net.au/~ddalton/ > d.dalton@iinet.net.au > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://www.redhat.com/mailman/listinfo/blinux-list > -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsaplayer and mplayer ` Willem van der Walt @ ` Daniel Dalton ` Geoff Shang 0 siblings, 1 reply; 8+ messages in thread From: Daniel Dalton @ UTC (permalink / raw) To: Linux for blind general discussion On Wed, 19 Mar 2008, Willem van der Walt wrote: > I think mplayer can be built with or without alsa support. > Alternativly try using mplayer with aoss like: > aoss mplayer file.wav Just headed over to #mplayer on irc. (irc.freenode.net) And they said: "add ao = alsa" to ~/mplayer/config Or give the command line option: mplayer -ao alsa" Which seems to work! It seems to be working, but I'll reply if it still isn't working correctly. Thanks for the reply! -- Daniel Dalton http://members.iinet.net.au/~ddalton/ d.dalton@iinet.net.au ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsaplayer and mplayer ` Daniel Dalton @ ` Geoff Shang ` Daniel Dalton 0 siblings, 1 reply; 8+ messages in thread From: Geoff Shang @ UTC (permalink / raw) To: Linux for blind general discussion Hi, You can find out which audio outputs are available with mplayer -ao help Geoff. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsaplayer and mplayer ` Geoff Shang @ ` Daniel Dalton 0 siblings, 0 replies; 8+ messages in thread From: Daniel Dalton @ UTC (permalink / raw) To: Linux for blind general discussion On Wed, 19 Mar 2008, Geoff Shang wrote: > Hi, > > You can find out which audio outputs are available with > > mplayer -ao help Thanks I'll have a look at that. -- Daniel Dalton http://members.iinet.net.au/~ddalton/ d.dalton@iinet.net.au ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsaplayer and mplayer alsaplayer and mplayer Daniel Dalton ` Daniel Dalton ` Willem van der Walt @ ` Geoff Shang ` Daniel Dalton 2 siblings, 1 reply; 8+ messages in thread From: Geoff Shang @ UTC (permalink / raw) To: Linux for blind general discussion Hi, It's possible that mplayer is defaulting to oss. I might have the wrong syntax here, but according to the manual, the way to use alsa would be: mplayer -ao alsa:device=hw=0,0 <audiofile> The example given in the manual is actually mplayer -ao alsa:noblock:device=hw=0.3 <audiofile> but I'm not sure if the noblock option is needed or desired. The device hw:x,y is your hardware card number x, device number y. If you have 1 soundcard with 1 output device then it will be 0,0. If you want to use your second card, first device, it will be 1,0. If this works for you, you might want to put it in your .mplayer/config file. Just put whatever follows the "mplayer -" (i.e. ao alsa:device=hw=0,0 Note that it may well default to 0,0 so using "mplayer -ao alsa" may be sufficient. Good luck, Geoff. -- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsaplayer and mplayer ` Geoff Shang @ ` Daniel Dalton 0 siblings, 0 replies; 8+ messages in thread From: Daniel Dalton @ UTC (permalink / raw) To: Linux for blind general discussion On Wed, 19 Mar 2008, Geoff Shang wrote: > Hi, Hi, > > It's possible that mplayer is defaulting to oss. I might have the wrong I think it was, however, some tracks seemed to be using alsa... > syntax here, but according to the manual, the way to use alsa would be: > > mplayer -ao alsa:device=hw=0,0 <audiofile> > > The example given in the manual is actually > > mplayer -ao alsa:noblock:device=hw=0.3 <audiofile> > > but I'm not sure if the noblock option is needed or desired. > Yep that worked. > The device hw:x,y is your hardware card number x, device number y. If you > have 1 soundcard with 1 output device then it will be 0,0. If you want to > use your second card, first device, it will be 1,0. > Thanks for this info, I only have one sound card so mplayer -ao alsa worked, but if I ever have more soundcards I'll know how to handle it. Thanks for explaining that. > If this works for you, you might want to put it in your .mplayer/config file. > Just put whatever follows the "mplayer -" (i.e. > > ao alsa:device=hw=0,0 > Yep except don't you need an = sign? I have one in mine. > Note that it may well default to 0,0 so using "mplayer -ao alsa" may be > sufficient. It is on my system. Also who wants to use os these days? So why do they still have it? > > Good luck, Thanks for all this info! -- Daniel Dalton http://members.iinet.net.au/~ddalton/ d.dalton@iinet.net.au ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
alsaplayer and mplayer Daniel Dalton
` Daniel Dalton
` Willem van der Walt
` Daniel Dalton
` Geoff Shang
` Daniel Dalton
` Geoff Shang
` Daniel Dalton
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).