← Back to Docs
5-Minute Quick Start
Quick Start
This guide gets you from download to running your first sound detection in under 5 minutes.
Step 1: Download the SDK
Download the latest SDK package for your platform:
• [soundetect-sdk-v1.0.0-aarch64.tar.gz](/sdk/soundetect-sdk-v1.0.0-aarch64.tar.gz) — ARM Linux
• [soundetect-sdk-v1.0.0-x86_64.tar.gz](/sdk/soundetect-sdk-v1.0.0-x86_64.tar.gz) — x86_64 Linux
Step 2: Extract and Build
tar xzf soundetect-sdk-v1.0.0-x86_64.tar.gz
cd soundetect-sdk-v1.0.0-x86_64
makeStep 3: Run the Demo
./simple_demo test_audio.wavStep 4: Integrate Into Your Code
#include "soundetect.h"
int main() {
soundetect_config_t config = {
.types = {SOUNDETECT_CRY, SOUNDETECT_SNORE},
.type_count = 2,
.model_path = "./models/",
.callback = on_sound_detected,
.engine = "pure_c",
};
soundetect_init(&config);
soundetect_start();
// Your application loop here...
soundetect_stop();
soundetect_deinit();
return 0;
}That's it! See the API Reference for detailed documentation.