You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHubβs verified signature.
β¨ 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
Download DeepDenoiser-Arm64-v8.apk from the release assets.