Skip to content

DeepDenoiser V1.4.4 πŸš€

Choose a tag to compare

@sayampy sayampy released this 19 Aug 09:19
· 24 commits to master since this release
ce956b2

✨ New Features

  • βœ‚οΈ Silence Trimming [BETA]: Automatically removes silent pauses from the denoised audio. Shortening the audio length.
    • 🎚️ Auto / Manual Threshold: Use automatic silence detection or manually set a threshold from βˆ’60 to βˆ’20 dBFS.
    • ⏱️ Minimum Pause Length: In manual mode, remove only pauses longer than the selected duration. The default is 500 ms to preserve natural speech pauses and speech rhythm.
    • πŸŽ›οΈ Shared Trim Settings: Silence trimming is available on both file denoising and live recording screens. The option is not available for video files.
  • 🧠 Smart Re-denoising: Reuse cached decoded or denoised PCM data when processing the same file. Changing trim settings only re-wraps the existing denoised audio instead of running the ONNX model again.

πŸ—οΈ Platform & Architecture

  • πŸ“± Expo SDK 57: Upgraded the project to Expo SDK 57 for a newer Android and React Native foundation.
  • 🎨 Jetpack Compose: Added Jetpack Compose elements (maybe will do a UI redesign in future updates).
  • 🧹 Deprecated API/library Cleanup: Removed deprecated libraries and replaced them with current supported alternatives.

πŸ› Bug Fixes

  • 🧠 Fixed UI-thread OutOfMemoryError: The denoiser ONNX session is now a process-lifetime singleton. ONNX state tensors are pre-allocated and reused instead of creating 12 allocations per frame. Android largeHeap support was also enabled.
  • πŸ’Ύ Improved Recording Memory Use: Live PCM data now uses direct Uint8Array writes instead of base64 strings.
  • πŸ“‚ Fixed Failed to open data source … ENOENT: Picked and shared files are now copied to persistent storage. Cleanup no longer removes in-flight DocumentPicker files.
  • 🎬 Fixed MP4 Merge Failures: Unsupported video codecs are detected and automatically transcoded to H.264/AAC before MP4 muxing.
  • πŸ” Fixed Re-denoising Cache Resets: Imports now keep stable file names and reuse existing files based on file size.

⚑ Performance

  • πŸš€ Faster Finalization: Silence analysis was reduced from four PCM passes to one in-memory pass.
  • πŸ’Ύ Faster Live Saves: Added direct byte writes, tensor reuse, XNNPACK, intraOpNumThreads=4, and stable queue draining.
  • πŸ“ˆ Larger Recording Queue: Increased the queue from 30 β†’ 90 chunks, with processing resumed at 30 chunks to prevent temporary slowdowns from falling back to noisy raw PCM.

⚠️ Critical Notes

  • Only for voice: music may be distorted or removed.
  • Works best with low to medium noise levels. Heavily distorted audio may not be recoverable.
  • Silence Trimming is currently BETA.
  • Repeat denoising when necessary.
  • Submit an Issue if you encounter a bug.

πŸ“₯ Getting Started

  1. Download DeepDenoiser-Arm64-v8.apk from the release assets.
  2. Enable Install from Unknown Sources on Android.
  3. Install and start denoising.