This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | loki_dePlume |
|---|---|
| Recipients | loki_dePlume |
| Date | 2008年03月09日.15:06:44 |
| SpamBayes Score | 0.031143732 |
| Marked as misclassified | No |
| Message-id | <1205075207.56.0.203597492215.issue2259@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It appears that aifc, as well as wave, does not support audio files other
than 44100 hz 16-bit format.
--
>>> f = aifc.open('Track 06')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/aifc.py",
line 928, in open
return Aifc_read(f)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/aifc.py",
line 341, in __init__
self.initfp(f)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/aifc.py",
line 321, in initfp
chunk.skip()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/chunk.py",
line 158, in skip
self.file.seek(n, 1)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/chunk.py",
line 111, in seek
raise RuntimeError
RuntimeError
--
Could it be that the 'Chunk' class in chunk module may be returning improper
values...? In any case, aifc refuses to open a 24bit 44100hz audio file.
Does anyone have insights on this? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月09日 15:06:51 | loki_dePlume | set | spambayes_score: 0.0311437 -> 0.031143732 recipients: + loki_dePlume |
| 2008年03月09日 15:06:47 | loki_dePlume | set | spambayes_score: 0.0311437 -> 0.0311437 messageid: <1205075207.56.0.203597492215.issue2259@psf.upfronthosting.co.za> |
| 2008年03月09日 15:06:45 | loki_dePlume | link | issue2259 messages |
| 2008年03月09日 15:06:45 | loki_dePlume | create | |