Smart Home Security Through Real-Time Audio Event Detection Systems Using Convolutional Neural Network (CNN)
Smart homes increasingly demand intelligent security solutions that go beyond visual surveillance, yet Audio Event Detection (AED) remains underutilized. This paper presents a real-time AED system leveraging a Convolutional Neural Network (CNN) optimized for low-resource hardware. We first introduce TUTRARE, a novel security-focused audio dataset incorporating silence removal, volume normalization, and ambient noise variations. Our methodology applies Melspectrogram feature extraction (64 bands, <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$64 \times 64$</tex> grid), data augmentation (noise addition, pitch shifts), and a compact CNN (two <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$3 \times 3$</tex> convolutional layers with <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$32 \rightarrow 64$</tex> filters, ReLU activations, max-pooling, and 30 % dropout). Training was conducted over 30 epochs using the Adam optimizer (learning rate <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$=0.001$</tex>) on a <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$70 / 20 / 10$</tex> train/validation/test split. We evaluate performance using accuracy, precision, recall, F1score, ROC-AUC, and PR-AUC. The proposed model achieved 96.3 % accuracy and AUC <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$>0.99$</tex>, demonstrating robust detection of critical events such as glass breaking, gunshots, and sirens. Real-time deployment on Windows 10 (x64 CPU, 8 GB RAM) with an omnidirectional microphone confirmed end-to-end latency below 200 ms. These results indicate that audiobased security can effectively complement camera systems, addressing privacy blind spots and improving threat response in smart homes.
Authors
- Junrie B. Matias (ORCID: https://orcid.org/0000-0001-9638-4667)
- Mark Daniel G. Dacer
Institutions
- Bukidnon State University (PH)
- Caraga State University (PH)
Publication Details
- Published
- 2025-06-12
- DOI
- https://doi.org/10.1109/icera66156.2025.11087280
- Primary Topic
- Music and Audio Processing
- Type
- article
- Field-Weighted Citation Impact
- 0.00