PackageTrack
Sign in Get early access

audio_tone

A professional Flutter plugin for audio tone generation and Morse code playback with comprehensive audio control features, frequency modulation, and precise timing control.

0.1.1 LunaGao/audio_tone

What this package is like to depend on

Last release 2 months ago

23 Jun 2026

Ships on a steady schedule

a new release about every 3 months

Nearly every release is documented

notes for 10 of 10 stable releases

Nothing withdrawn

no release was ever pulled

10 months old

10 releases · first in 2025

10 releases in the last 12 months

see the full history below

Release timeline

10 releases · Oct 2025 to Jun 2026
2026
Release Pre-release

Releases

latest 10
  1. 0.1.1 23 Jun 2026
    Release notes
    • Add generateToneSoundData(String morseCode) to generate sine wave + silence sample data based on Morse code, returning Float64List for custom audio processing.
    • Document the new API in README.md and README_CN.md.
    Open source →
  2. 0.1.0 22 Jun 2026
    Release notes
    • upgrade flutter version to 3.44.2, use Swift Package Manager to instead Pod.
    Open source →
  3. 0.0.8 27 Mar 2026
    Release notes

    Hot Fix for android build

    Open source →
    Release notes
    • Fix Android plugin Gradle Flutter classpath fallback so standalone android/ builds work without breaking host app integration.
    Open source →
  4. 0.0.7 27 Mar 2026
    Release notes

    v0.0.7 聚焦于插件可用性、示例体验和底层播放性能优化,重点完善了 Android与 iOS 双端的播放热路径,降低了阻塞、重复分配和高频事件派发带来的额外开销。

    本次更新包括:

    • 重构 example demo,提供更完整的交互式示例
    • 优化 Android 播放性能
      • 复用 AudioTrack
      • 缓存生成的音频 buffer
      • 精简 playStream 事件热路径
      • 将停止路径改为非阻塞
    • 优化 iOS 播放性能
      • 去除 play() / stop() 中的阻塞等待
      • 缓存生成的 AVAudioPCMBuffer
      • 精简 playStream 主线程调度与日志开销
      • 复用 AVAudioEngine / AVAudioSession 生命周期
      • 将 tap 持续音循环缓冲改为按需排程
    • 修复和对齐若干测试、平台 mock 与文档内容
    • 升级项目 FVM Flutter 版本到 3.41.4

    验证情况:

    • fvm flutter analyze
    • fvm flutter test
    • android/./gradlew test
    • fvm flutter pub publish --dry-run
    Open source →
    Release notes
    • Fix AudioTone.sampleRate state initialization.
    • Rebuild the example app into an interactive demo for Morse playback, stream events, hold-to-play tone testing, and live parameter tuning.
    • Update example widget tests to match the current example app UI.
    • Align Android plugin unit tests with the current method-channel behavior.
    • Improve Android playback performance by reusing AudioTrack, caching generated audio buffers, trimming stream event overhead, and making the stop path non-blocking.
    • Improve iOS playback performance by removing blocking stop waits, caching generated audio buffers, trimming stream event overhead, reusing AVAudioEngine and AVAudioSession lifecycles, and scheduling tap loop buffers on demand.
    • Sync README, README_CN, and iOS podspec metadata with the current API and package information.
    • Fix AudioFrequency enum comments for frequency1000 and frequency1200.
    • Update Dart platform mocks to match the current platform interface.
    • Add Flutter Android classpath wiring so standalone Android Gradle tests can run from android/.
    • Upgrade the project FVM Flutter version to 3.41.4.
    Open source →
  5. 0.0.6 09 Jan 2026
    Release notes
    • Add lightFlashingMagnificationFactor for light flashing control.
    • Add onDone callback support for Morse code playback completion.
    Open source →
  6. 0.0.5 09 Jan 2026
    Release notes
    • Fix iOS playStream issue.
    Open source →
  7. 0.0.4 08 Jan 2026
    Release notes
    • Add playStream for streaming Morse code playback callbacks.
    Open source →
  8. 0.0.3 19 Oct 2025
    Release notes
    • Fix Android audio playback issues in specific scenarios.
    • Enhance tap-to-play functionality and user experience.
    • Improve audio playback reliability on Android devices.
    Open source →
  9. 0.0.2 19 Oct 2025
    Release notes
    • Add getMorseCodePlayDuration for calculating Morse code playback duration.
    • Fix iOS platform implementation errors.
    • Improve audio playback performance and stability.
    Open source →
  10. 0.0.1 18 Oct 2025
    Release notes
    • Initial release.
    • Support audio tone generation and Morse code playback.
    • Provide Flutter plugin implementations for both iOS and Android.
    • Comment out native debug print statements.
    • Improve the pubspec.yaml description.
    • Add complete English README documentation.
    • Rename the original Chinese README to README_CN.md.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive