Skip to content

0.5.0

Latest
Compare
Choose a tag to compare
@Zuzu-Typ Zuzu-Typ released this 14 Mar 11:08

Several changes for robustness:

  • can now have warnings in list for later processing, especially for the cases fixed in this release
  • can handle incorrect filesize in metadata
  • aligns read with block_align size
  • can handle misaligned chunks
  • can handle misaligned LIST form type ID due to null-terminated "LIST" tag
  • no longer crashes in prepare_read when trying to raise an error because path is undefined
  • added reporting of warnings to example.py
  • Added more documentation

Added a little bit of doc to the functions.
Also fixed a missing comma in line 114 (now line 376)

  • test can now also check for messages when reading 1 sample (less than blockalign)added a pytest file, which tests the example wav-file. Install pytest beforehand.

  • Improved example.py to show more metadata. Added test_pywave.py for pytest, this tests the metadata of the sample file "file.wav".

  • small error fixed in assert of blockalign in pytest

  • Added a note on PyTest in the README, as well as a requirements.txt file for easy installation of pytest.

  • Added all the stuff I had, which includes: adding fourCC codes for a lot of chunks, parsing disp, bext, cart and peak chunks, reading all other chunks as bytestring in the metadata, adding support for metadata on speakers and channel layout, small bugfixes for invalid filename incorrect del, a lot more support for WAVE_FORMAT_EXTENSIBLE metadata, etc.

Updated the pytest file as well, but is not yet complete in coverage.

  • Small changes
  • Added format_name property
  • Removed old readme files.