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 2026Releases
latest 10-
0.1.123 Jun 2026Release notes
Open source →- Add
generateToneSoundData(String morseCode)to generate sine wave + silence sample data based on Morse code, returningFloat64Listfor custom audio processing. - Document the new API in
README.mdandREADME_CN.md.
- Add
-
0.1.022 Jun 2026Release notes
Open source →- upgrade flutter version to 3.44.2, use Swift Package Manager to instead Pod.
-
0.0.827 Mar 2026Release notes
Open source →- Fix Android plugin Gradle Flutter classpath fallback so standalone
android/builds work without breaking host app integration.
- Fix Android plugin Gradle Flutter classpath fallback so standalone
-
0.0.727 Mar 2026Release notes
Open source →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
Release notes
Open source →- Fix
AudioTone.sampleRatestate 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
AVAudioEngineandAVAudioSessionlifecycles, and scheduling tap loop buffers on demand. - Sync README, README_CN, and iOS podspec metadata with the current API and package information.
- Fix
AudioFrequencyenum comments forfrequency1000andfrequency1200. - 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.
-
0.0.609 Jan 2026Release notes
Open source →- Add
lightFlashingMagnificationFactorfor light flashing control. - Add
onDonecallback support for Morse code playback completion.
- Add
-
0.0.509 Jan 2026 -
0.0.408 Jan 2026 -
0.0.319 Oct 2025Release notes
Open source →- Fix Android audio playback issues in specific scenarios.
- Enhance tap-to-play functionality and user experience.
- Improve audio playback reliability on Android devices.
-
0.0.219 Oct 2025Release notes
Open source →- Add
getMorseCodePlayDurationfor calculating Morse code playback duration. - Fix iOS platform implementation errors.
- Improve audio playback performance and stability.
- Add
-
0.0.118 Oct 2025Release notes
Open source →- 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.yamldescription. - Add complete English README documentation.
- Rename the original Chinese README to
README_CN.md.