summaryrefslogtreecommitdiffstats
path: root/Lib/aifc.py
Commit message (Collapse)AuthorAgeFilesLines
* [Sjoerd Mullender]Guido van Rossum1998-08-071-25/+24
| | | | Don't use CL module since all constants are now in cl.
* Small corrections to comments that were cloned from aifc; moreoverGuido van Rossum1998-04-231-1/+1
| | | | | | the description of setparams() was wrong. wave.py: Include the tag of an unknown format in the exception.
* Use newer struct, which handles unsigned long rightGuido van Rossum1997-01-111-3/+1
|
* Rewrote _{read,write}_{short,long} to use the newly revamped structGuido van Rossum1996-12-311-37/+44
| | | | | | module. (Small problem: struct.pack() won't deal with the Python long ints returned by struct.unpack() for the 'L' format. Worked around that for now.)
* Get rid of access statementGuido van Rossum1996-08-201-9/+9
|
* temporarily disabled the access statementsGuido van Rossum1995-08-101-4/+4
|
* Ignore empty markers.Sjoerd Mullender1994-10-031-1/+5
|
* audiodev.py: Mac port.Guido van Rossum1994-09-161-2/+2
| | | | | Audio_mac.py: Mac specific class for audiodev.py. aifc.py: open files for reading/writing in binary mode ('rb', 'wb').
* Added support for ADPCM compression.Sjoerd Mullender1994-09-061-6/+47
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-1/+4
|
* Use __builtin__ instead of builtinGuido van Rossum1994-01-281-3/+3
|
* aifc.py: framerate should be an int.Sjoerd Mullender1994-01-281-1/+1
| | | | | sunau.py: should convert number of frames correctly to number of bytes when reading.
* Removed now useless convert functions.Sjoerd Mullender1994-01-061-12/+0
|
* Removed silly dependence on AL module.Sjoerd Mullender1994-01-061-54/+31
|
* aifc.py, sunau.py: Adapted comments; added access statements.Sjoerd Mullender1993-12-201-8/+18
| | | | SUNAUDIODEV.py: Added some constants for Solaris.
* * aifc.py (Aifc_write): fix bogus reference to filenameGuido van Rossum1993-12-171-0/+3
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-22/+18
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* Don't close the file.Sjoerd Mullender1993-12-161-8/+7
|
* aifc.py: added missing tell() method in AIFC write class;Sjoerd Mullender1993-12-131-47/+98
| | | | | | | use audioop module as backup for cl module when reading or writing u-law compressed files. sunau.py: interface with the same methods as aifc for Sun and NeXT audio files
* Fixed dealing with faulty COMM chunks.Sjoerd Mullender1993-08-261-3/+3
|
* * aifc.py: don't die on invalid MARK chunkGuido van Rossum1993-06-201-5/+14
| | | | | | | * calendar.py: remove stuff now built in time; some cleanup and generalization in the calendar printing * cmd.py: use __init__. * tzparse.py: This module is no longer necessary -- use builtin time instead!
* * calendar.py: minor cleanupsGuido van Rossum1993-06-171-13/+18
| | | | | * ftplib.py: support __init__ with optional host, port args * aifc.py: ensure header is written on close even when no data is written
* * toaiff.py: import whatsound instead of sndhdrGuido van Rossum1993-06-011-0/+1
| | | | | | * sndhdr.py: renamed to whatsound.py; use new aifc module for AIFF/AIFC * ftplib.py: added close() (closes without sending QUIT command) * aifc.py: documented close()
* * ftplib.py: added abort() command (sends oob data).Guido van Rossum1993-05-241-3/+3
| | | | | | * Several modules: change "class C(): ..." to "class C: ...". * flp.py: support for frozen forms. * Added string.find() which is like index but returns -1 if not found
* AWARE.py: New file with definitions for Aware Inc.'s compressionSjoerd Mullender1993-02-051-4/+6
| | | | | algorithms in cl module. aifc.py: fixed a small bug.
* CL.py, clmodule.c: Adapted to new CL library. Lots of new methods.Sjoerd Mullender1993-02-041-17/+22
| | | | aifc.py: Several small improvements. Use new methods from CL module.
* added kludge for buggy soundfiler from SGI; when reading 0 frames,Sjoerd Mullender1993-01-291-1/+12
| | | | | just set file pointer correctly instead of returning the complete file.
* Fixed a bug where the library inadvertently skipped over the soundSjoerd Mullender1993-01-261-2/+4
| | | | | data. Pass an extra parameter to the compression library.
* Found and fixed a few bugs in the handling of audio files with MARKs.Sjoerd Mullender1993-01-221-12/+8
|
* New module aifc to read and write AIFF-C and AIFF files. SeeSjoerd Mullender1993-01-221-0/+912
(extensive) comments in the file for usage.