En Sat, 03 Feb 2007 17:00:39 -0300, Silver Rock <[EMAIL PROTECTED]>  
escribió:

> supose i´ve opened a sound with the wave module:
>
>>>> import wave
>>>> sound=wave.open(filename,'rb')
>
> now this is strange:
>
>>>> sound.getnframes() != len(sound.readframes(sound.getnframes())
> True
>
>  Why so?

readframes returns the bytes read, as a string, not a list of frames.  
(It's not like "readlines")

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to