Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51069
| References | <51E9E29E.7010203@Gmail.com> <ksd37r$coj$1@ger.gmane.org> <mailman.4919.1374323123.3114.python-list@python.org> <kskirt$4qa$1@dont-email.me> |
|---|---|
| Date | 2013-07-23 01:19 -0400 |
| Subject | Re: Play Ogg Files |
| From | David Hutto <dwightdhutto@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4993.1374556762.3114.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
Devyn, are you just trying to use this in an application? Would a browser
based web app work. I ask because there will still be some sort of DB
interaction, so could it be an option to go with a browser command?
On Mon, Jul 22, 2013 at 8:37 PM, alex23 <wuwei23@gmail.com> wrote:
> On 20/07/2013 10:25 PM, Devyn Collier Johnson wrote:
>
>> I have not heard of Pyaudio; I will look into that. As
>> for Pygame, I have not been able to find any good documentation for
>> playing audio files. Plus, I recently learned that Pygame is not Python3
>> compatible.
>>
>
> Another option would be Pyglet, which uses the cross-platform binary AVBin
> to provide sound support. It may not provide as much control as PyAudio,
> but given your example usage it might be a bit more straightforward:
>
> pyglet.media.load('boot.ogg', streaming=False).play()
>
> http://www.pyglet.org/doc/**programming_guide/simple_**audio_playback.html<http://www.pyglet.org/doc/programming_guide/simple_audio_playback.html>
>
> The latest development release provides support for Python 3:
>
> https://code.google.com/p/**pyglet/downloads/list?q=1.**2alpha1<https://code.google.com/p/pyglet/downloads/list?q=1.2alpha1>
> --
> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>
--
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Play Ogg Files Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-20 08:25 -0400
Re: Play Ogg Files alex23 <wuwei23@gmail.com> - 2013-07-23 10:37 +1000
Re: Play Ogg Files David Hutto <dwightdhutto@gmail.com> - 2013-07-23 01:19 -0400
Re: Play Ogg Files Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-23 06:40 -0400
csiph-web