âš¡ A low-latency native audio capture module for the FastJava ecosystem. High-fidelity input via WASAPI and DirectSound.
FastAudioCapture provides real-time access to system and microphone audio with minimal latency. Built for vision/audio synchronization and high-performance processing.
- 🚀? Low Latency: Native WASAPI integration for minimal delay.
- âš¡ High Fidelity: Support for 44.1kHz, 48kHz, and high-bitrate capture.
- 🚀 Zero-Copy: Direct access to audio buffers via DirectByteBuffer.
- 🚀? Ecosystem Ready: Designed for use with FastAudioPlayer and FastSTT.
# Clone the repository
git clone https://github.com/andrestubbe/FastAudioCapture.git
# Build the project
cd FastAudioCapture
mvn clean installAdd the JitPack repository and the dependencies to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastaudiocapture</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastcore</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.andrestubbe:fastaudiocapture:0.1.0'
implementation 'com.github.andrestubbe:fastcore:0.1.0'
}Download the latest JARs directly to add them to your classpath:
- 🚀 * *fastaudiocapture-0.1.0.jar ** (The Core Library)
- 🚀 fastcore-0.1.0.jar ( The Mandatory Native Loader)
- COMPILE.md: Full compilation guide (MSVC C++17 build chain + JNI Setup).
- REFERENCE.md: Full API descriptions, border configurations, and codepoint index.
- PHILOSOPHY.md: The engineering rationale for zero-allocation performance.
- ROADMAP.md: Future milestones and planned features.
| Platform | Status |
|---|---|
| Windows 10/11 | ? Fully Supported |
| Linux | 🚀 Planned |
| macOS | 🚀 Planned |
MIT License See LICENSE file for details.
- FastCore Native Library Loader for Java
- FastAudioPlayer Native Windows WASAPI Audio Playback for Java
- FastTTS High-Performance Native Windows TTS API for Java
- FastSTT Ultra-Fast Native Speech-to-Text for Java
- FastWakeWord
Part of the FastJava Ecosystem Making the JVM faster. Small package. Maximum speed. Zero bloat. 🚀🚀
