Skip to content

Releases: eshaz/codec-parser

2.0.0

22 Nov 01:55
3f9c7eb
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.0...2.0.0

Breaking Changes

  • Remove deprecated iterator() method. Use parseChunk() instead.
  • Rename channel descriptions to be consistent across codecs

Features

  • Significant speed ups for raw FLAC parsing, crc calculations
    • Tests went from 23 seconds to 15 seconds to complete
  • Minor speed ups in other bit operations and header cache
  • Decrease minified size by refactoring and generating string constants and tables
  • Add Opus packet information to header and codec update
  • Add Vorbis channel mapping information to header
  • Keep Ogg page information for skeleton packets

Fixes

  • Vorbis framing bit check during header parsing had a typo
  • Vorbis bitrate wasn't being set

1.5.0

10 Nov 03:03
0902146
Compare
Choose a tag to compare

What's Changed

  • Add method to flush any buffered data by @eshaz in #19

Full Changelog: 1.4.1...1.5.0

Features

  • Add flush() method that allows access to any buffered data. This is meant to be used when you have reached the end of a file and want to parse the remaining data.
  • Add parseAll() method that reads and parses an entire audio file
  • Add parseChunk() method that replaces iterator()
    • iterator() is deprecated and will be removed in a future major version
  • Small speedup for FLAC parsing

1.4.1

07 Nov 04:01
0fdd96b
Compare
Choose a tag to compare

What's Changed

  • Fix FLAC / Ogg Continue Page by @eshaz in #18

Full Changelog: 1.4.0...1.4.1

Fixes

  • Ogg continued page logic was broken due to a typo
  • Fix FLAC UTF8 block number / frame number decoding

1.4.0

07 Nov 04:00
14d3a7c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.0...1.4.0

Features

  • Add bitrate to all codecs
  • Add updateTimestamp to onCodecUpdate callback

1.3.0

17 Oct 03:15
c44e51f
Compare
Choose a tag to compare

What's Changed

  • Error Messages / ID3v2 header by @eshaz in #15

Full Changelog: 1.2.0...1.3.0

Features

  • Add options.enableLogging to turn on debug logs
  • Log descriptive error messages when encountering an issue with incoming data. Resolves #14
    • Log warning when Ogg page gaps are detected
    • Log warning when invalid Ogg codec information detected
    • Log warning when sync is lost

Fixes

  • Parse ID3v2 header and discard data preventing unneeded re-syncing (tag parsing may be implemented at a later time)
  • Allow for large 512KB FLAC frames.

1.2.0

16 Oct 18:58
fb0c20a
Compare
Choose a tag to compare

What's Changed

Features

  • Adds support for parsing raw FLAC files resolving #9
  • Adds crc16 to FLACHeader representing the frame footer crc16 value
  • Speeds up all CRC calculations
  • Speeds up FLAC header parsing

Full Changelog: 1.1.2...1.2.0

1.1.2: Merge pull request #12 from eshaz/generator-refactor

09 Oct 18:01
541334a
Compare
Choose a tag to compare

1.1.1: Merge pull request #7 from eshaz/ogg-syncing

05 Oct 03:00
d416bf6
Compare
Choose a tag to compare

1.1.0

05 Oct 03:00
Compare
Choose a tag to compare
chore: bump patch release

1.0.1: refactor: use consistent property names where possible for OggPage an…

20 Jul 03:53
Compare
Choose a tag to compare