Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51069
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <dwightdhutto@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'skip:\xa0 30': 0.05; 'binary': 0.07; 'python3': 0.07; '22,': 0.09; 'collier': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'compatible.': 0.16; 'interaction,': 0.16; 'pygame': 0.16; 'pygame,': 0.16; 'files.': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'app': 0.19; 'trying': 0.19; 'skip:p 40': 0.19; 'example': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'skip:p 30': 0.29; 'url:code': 0.29; '8bit%:3': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'work.': 0.31; 'that.': 0.31; 'option': 0.32; 'another': 0.32; 'url:python': 0.33; 'could': 0.34; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:downloads': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'audio': 0.38; 'pm,': 0.38; 'heard': 0.39; 'skip:p 20': 0.39; 'release': 0.40; 'url:mail': 0.40; 'browser': 0.61; 'url:p': 0.64; 'provide': 0.64; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'latest': 0.67; 'sound': 0.68; 'jul': 0.74; 'application?': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4FJysVmp0GTJhfiZddhTsb4SIiHl/Y7euJBqVvi7mrs=; b=HbxgoJ9OzoNnXuKpR8Ouc9bv08CzSpgFA/NWDZgJDFu1QRuKYLIssoaPxmAky/wqiN rpbzswCoYaW9E6mP757Mu9v9NYd8W4itRUu8LZu4s2xZ6mRMr4F3a+aV/zoiPP3NsYrY ebBpTuTa+A5BKN9kgYRnwzKlu1uGlgfSL43htBgrprdVlDSCeD68og3y57TLwcvgsWfh RM2/V6iym4wSl/JrY9gooXPFcXYevNqemc0hgiSZroCJ5IHTTtngWb30VDt5qNCJRe98 FMVTkj19Bitjz0dnq+qE5qaTdO8C04pDd5tYiBvwmD/NNG4831LkK6G56h4V27EctXvl 4PDg== |
| MIME-Version | 1.0 |
| X-Received | by 10.224.135.138 with SMTP id n10mr10360063qat.96.1374556753041; Mon, 22 Jul 2013 22:19:13 -0700 (PDT) |
| In-Reply-To | <kskirt$4qa$1@dont-email.me> |
| 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 | Tue, 23 Jul 2013 01:19:12 -0400 |
| Subject | Re: Play Ogg Files |
| From | David Hutto <dwightdhutto@gmail.com> |
| To | alex23 <wuwei23@gmail.com> |
| Content-Type | multipart/alternative; boundary=001a11c29762fd1e8904e226ee6d |
| Cc | python-list <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4993.1374556762.3114.python-list@python.org> (permalink) |
| Lines | 91 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1374556762 news.xs4all.nl 15941 [2001:888:2000:d::a6]:34717 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:51069 |
Show key headers only | View raw
[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