Commit Graph

73 Commits

Author SHA1 Message Date
Guido van Rossum e174c1500f audiodev.py: Mac port.
Audio_mac.py: Mac specific class for audiodev.py.
aifc.py: open files for reading/writing in binary mode ('rb', 'wb').
1994-09-16 10:55:53 +00:00
Sjoerd Mullender 1f05754640 Added support for ADPCM compression. 1994-09-06 16:17:51 +00:00
Guido van Rossum b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum 3db6ebcc3f Use __builtin__ instead of builtin 1994-01-28 09:59:35 +00:00
Sjoerd Mullender ffe9490d79 aifc.py: framerate should be an int.
sunau.py: should convert number of frames correctly to number of bytes
	when reading.
1994-01-28 09:56:05 +00:00
Sjoerd Mullender e03bf9c497 Removed now useless convert functions. 1994-01-06 17:00:04 +00:00
Sjoerd Mullender 49c2df16f5 Removed silly dependence on AL module. 1994-01-06 16:35:34 +00:00
Sjoerd Mullender 2a45141741 aifc.py, sunau.py: Adapted comments; added access statements.
SUNAUDIODEV.py: Added some constants for Solaris.
1993-12-20 09:36:01 +00:00
Guido van Rossum 6ed9df2641 * aifc.py (Aifc_write): fix bogus reference to filename 1993-12-17 16:43:43 +00:00
Guido van Rossum 7bc817d5ba * Mass change: get rid of all init() methods, in favor of __init__()
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)
1993-12-17 15:25:27 +00:00
Sjoerd Mullender feaa7d296f Don't close the file. 1993-12-16 13:56:34 +00:00
Sjoerd Mullender 43bf0bc857 aifc.py: added missing tell() method in AIFC write class;
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
1993-12-13 11:42:39 +00:00
Sjoerd Mullender 4150ede53c Fixed dealing with faulty COMM chunks. 1993-08-26 14:12:07 +00:00
Guido van Rossum 9b3bc71598 * aifc.py: don't die on invalid MARK chunk
* 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!
1993-06-20 21:02:22 +00:00
Guido van Rossum 52fc1f607e * calendar.py: minor cleanups
* ftplib.py: support __init__ with optional host, port args
* aifc.py: ensure header is written on close even when no data is written
1993-06-17 12:38:10 +00:00
Guido van Rossum 17ed1ae163 * toaiff.py: import whatsound instead of sndhdr
* 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()
1993-06-01 13:21:04 +00:00
Guido van Rossum d316607732 * ftplib.py: added abort() command (sends oob data).
* 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
1993-05-24 14:16:22 +00:00
Sjoerd Mullender 4ab6ff80ff AWARE.py: New file with definitions for Aware Inc.'s compression
algorithms in cl module.
aifc.py: fixed a small bug.
1993-02-05 13:43:44 +00:00
Sjoerd Mullender 3a997279d5 CL.py, clmodule.c: Adapted to new CL library. Lots of new methods.
aifc.py: Several small improvements.  Use new methods from CL module.
1993-02-04 16:43:28 +00:00
Sjoerd Mullender 8d733a00f0 added kludge for buggy soundfiler from SGI; when reading 0 frames,
just set file pointer correctly instead of returning the complete
file.
1993-01-29 12:01:00 +00:00
Sjoerd Mullender 93f0740073 Fixed a bug where the library inadvertently skipped over the sound
data.
Pass an extra parameter to the compression library.
1993-01-26 09:24:37 +00:00
Sjoerd Mullender 7564a641e5 Found and fixed a few bugs in the handling of audio files with MARKs. 1993-01-22 14:26:28 +00:00
Sjoerd Mullender eeabe7eb35 New module aifc to read and write AIFF-C and AIFF files. See
(extensive) comments in the file for usage.
1993-01-22 12:53:11 +00:00