Re: Media Conversion Using Python - Converting MP3 to Other Formats

2014-08-28 Thread Akira Li
Mark Lawrence writes: > On 25/08/2014 16:28, Parth Trivedi wrote: >> Dear All, >> >> I need some help of yours. I want to convert audio in MP3 format to >> other formats including uncompressed raw format, WAV etc. and I am using >> python 2.7. Is there any built

Re: Media Conversion Using Python - Converting MP3 to Other Formats

2014-08-25 Thread Mark Lawrence
On 26/08/2014 00:23, Dan Stromberg wrote: On Mon, Aug 25, 2014 at 9:04 AM, Mark Lawrence wrote: On 25/08/2014 16:28, Parth Trivedi wrote: Dear All, I need some help of yours. I want to convert audio in MP3 format to other formats including uncompressed raw format, WAV etc. and I am using

Re: Media Conversion Using Python - Converting MP3 to Other Formats

2014-08-25 Thread Dan Stromberg
On Mon, Aug 25, 2014 at 9:04 AM, Mark Lawrence wrote: > On 25/08/2014 16:28, Parth Trivedi wrote: >> >> Dear All, >> >> I need some help of yours. I want to convert audio in MP3 format to >> other formats including uncompressed raw format, WAV etc. and I am using

Re: Media Conversion Using Python - Converting MP3 to Other Formats

2014-08-25 Thread Mark Lawrence
On 25/08/2014 16:28, Parth Trivedi wrote: Dear All, I need some help of yours. I want to convert audio in MP3 format to other formats including uncompressed raw format, WAV etc. and I am using python 2.7. Is there any built-in module I can use or any third party modules available ? Please help

Media Conversion Using Python - Converting MP3 to Other Formats

2014-08-25 Thread Parth Trivedi
Dear All, I need some help of yours. I want to convert audio in MP3 format to other formats including uncompressed raw format, WAV etc. and I am using python 2.7. Is there any built-in module I can use or any third party modules available ? Please help me on this. I would be very grateful

Re: Access and write .mp3 metadata/tags using Python 3

2013-11-26 Thread alex23
On 27/11/2013 1:41 AM, andonefi...@gmail.com wrote: I also want to be able to read the length of the mp3. For this, try the eyed3 library: >>> import eyed3 >>> mp3 = eyed3.load(r'pygame\examples\data\house_lo.mp3') >>> mp3.info.time_secs

Re: Access and write .mp3 metadata/tags using Python 3

2013-11-26 Thread Michael Torrie
On 11/26/2013 10:10 AM, andonefi...@gmail.com wrote: > I'm still a bit new to this. When I download a module like Mutagen > and unzip it I have a folder and tons of files within folders? I see > no file simply called mutagen? So how can I import the module? Also you can install many things usin

Re: Access and write .mp3 metadata/tags using Python 3

2013-11-26 Thread andonefilms
> those modules. > > > > Based on the two links, it looks like Mutagen might be the first stop > > for getting both parts that you need. > > > > -tkc > > > > > > [1] > > https://wiki.python.org/moin/UsefulModules#ID3_Handling &

Re: Access and write .mp3 metadata/tags using Python 3

2013-11-26 Thread Michael Torrie
On 11/26/2013 08:41 AM, andonefi...@gmail.com wrote: > I'm trying to figure out how to get python to access the properties > section of an mp3 file. When you right click an mp3 file and go to > properties you can edit the title, album, and things like that. I > also want to be

Re: Access and write .mp3 metadata/tags using Python 3

2013-11-26 Thread Tim Chase
On 2013-11-26 07:41, andonefi...@gmail.com wrote: > Hey everyone. > > I'm trying to figure out how to get python to access the properties > section of an mp3 file. When you right click an mp3 file and go to > properties you can edit the title, album, and things like that.

Access and write .mp3 metadata/tags using Python 3

2013-11-26 Thread andonefilms
Hey everyone. I'm trying to figure out how to get python to access the properties section of an mp3 file. When you right click an mp3 file and go to properties you can edit the title, album, and things like that. I also want to be able to read the length of the mp3. Is there a pythoni

Re: mp3

2013-02-28 Thread fabriceS
Le 28/02/2013 01:07, alex23 a écrit : On Feb 28, 7:58 am, fabriceS wrote: Is anybody know how to get the lenght (in seconds) of a mp3 file ? Try eyeD3: https://pypi.python.org/pypi/eyeD3 >>> import eyed3 >>> mp3 = eyed3.load(r'pygame\examples\data\hous

Re: mp3

2013-02-27 Thread alex23
On Feb 28, 7:58 am, fabriceS wrote: > Is anybody know how to get the lenght (in seconds) of a mp3 file ? Try eyeD3: https://pypi.python.org/pypi/eyeD3 >>> import eyed3 >>> mp3 = eyed3.load(r'pygame\examples\data\house_lo.mp3') >>> mp3.info.ti

Re: mp3

2013-02-27 Thread Rick Johnson
On Wednesday, February 27, 2013 3:58:03 PM UTC-6, fabriceS wrote: > Is anybody know how to get the lenght (in seconds) of a mp3 file ? Well Mp3's have a huge header with tons of info stuffed inside. And i remember seeing a nice recipe on the Python cookbook (or maybe SO) for parsing the

mp3

2013-02-27 Thread fabriceS
Hi, Is anybody know how to get the lenght (in seconds) of a mp3 file ? I try with pygame.mixer but without success... Thanks Fabrice -- http://mail.python.org/mailman/listinfo/python-list

Re: How to add silent stretches to MP3 using Python?

2010-08-14 Thread Tim Chase
Here's the problem: I have about 25,000 mp3 files, each lasting, *on average*, only a few seconds, though the variance is wide (the longest one lasts around 20 seconds). (These files correspond to sample sentences for foreign language training.) The problem is that there is basically no pa

How to add silent stretches to MP3 using Python?

2010-08-14 Thread kj
Here's the problem: I have about 25,000 mp3 files, each lasting, *on average*, only a few seconds, though the variance is wide (the longest one lasts around 20 seconds). (These files correspond to sample sentences for foreign language training.) The problem is that there is basical

Re: process mp3 file

2010-03-05 Thread vanam
he file name by filtering the .mp3 extension. -- http://mail.python.org/mailman/listinfo/python-list

Re: process mp3 file

2010-03-03 Thread Chris Rebert
On Wed, Mar 3, 2010 at 2:43 AM, asit wrote: >> Define "processing". > > getting the title, song name, etc of the file and updating in a > database You'd want an ID3 tag library then. Here's one: http://eyed3.nicfit.net/ Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailma

Re: process mp3 file

2010-03-03 Thread asit
> Define "processing". getting the title, song name, etc of the file and updating in a database -- http://mail.python.org/mailman/listinfo/python-list

Re: process mp3 file

2010-03-03 Thread Chris Rebert
On Wed, Mar 3, 2010 at 12:33 AM, asit wrote: > Somebody suggest me a python library for processing mp3 file.  Here I > don't want to play the file. Define "processing". Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list

process mp3 file

2010-03-03 Thread asit
Somebody suggest me a python library for processing mp3 file. Here I don't want to play the file. Thank you -- http://mail.python.org/mailman/listinfo/python-list

a python downloader for the Amazon mp3 store

2009-12-19 Thread Chris Colbert
So, I wasn't happy with the Amazon mp3 downloader for linux (because it sucks). And clamz is written in C with a bunch of dependencies. Thus, I've created a python downloader for .amz files using the crypto keys figured out by Ben Moody (clamz author). Its just command line only right

Re: playing mp3

2009-10-27 Thread John O'Hagan
On Mon, 26 Oct 2009, Jabba Laci wrote: > Hi, > > What do you suggest for playing mp3 files with Python? I found a > simple module (http://code.google.com/p/mp3play/) but it only works > with Windows. I'd need Linux support too. [...] If it doesn't need to be pure python

playing mp3

2009-10-26 Thread Jabba Laci
Hi, What do you suggest for playing mp3 files with Python? I found a simple module (http://code.google.com/p/mp3play/) but it only works with Windows. I'd need Linux support too. Thanks, Laszlo -- http://mail.python.org/mailman/listinfo/python-list

GoEar Mp3 download system

2009-04-25 Thread Carlos Schwarz Júnior
I developed an application using pyGTK to download the MP3 music that are hosted on GoEar http://www.goear.com/. It's not totally finished, but the main functions are working and some other interesting features too. It works well in Windows and Linux (not tested in MAC). To download:

Re: pygame music, cant read mp3?

2008-05-05 Thread globalrev
On 5 Maj, 17:25, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > directory = ['C:','Python25','myPrograms','pygameProgs','dront.mp3'] > > os.path.join(directory) > > > Then python can worry about the gritty details, and you don't have to. > > Or somewhat neater IMHO: > > os.path.join('C:','Python

Re: pygame music, cant read mp3?

2008-05-05 Thread Diez B. Roggisch
> directory = ['C:','Python25','myPrograms','pygameProgs','dront.mp3'] > os.path.join(directory) > > Then python can worry about the gritty details, and you don't have to. Or somewhat neater IMHO: os.path.join('C:','Python25','myPrograms','pygameProgs','dront.mp3') Diez -- http://mail.python.

Re: pygame music, cant read mp3?

2008-05-05 Thread J. Cliff Dyer
TECTED]> > > > wrote: > > > > > > 2008/5/5, globalrev <[EMAIL PROTECTED]>: > > > > > > > pygame.mixer.music.load('C:/Python25/myPrograms/pygameProgs/example1.mp3') > > > > > > Are you sure that: > > >

Re: pygame music, cant read mp3?

2008-05-05 Thread globalrev
TECTED]>: > > > > > pygame.mixer.music.load('C:/Python25/myPrograms/pygameProgs/example1.mp3') > > > > Are you sure that: > > > > os.path.exists('C:/Python25/myPrograms/pygameProgs/example1.mp3') == True? > > > > Check it with

Re: pygame music, cant read mp3?

2008-05-05 Thread globalrev
On 5 Maj, 16:09, globalrev <[EMAIL PROTECTED]> wrote: > On 5 Maj, 14:17, "Wojciech Walczak" <[EMAIL PROTECTED]> > wrote: > > > 2008/5/5, globalrev <[EMAIL PROTECTED]>: > > > > pygame.mixer.music.load('C:/Python25/myPrograms/pygameProgs/

Re: pygame music, cant read mp3?

2008-05-05 Thread Dan Upton
On Mon, May 5, 2008 at 10:09 AM, globalrev <[EMAIL PROTECTED]> wrote: > On 5 Maj, 14:17, "Wojciech Walczak" <[EMAIL PROTECTED]> > wrote: > > 2008/5/5, globalrev <[EMAIL PROTECTED]>: > > > > > > > pygame.mixer.music.load('C:/Pyth

Re: pygame music, cant read mp3?

2008-05-05 Thread globalrev
On 5 Maj, 14:17, "Wojciech Walczak" <[EMAIL PROTECTED]> wrote: > 2008/5/5, globalrev <[EMAIL PROTECTED]>: > > > pygame.mixer.music.load('C:/Python25/myPrograms/pygameProgs/example1.mp3') > > Are you sure that: > > os.path.exists('C:/Pyth

Re: pygame music, cant read mp3?

2008-05-05 Thread Wojciech Walczak
2008/5/5, globalrev <[EMAIL PROTECTED]>: > pygame.mixer.music.load('C:/Python25/myPrograms/pygameProgs/example1.mp3') Are you sure that: os.path.exists('C:/Python25/myPrograms/pygameProgs/example1.mp3') == True? Check it with python. -- Regards, Wojtek W

Re: pygame music, cant read mp3?

2008-05-05 Thread globalrev
ygame.mixer.init(frequency=22050, size=-16, channels=2, > > > buffer=3072) //it complained abiout words= > > > so i guess its only the nbrs should be there// > > > > pygame.mixer.init(22050, -16, 2, 3072) > > > pygame.mixer.music.load("example1.mp3&quo

Re: pygame music, cant read mp3?

2008-05-05 Thread globalrev
ut words= > > so i guess its only the nbrs should be there// > > > pygame.mixer.init(22050, -16, 2, 3072) > > pygame.mixer.music.load("example1.mp3") > > pygame.mixer.music.play(loops=1, start=0.0) > > > Traceback (most recent call last): > > F

Re: pygame music, cant read mp3?

2008-05-05 Thread Diez B. Roggisch
er.init(22050, -16, 2, 3072) > pygame.mixer.music.load("example1.mp3") > pygame.mixer.music.play(loops=1, start=0.0) > > > > Traceback (most recent call last): > File "C:\Python25\myPrograms\pygameProgs\musicexp.py", line 5, in > > pygame.mixer.music.load(&q

pygame music, cant read mp3?

2008-05-05 Thread globalrev
http://www.pygame.org/docs/ref/mixer.html import pygame #pygame.mixer.init(frequency=22050, size=-16, channels=2, buffer=3072) //it complained abiout words= so i guess its only the nbrs should be there// pygame.mixer.init(22050, -16, 2, 3072) pygame.mixer.music.load("example

Power mp3 cutter crack

2008-04-26 Thread lscbtfws
Power mp3 cutter crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

the best ABOUT MP3 this year. have alook...

2008-04-16 Thread ghgggu
http://www.soundofmp3.info -- http://mail.python.org/mailman/listinfo/python-list

Re: MP3 and ID3 library/module recommendations

2007-11-03 Thread Basilisk96
I use PyMedia and mutagen. I've found PyMedia to be excellent for creating custom mp3 files from line input and performing frequency/energy analysis. I can't say that I've tried to convert other audio formats to MP3 with it, but I'm sure it's possible. I was able t

MP3 and ID3 library/module recommendations

2007-11-02 Thread p.
Wondering what experiences people have had using various packages for extracting data from and manipulating mp3 files. Specifically, i need to get a song duration, which as i understand it, you extract from the framesets, as well as the typical id3 stuff like artist, album, song, year, etc

MP3 and ID3 library/module recommendations

2007-11-02 Thread paul petrick
Wondering what experiences people have had using various packages for extracting data from and manipulating mp3 files. Specifically, i need to get a song duration, which as i understand it, you extract from the framesets, as well as the typical id3 stuff like artist, album, song, year, etc

MP3 AVI DIVX MPEG SOFT = www.GEGEREKA.com

2007-07-12 Thread GEGEREKA!
Millions files for everyone. Music, movies, soft and other media. Check it now!! http://www.gegereka.com -- http://mail.python.org/mailman/listinfo/python-list

MP3 AVI DIVX MPEG SOFT = www.GEGEREKA.com

2007-07-09 Thread GEGEREKA!
Millions files for everyone. Music, movies, soft and other media. Check it now!! http://www.gegereka.com -- http://mail.python.org/mailman/listinfo/python-list

Re: MP3 decoder module?

2007-01-12 Thread Paul Rubin
Terry Carroll <[EMAIL PROTECTED]> writes: > As I read the Pymedia docs, you can use it to decode frames from an > MP3, and operate on the decoded sound data. > > See http://pymedia.org/tut/dump_wav.html for a discussion. Hmm, thanks, it looks like there's more there

Re: MP3 decoder module?

2007-01-12 Thread Terry Carroll
Paul Rubin wrote: > Anyone know of a reasonable mp3 decoder library I can call from > Python? Some Googling didn't find anything too promising. It found > Pymedia (which plays mp3's through a sound system) But I want to > actually decode the mp3 frames and crunch on th

Re: MP3 decoder module?

2007-01-12 Thread Paul Rubin
Paul Rubin <http://[EMAIL PROTECTED]> writes: > Basically I want to write a program that takes an mp3 audio file and > finds the silent frames, with the idea of chopping the file into > segments at those points automatically, or compressing the silences > out of spoken audio to m

MP3 decoder module?

2007-01-12 Thread Paul Rubin
Anyone know of a reasonable mp3 decoder library I can call from Python? Some Googling didn't find anything too promising. It found Pymedia (which plays mp3's through a sound system) and any number of utilities that parse ID3 tags and other metadata. But I want to actually decode the

Re: MP3 files and Python...

2006-10-11 Thread Josh Bloom
Dive Into Python also has a little tutorial/code for reading and editing mp3 tags. http://www.diveintopython.org/object_oriented_framework/index.html -JBOn 10/10/06, Max Erickson <[EMAIL PROTECTED]> wrote: Karlo Lozovina <[EMAIL PROTECTED]> wrote:> I'm looking for a Python li

Re: MP3 files and Python...

2006-10-10 Thread Max Erickson
Karlo Lozovina <[EMAIL PROTECTED]> wrote: > I'm looking for a Python lib which can read and _write_ ID3v1 and > ID3v2 tags, and as well read as much as possible data from MP3 > file (size, bitrate, samplerate, etc...). > > MP3 reproduction is of no importance

MP3 files and Python...

2006-10-10 Thread Karlo Lozovina
I'm looking for a Python lib which can read and _write_ ID3v1 and ID3v2 tags, and as well read as much as possible data from MP3 file (size, bitrate, samplerate, etc...). MP3 reproduction is of no importance... -- ___Karlo Lozovina -

Re: Native MP3 Decoder?

2006-09-30 Thread floguy
ROTECTED] wrote: > > If anyone knows of another project like this, an alternative that I > > haven't found yet, or has experience in mp3 decoding, please respond > > with your thoughts. > > There's pymad ( http://spacepants.org/src/pymad/ ); haven't tr

Re: Native MP3 Decoder?

2006-09-30 Thread MonkeeSage
[EMAIL PROTECTED] wrote: > If anyone knows of another project like this, an alternative that I > haven't found yet, or has experience in mp3 decoding, please respond > with your thoughts. There's pymad ( http://spacepants.org/src/pymad/ ); haven't tried but it should wor

Native MP3 Decoder?

2006-09-30 Thread floguy
only works on Windows XP and Linux, and not MacOSX 2) pyGame, which seems to lack the needed SDL_mixer support for pygame.music 3) wx.MediaCtrl, which supposedly works on Windows and MacOSX, but not Linux So, I began to look for a pure Python MP3 decoder. To my surprise, there was not one implement

Re: mp3 file length in time

2006-09-17 Thread Tim Heaney
"Jay" <[EMAIL PROTECTED]> writes: > Paul Rubin wrote: >> "Jay" <[EMAIL PROTECTED]> writes: >> > In python, I know there are a couple of modules for getting id3 info, >> > but what about the length of an mp3 file in time? Is there a wa

Re: mp3 file length in time

2006-09-17 Thread Paul Rubin
"Jay" <[EMAIL PROTECTED]> writes: > Any tips on how to do that? You might type "python mp3" into google. That's often the fastest way to find answers of this type. -- http://mail.python.org/mailman/listinfo/python-list

Re: mp3 file length in time

2006-09-17 Thread Jay
Any tips on how to do that? Paul Rubin wrote: > "Jay" <[EMAIL PROTECTED]> writes: > > In python, I know there are a couple of modules for getting id3 info, > > but what about the length of an mp3 file in time? Is there a way to > > aquire that info? Most of

Re: mp3 file length in time

2006-09-17 Thread Paul Rubin
"Jay" <[EMAIL PROTECTED]> writes: > In python, I know there are a couple of modules for getting id3 info, > but what about the length of an mp3 file in time? Is there a way to > aquire that info? Most of my MP3s don't have id3 tags. I don't care > for

mp3 file length in time

2006-09-17 Thread Jay
In python, I know there are a couple of modules for getting id3 info, but what about the length of an mp3 file in time? Is there a way to aquire that info? Most of my MP3s don't have id3 tags. I don't care for them. But I need to use python to get their file lengths. How?

Re: mp3 libs and programs

2006-09-15 Thread [EMAIL PROTECTED]
t; Tim Williams wrote: > > On 15 Sep 2006 18:16:41 -0700, Jay <[EMAIL PROTECTED]> wrote: > > > I'm writing a python script that involves playing mp3 files. The first > > > approach I had was sending commands to unix command-line programs in > > > order to

Re: mp3 libs and programs

2006-09-15 Thread Richard Jones
Jay wrote: > I'm writing a python script that involves playing mp3 files. I've previously successfully used the Python interface for MAD: http://www.underbit.com/products/mad/ which was trivial to use in combination with libao's python interface (and throw in ogg.vorbis

Re: mp3 libs and programs

2006-09-15 Thread Jay
t; Harold Fellermann wrote: > > hi, > > > > Jay wrote: > > > I'm writing a python script that involves playing mp3 files. The first > > > approach I had was sending commands to unix command-line programs in > > > order to play them. I tired mpg123

Re: mp3 libs and programs

2006-09-15 Thread Jay
That's definately a good choice, but what about mplayer in slave mode? Can I use that with python? Would that be able to seek? Harold Fellermann wrote: > hi, > > Jay wrote: > > I'm writing a python script that involves playing mp3 files. The first > > approac

Re: mp3 libs and programs

2006-09-15 Thread Harold Fellermann
hi, Jay wrote: > I'm writing a python script that involves playing mp3 files. The first > approach I had was sending commands to unix command-line programs in > order to play them. I tired mpg123 and moosic, but there was a key > feature to my program's success that's

Re: mp3 libs and programs

2006-09-15 Thread Jay
Only if I have to. PyMedia is a pain and a half to build and why do that if I can just pipe it out to some other program? Tim Williams wrote: > On 15 Sep 2006 18:16:41 -0700, Jay <[EMAIL PROTECTED]> wrote: > > I'm writing a python script that involves playing mp3 files. Th

Re: mp3 libs and programs

2006-09-15 Thread Tim Williams
On 15 Sep 2006 18:16:41 -0700, Jay <[EMAIL PROTECTED]> wrote: > I'm writing a python script that involves playing mp3 files. The first > approach I had was sending commands to unix command-line programs in > order to play them. I tired mpg123 and moosic, but there was a

mp3 libs and programs

2006-09-15 Thread Jay
I'm writing a python script that involves playing mp3 files. The first approach I had was sending commands to unix command-line programs in order to play them. I tired mpg123 and moosic, but there was a key feature to my program's success that's missing. SEEK! I need to b

Re: Text to MP3 using pyTTS - Non-programmer question

2006-08-23 Thread seyeRMReyes
Thanks for much for all the help, but it doesn't seem as if the wav file is being created, but I really don't get an error message. Initially, I got error messages about TCL and TK lidbrary and I added them to the PATH. Do the encoder need to be in the source folder along with the code? Again, I

Re: Text to MP3 using pyTTS - Non-programmer question

2006-08-20 Thread Michael
Marc Shapiro wrote: > From what I've seen, pyTTS is Windows only.  Is there a package that > runs on linux that provides similar functionality.  I have festival and > festlite, but I would prefer a Python solution. From: http://www.cam.org/~nico/cicero/cicero-README.txt """ Cicero TTS: A Small,

Re: Text to MP3 using pyTTS - Non-programmer question

2006-08-19 Thread Marc Shapiro
[EMAIL PROTECTED] wrote: > I'm not a programmer, but I'd like to make a program that will open and > read a txt file and output to a mp3 file. I don't need to ever hear the > voice, but I'd like the program to direct > > I've been google'in

Re: Text to MP3 using pyTTS - Non-programmer question

2006-08-19 Thread Ravi Teja
[EMAIL PROTECTED] wrote: > Thanks for the script. Are there any online python intrepreters? > > I'd like to play around with the script. I don't have access to my home > PC. You probably will have to wait till you get to yours. There were some AJAXian ones but I doubt that you will find a free (a

Re: Text to MP3 using pyTTS - Non-programmer question

2006-08-18 Thread seyeRMReyes
Thanks for the script. Are there any online python intrepreters? I'd like to play around with the script. I don't have access to my home PC. -- http://mail.python.org/mailman/listinfo/python-list

Re: Text to MP3 using pyTTS - Non-programmer question

2006-08-18 Thread Dieter Deyke
[EMAIL PROTECTED] writes: > I'm not a programmer, but I'd like to make a program that will open and > read a txt file and output to a mp3 file. I don't need to ever hear the > voice, but I'd like the program to direct > > I've been google'in

Text to MP3 using pyTTS - Non-programmer question

2006-08-18 Thread seyeRMReyes
I'm not a programmer, but I'd like to make a program that will open and read a txt file and output to a mp3 file. I don't need to ever hear the voice, but I'd like the program to direct I've been google'ing around and have found a few tutorials about converting pdf

Re: Looking For mp3 ID Tag Module

2006-08-18 Thread Iain King
uld have non-ASCII chars in it. What I am stumbling > on it how to coerce it into unicode. I have tried: > > name = filename.split(....) blah blah blah > audio["title"] = unicode(name) > > But I still get this error. I am not real up to speed on the whole unicod

RE: Looking For mp3 ID Tag Module

2006-08-18 Thread Tim Golden
[Tim Daneliuk] | >> audio["title'] = Something based on the filename that has unicode | >> chars in it | >> | >> UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc | in position | >> 56: ordinal not in range(128) | I am trying to set the title based on the filename. The file | is in a

Re: Looking For mp3 ID Tag Module

2006-08-17 Thread Tim Daneliuk
Iñigo Serna wrote: > On 8/18/06, Tim Daneliuk <[EMAIL PROTECTED]> wrote: >> > try mutagen. >> http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen >> >> This module is more-or-less exactly what I needed. However, I am running >> into problems when the filenames or ID tags have unicode cha

Re: Looking For mp3 ID Tag Module

2006-08-17 Thread Iñigo Serna
On 8/18/06, Tim Daneliuk <[EMAIL PROTECTED]> wrote: > > try mutagen. http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen > > This module is more-or-less exactly what I needed. However, I am running > into problems when the filenames or ID tags have unicode characters in them. > > Typicall

Re: Looking For mp3 ID Tag Module

2006-08-17 Thread Tim Daneliuk
Iñigo Serna wrote: > Hi Tim, > > try mutagen. http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen > > Regards, > Iñigo Many thanks - this looks promising... Tim Daneliuk [EMAIL PROTECTED] PGP Key: h

Re: Looking For mp3 ID Tag Module

2006-08-17 Thread Iñigo Serna
module that would > permit me to write mp3 ID tags conformant to the latest spects. I am > currently calling 'mp3info' from my Python script, but that program is limited > to the older ID tags that are severely limited in length and thus truncate > the description string

Looking For mp3 ID Tag Module

2006-08-17 Thread Tim Daneliuk
I have DAGS and generally nosed around the net but cannot quite find what I need. I am looking for a platform-independent Python module that would permit me to write mp3 ID tags conformant to the latest spects. I am currently calling 'mp3info' from my Python script, but that program

Re: Size of hard drive and Mp3 tags functions

2006-07-09 Thread John Hicken
drive (or other drive, in > > this case the mp3 player itself), and/or the space remaining. > > Presuming the device shows up as a disk device in Windows... From > the win32api (ActiveState) help file: > > win32file.GetDiskFreeSpaceEx > long, long, long = GetDiskFre

Size of hard drive and Mp3 tags functions

2006-07-09 Thread John Hicken
I'm creating a Python program to pick a random set of mp3s, to copy to my mp3 player, so I can regularly get a new set to listen to. Anyway, there are two sorts of functions that could be useful. 1) A function that gives the size of a hard drive (or other drive, in this case the mp3 player i

Re: mp3 wav editing in python

2005-11-14 Thread Daniel Schüle
yb wrote: > Hi, > > Is there a python based tool to cut mp3 and wav file at a start and end > time? I'm looking for a python script that can output a new wav or mp3 > file based on star and endpoint. > > Thank you > there is a wave module >>> impor

mp3 wav editing in python

2005-11-14 Thread yb
Hi, Is there a python based tool to cut mp3 and wav file at a start and end time? I'm looking for a python script that can output a new wav or mp3 file based on star and endpoint. Thank you -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there any module to play mp3 or wav format files?

2005-08-27 Thread Lucas Raab
el chupacabra wrote: > Is there any module to play mp3 or wav format files? > > any sample code available somewhere? > > thanks, > el chupacabra > > > --= Posted using GrabIt = > --= Binary Usenet downloading made easy =-

Is there any module to play mp3 or wav format files?

2005-08-26 Thread el chupacabra
Is there any module to play mp3 or wav format files? any sample code available somewhere? thanks, el chupacabra --= Posted using GrabIt = --= Binary Usenet downloading made easy =- -= Get GrabIt for free from http://www.shemes.com/ =- -- http

Re: VBR mp3 length

2005-07-06 Thread Lucas Raab
No One wrote: > Hello all, > If this isn't the correct newsgroup, please redirect me. > > I'm trying to extract the song length from variable bit rate mp3's. > Does anyone know of a library or bit of code that will do this? I've > tried pymad, but it seems

VBR mp3 length

2005-07-05 Thread No One
Hello all, If this isn't the correct newsgroup, please redirect me. I'm trying to extract the song length from variable bit rate mp3's. Does anyone know of a library or bit of code that will do this? I've tried pymad, but it seems to grab the bitrate of the first frame and th

Re: MP3 - VBR - Frame length in time

2004-12-12 Thread Erik Heneryd
able to find is the timelength-constants for frames for the different mp3 versions, bitrates and layers. Can anybody help me? From http://www.oreilly.com/catalog/mp3/chapter/ch02.html#71109 "In addition, the number of samples stored in an MP3 frame is constant, at 1,152 samples per frame.&q

Re: MP3 - VBR - Frame length in time

2004-12-12 Thread Ivo Woltring
h the whole file. In that > > order I don't mind evaluating each frame. The thing I don't seem to be > > able > > to find is the timelength-constants for frames for the different mp3 > > versions, bitrates and layers. Can anybody help me? > > From http://www.or

Re: MP3 - VBR - Frame length in time

2004-12-11 Thread Florian Schulze
length-constants for frames for the different mp3 versions, bitrates and layers. Can anybody help me? From http://www.oreilly.com/catalog/mp3/chapter/ch02.html#71109 "In addition, the number of samples stored in an MP3 frame is constant, at 1,152 samples per frame." So you only need the

Re: MP3 - VBR - Frame length in time

2004-12-11 Thread Ivo Woltring
n't mind evaluating each frame. The thing I don't seem to be able to find is the timelength-constants for frames for the different mp3 versions, bitrates and layers. Can anybody help me? Thnaks, Ivo -- http://mail.python.org/mailman/listinfo/python-list

Re: MP3 - VBR - Frame length in time

2004-12-08 Thread JanC
Dmitry Borisov schreef: > It has something to deal with the VBR tags( XING header ). *If* there is a VBR tag (it's a custom extension) and *if* that VBR tag contains a correct value. -- JanC "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural Principles of the Inte

Re: MP3 - VBR - Frame length in time

2004-12-08 Thread Dmitry Borisov
"Ivo Woltring" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dear Pythoneers, > > I have this problem with the time calculations of an VBR (variable bit rate) > encoded MP3. > I want to make a daisy writer for blind people. To do this I have to kn

Re: MP3 - VBR - Frame length in time

2004-12-08 Thread Lonnie Princehouse
ke sox for Windows, but there must be something analogous. This takes a few seconds to run on a P4/2.8, depending of course on the input mp3. --- import os # return length of audio file, in seconds def audio_file_duration(filename): if not os.path.exists(filename): raise Exception

MP3 - VBR - Frame length in time

2004-12-08 Thread Ivo Woltring
Dear Pythoneers, I have this problem with the time calculations of an VBR (variable bit rate) encoded MP3. I want to make a daisy writer for blind people. To do this I have to know exactly what the length in time of an mp3 is. With CBR encoded files I have no real problems (at least with version