Skip to content

v0.4.0

Choose a tag to compare

@sjoenk sjoenk released this 09 Feb 11:29
· 115 commits to main since this release
7b99bd9

Web Support

audio_decoder now runs in the browser! The web platform uses the Web Audio API to decode and process audio entirely client-side.

What's supported on web

  • convertToWavBytes — decode any browser-supported format and encode to WAV
  • getAudioInfoBytes — extract duration, sample rate, channels, and bit rate
  • trimAudioBytes — trim audio to a time range (WAV output)
  • getWaveformBytes — extract normalized amplitude data for visualizations

Web limitations

  • File-based methods are not available — use the bytes-based API instead
  • M4A encoding is not supported (browsers lack an AAC encoding API)
  • Trim output is always WAV

Other improvements

  • Added API documentation comments to all public classes and members
  • Plugin now supports all 6 Flutter platforms: Android, iOS, macOS, Windows, Linux, and Web

Full Changelog: v0.3.0...v0.4.0