Vernon Cole wrote:
As always, remember that mp3 is proprietary, and the owner has shown
willingness to be nasty about licensing it. Therefore, anything that
is "easy to install" is possibly illegal and/or will open you to a
lawsuit. If you are doing new work, better to use ogg.
That statement
On Wed, Aug 13, 2008 at 4:56 PM, Vernon Cole <[EMAIL PROTECTED]> wrote:
> Where can one find documentation of MCI?
>
> On Tue, Aug 12, 2008 at 4:30 PM, Michel Claveau <[EMAIL PROTECTED]> wrote:
>
>> Hi!
>>
>> This is perfect. Works like a charm ... Thank you very much!
>>>
>>
>> Thanks for retur
Where can one find documentation of MCI?
On Tue, Aug 12, 2008 at 4:30 PM, Michel Claveau <[EMAIL PROTECTED]> wrote:
> Hi!
>
> This is perfect. Works like a charm ... Thank you very much!
>>
>
> Thanks for return.
>
> For info, MCI can, also, record from microphone, save file, give infos on
> so
Hi!
This is perfect. Works like a charm ... Thank you very much!
Thanks for return.
For info, MCI can, also, record from microphone, save file, give infos on
sound files, play mp3, wma or mid, etc.
It's an old techno of Windows.
But... it's only on Windows.
@-salutations
--
Michel Claveau
Michel,
This is perfect. Works like a charm, and I assume it's not due to my
installing anything already besides Python itself. Thank you very
much!
I'll go put this into a simple "mp3play" module, and put a recipe in
the Cookbook, to up the chance that people find this. Perhaps the
module wil
Hi!
You can use MCI (include inWindows).
Example:
# -*- coding: utf-8 -*-
import time
from ctypes import windll, c_buffer
class mci:
def __init__(self):
self.w32mci = windll.winmm.mciSendStringA
self.w32mcierror = windll.winmm.mciGetErrorStringA
def send(self,commande):
Re: PyGame: I forgot that one in my list. Someone else tried it and
said sound quality for MP3 playback was terrible (didn't verify myself
though).
Re: pyglet: thanks for the suggestion.
Re: licensing: good point, and so I think that the best solution is...
os.startfile('x.mp3'). Thank you, Br
If you don't need to control the playback with your program but just launch
it (in WMP), try os.startfile instead of os.system.
On Tue, Aug 12, 2008 at 7:45 AM, Vernon Cole <[EMAIL PROTECTED]> wrote:
> As always, remember that mp3 is proprietary, and the owner has shown
> willingness to be nasty
As always, remember that mp3 is proprietary, and the owner has shown
willingness to be nasty about licensing it. Therefore, anything that is
"easy to install" is possibly illegal and/or will open you to a lawsuit. If
you are doing new work, better to use ogg.
On Tue, Aug 12, 2008 at 5:53 AM, Sidne
On Tue, Aug 12, 2008 at 4:26 AM, Gerdus van Zyl <[EMAIL PROTECTED]> wrote:
> Try pyglet [pyglet.org]. It wraps avbin for mp3,ogg reading and plays
> using directsound, alsa, etc. Not sure if it could be made
> easy_installable.
Maybe PyGame? Same issue re: being easy_install-able though.
--
Sidn
Try pyglet [pyglet.org]. It wraps avbin for mp3,ogg reading and plays
using directsound, alsa, etc. Not sure if it could be made
easy_installable.
~Gerdus
On Tue, Aug 12, 2008 at 8:14 AM, Michael Gundlach <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a way to play an MP3 from Python 2.5 in Window
11 matches
Mail list logo