Native C++ Audio Engineering & DSP Pipeline
Low-latency C++17 algorithms, Android NDK 27, Oboe audio sink, STFT spectral analysis, and Mel spectrograms powering real-time lyric highlighting.
Tag: v1.10.0Branch: mainGo 1.22 + WebSocketsC++17 NDK 27CC0-1.0
Native C++ Audio EngineeringIMPLEMENTED
Where Kotlin meets native audio.
For computationally heavy audio analysis tasks such as beat tracking, spectral extraction, and tempo discovery, Shiddat bypasses JVM garbage collection overheads by compiling optimized C++ routines directly through CMake and Android NDK.
6-Stage Native C++ Audio Analysis Pipeline
Compiled via Android NDK 27.2.12479018 • CMake 3.22.1
native/analyzer/
Stage 3: Spectral AnalysisSource: native/analyzer/audio_analysis.cpp
Short-Time Fourier Transform (STFT) with Hanning windowing generating frequency bin energy tensors.
Zero Garbage CollectionFixed-size scratch buffers allocated during song load
SIMD & VectorizationTargeting ARM NEON registers on arm64-v8a devices
JNI Bridge BoundaryStrict JNI boundary passing direct NIO ByteBuffers