NCKit v1.2.0
Released: June 2026
For new iOS projects, use v1.2.1 (ios-arm64_x86_64-simulator, Intel Mac support).
What's newโ
- Minimum deployment target: iOS 15.0 โ integrate NCKit into apps that support iOS 15+
- Sample app (
NCKit_Demo) updated to v1.2.0 withIPHONEOS_DEPLOYMENT_TARGET = 15.0 - Recommended release for Swift Package Manager and CocoaPods
- Use Exact Version
1.2.0for all new iOS integrations
Requirementsโ
| Setting | Value |
|---|---|
| iOS deployment target | 15.0+ |
| Xcode | 15.0+ |
| Swift | 5.9+ |
Install this versionโ
SPM (Xcode): File โ Add Package Dependencies โ https://github.com/5Exceptions-Mobile-Team/NCKit.git โ Exact Version 1.2.0
CocoaPods:
platform :ios, '15.0'
pod 'NCKit',
:git => 'https://github.com/5Exceptions-Mobile-Team/NCKit.git',
:tag => '1.2.0'
Package.swift:
platforms: [.iOS(.v15)],
dependencies: [
.package(
url: "https://github.com/5Exceptions-Mobile-Team/NCKit.git",
exact: "1.2.0"
)
]
After upgrading from 1.1.1 or older:
- Set SPM to Exact Version
1.2.0 - Lower your app target to iOS 15.0 if you need iOS 15 support (optional)
- File โ Packages โ Reset Package Caches
- Product โ Clean Build Folder
- Rebuild
Sample appโ
NCKit_Demo โ NCKitSample.xcodeproj at 1.2.0 with deployment target iOS 15.0.
NCKit Android v1.2.0
Released: November 2026
Recommended Maven release for Android โ com.5exceptions:nckit:1.2.0.
Repository: 5Exceptions-Mobile-Team/NCKit_Android
Video-track denoise, Gold defaults, and parallel file processing. Toolchain requirements are unchanged from 1.1.2.
What's newโ
Videoโ
NCKitVideoProcessorโ adds a cleaned audio track to an MP4. The picture is not copiedprocessVideoโ decode a picked video, denoise, and write the track in place. The new track is AAC-LC, 48 kHz, mono, 128 kbps. The temporary PCM is deleted. Returns the duration in millisecondsdecodeToPcmโ write raw little-endian 48 kHz mono PCM16 with no WAV header. Returns the duration in millisecondsaddDenoisedTrackโ denoise that PCM into the video.rewriteAsMono48kdefaults to false for a camera file already recorded as 48 kHz mono AAC. Pass true for a gallery file whose audio rate or channel count differsmarkAudioAlternatesโ after a live mux writes the cleaned track first, put every audio track in one alternate group and leave the first enabled- Calls are blocking. Run them off the main thread.
onProgressis0.0to1.0and may throwCancellationExceptionto stop - The 30 ms model delay is removed inside this path
Goldโ
NCKitProcessordefaultpostFilterBetais 0.02. Pass0to turn the post-filter offNCKitStreamProcessorgoldPolishdefaults to true: lowpass 9.5 kHz, highpass 90 Hz, compressor โ20 dB at 2:1NCKitFileProcessor.processFileuses Gold polish by default- Leave
NCKitAudioNormalizerunused when Gold polish is already on
File and raw PCMโ
recommendedThreads()returns 1โ4 from the device's fast cores.DEFAULT_THREADSis 2processFile(input, output, processor, threads, polish)processPcmdenoises 48 kHz mono float, or interleaved 16-bit PCM, to a WAV or to anNCKitOrderedSink- Finish with the sink samples before
onSamplesreturns. The array is reused - Files up to about ten minutes can run on more than one engine. Longer files stream, so they are not held twice in memory
- The file path drops the 30 ms model delay (
frameLength * 3)
Live microphoneโ
NCKitStreamProcessordoes not drop the 30 ms delay. Drop the firstframeLength * 3samples in the app, and write that much silence afterflush()when the saved length must match the microphone- The sample uses
VOICE_RECOGNITION, thenMIC
Modelโ
NCKitModelLocatortriesNCKit_model.dfn3, thenNCKit_model.tar.gz, thenDeepFilterNet3_onnx.dfn3- The first match is copied to
cache/nckit_model.tar.gz
Requirementsโ
| Setting | Value |
|---|---|
| Android | API 26 (Android 8.0 Oreo) |
| compileSdk | 36 |
| Kotlin | 2.4.10 (AGP 9 built-in Kotlin) |
| Android Gradle Plugin | 9.3.1 |
| Gradle Wrapper | 9.6.1 |
| JDK | 17+ (including JVM 25) |
| Library bytecode | Java 17 |
| Architectures | arm64-v8a, armeabi-v7a, x86_64 |
Install this versionโ
dependencies {
implementation("com.5exceptions:nckit:1.2.0")
}
After upgrading from 1.1.2:
- Update the dependency to
1.2.0inapp/build.gradle.kts - File โ Sync Project with Gradle Files
- Clean and rebuild the app
- Replace a
processFileplus app-side remux with NCKitVideoProcessor when the result should stay an MP4
See Gradle (Android) and Requirements.
Sample appโ
Nckit_Android_Sample_App โ tabs Audio, Video, Camera, and How to Use. The app module depends on com.5exceptions:nckit:1.2.0 with implementation(libs.nckit).
- Audio:
NCKitStreamProcessor(processor, goldPolish = true)andVOICE_RECOGNITION - Picked video:
decodeToPcm, thenaddDenoisedTrack(rewriteAsMono48k = true), so the comparison waveform can keep the PCM - Camera, after stop:
addDenoisedTrack - Camera, while recording:
NCKitStreamProcessor, thenmarkAudioAlternates
Distributionโ
- Maven โ
com.5exceptions:nckit:1.2.0 - Sample app โ Nckit_Android_Sample_App