📦 Changelog v1.0.4 (English)
The new binary embeds the RichTap SDK to make short‑vibration work properly on Xiaomi devices, which results in a larger app size 📈
v1.0.4: RichTap HD haptics, Oboe PCM fix, i18n, quiet period, daemon
✨ New Features
- RichTap HD haptic engine integration (priority adaptation for Xiaomi devices)
- MiHaptic reflection API exploration (HyperOS miui.os.DynamicEffect)
- Scheduled quiet‑period toggle (QuietPeriodScreen) ⏱️
- Daemon background service (rhythmic_daemon) 🔄
- App internationalization (EN‑CN bilingual, ~170+ string resources) 🌐
- In‑app language switcher (LocaleHelper) 🗣️
⚡ Improvements
- Fixed Oboe PCM‑to‑FFT all‑zero data bug (drain thread dispatches valid frames only)
- Improved Oboe pipeline stability (32K ring buffer + overflow detection + pre‑allocated arrays) 🛡️
- Adaptive silence detection (dynamic peakEnergy threshold, SILENCE_RATIO=0.02) 📊
- Removed BeatAnalyzer silence gate (fields kept for compatibility, no longer used)
- VibratorDriver three‑level fallback chain (RichTap → MiHaptic → standard VibrationEffect) 🔁
- Vibration hardware auto‑calibration (calibrate() probes minimum achievable interval) 📐
- Automatic config value clamping for out‑of‑range inputs 🔧
📱 Device Compatibility
- Exclusive RichTap / MiHaptic adaptation for Xiaomi devices (not fully tested)
⚠️ - Validated on OPPO Reno8 Pro / Nothing Phone (3) ✅
🐛 Bug Fixes
- Fixed MiHapticHelper getOrCreatePlayer() bug (inconsistent effect instance when useEffectArgConstructor=true)
- Fixed allow‑/block‑list scope filtering bug
- Fixed ZIP packaging issue for config import / export 📦
Full Changelog: LyonHyrik/RhythmicTouch@v1.0.3...v1.0.4
📦 v1.0.4 更新日志(中文)
由于新的包嵌入了RichTap SDK以使短震动在小米设备上正常进行,所以包的体积变大了📈
v1.0.4:RichTap HD 触觉、Oboe PCM 修复、国际化、静默时段、后台守护进程
✨ 新增功能
- RichTap HD 触觉引擎集成(小米设备优先适配)
- MiHaptic 反射 API 探索(HyperOS miui.os.DynamicEffect)
- 静默时段定时关功能(QuietPeriodScreen)⏱️
- Daemon 后台进程(rhythmic_daemon)🔄
- 应用国际化(中英文双语,~170+ 字符串资源)🌐
- 语言设置切换(LocaleHelper)🗣️
⚡ 优化改进
- Oboe PCM → FFT 数据全零 bug 修复(drain thread 只发送有效帧)
- Oboe 数据链路稳定性(ring buffer 32K + overflow 检测 + 预分配数组)🛡️
- 自适应静音检测(peakEnergy 动态阈值,SILENCE_RATIO=0.02)📊
- BeatAnalyzer 静音门控移除(保留字段但不再使用)
- VibratorDriver 三级降级链(RichTap → MiHaptic → 标准 VibrationEffect)🔁
- 振动硬件自动校准(calibrate() 探测最小可实现间隔)📐
- 配置值自动修正(超出范围自动 clamp)🔧
📱 设备适配
- 小米设备专属 RichTap/MiHaptic 适配(未充分测试)
⚠️ - OPPO Reno8 Pro / Nothing Phone (3) 已验证 ✅
🐛 Bug 修复
- MiHapticHelper getOrCreatePlayer() bug(useEffectArgConstructor=true 时 effect 实例不一致)
- 白/黑名单作用域过滤 bug
- 配置导入导出 ZIP 打包问题 📦