Model Test is the complete research and testing environment used during the development of the Aniquen Wake Word AI.
This repository contains every stage of the wake-word pipeline including browser inference, server inference, microphone recording, offline validation, ONNX model execution, audio preprocessing and debugging utilities.
It is designed for experimenting with keyword spotting models before deployment into production applications.
- Features
- Screenshots
- Technologies
- Project Structure
- Architecture
- How It Works
- Testing Workflow
- Installation
- Future Improvements
- Contributing
- License
- Author
β Browser Wake Word Detection
β Server Wake Word Detection
β ONNX Runtime Integration
β Mel Spectrogram Generation
β Embedding Extraction
β Keyword Spotting Model
β Live Microphone Streaming
β WebSocket Communication
β Offline Pipeline Testing
β WAV Recording Utility
β Automatic Audio Resampling
β Float32 PCM Processing
β Real-Time Detection Visualization
β Debug Probability Logging
β Research & Benchmark Environment
Microphone
β
βΌ
Browser
β
ββββββββββββββΊ Recorder
β
ββββββββββββββΊ Offline Test
β
ββββββββββββββΊ Browser Pipeline
β
ββββββββββββββΊ WebSocket
β
βΌ
FastAPI Server
β
Mel Spectrogram
β
Embedding Model
β
Wake Word Model
β
Detection Result
- HTML5
- CSS3
- JavaScript (ES6)
- Python
- FastAPI
- WebSocket API
- ONNX Runtime Web
- ONNX Runtime
- NumPy
AI Models
- Mel Spectrogram Model
- Embedding Model
- Hey Aniquen Wake Word Model
Model-Test/
β
βββ index.html
βββ record.html
βββ test_offline.html
βββ script_server.js
βββ style.css
βββ recording.wav
β
βββ embedding_model.onnx
βββ melspectrogram.onnx
βββ hey_Aniquen.onnx
β
βββ README.md
- Access microphone
β
- Capture Float32 PCM audio
β
- Resample to 16 kHz
β
- Stream audio over WebSocket
β
- Receive wake probability
β
- Trigger wake-word animation
- Load recording.wav
β
- Generate Mel Spectrogram
β
- Create Embeddings
β
- Run Wake Word Model
β
- Print probabilities
β
- Verify detection threshold
The recorder captures:
- 16 kHz Mono Audio
- Float32 PCM
- WAV Export
- Six-second Test Clips
These recordings are used for validating the AI models.
Audio
β
Mel Spectrogram
β
Embedding Network
β
Context Window
β
Wake Word Model
β
Probability Score
β
Detection
The repository supports multiple testing modes.
Real-time microphone detection using WebSockets.
Replay recorded audio and inspect probability values.
Generate clean WAV recordings for model evaluation.
Test production server communication before deployment.
Clone the repository
git clone https://github.com/dhruvpandit46/Model-Test.gitGo inside the project
cd Model-TestRun
Simply open
index.html
or
record.html
or
test_offline.html
using a local web server.
- Multiple wake words
- Noise robustness evaluation
- ROC Curve visualization
- Accuracy benchmarking
- False positive analysis
- TensorFlow Lite support
- WebGPU acceleration
- Mobile optimization
- Confidence heatmaps
- Automatic dataset generation
Contributions are welcome.
-
Fork the repository
-
Create your feature branch
-
Commit your changes
-
Push your branch
-
Open a Pull Request
Licensed under the MIT License.
MIT Β© 2026 Dhruv Pandit.
See the LICENSE file for full license details.
Dhruv Pandit
GitHub
https://github.com/dhruvpandit46
https://linkedin.com/in/dhruv-pandit-755786326
https://instagram.com/dhruv_pandit2007
| Repository | Description |
|---|---|
| π€ Aniquen | AI Voice Assistant |
| π§ aniquen-server | Backend AI Inference Engine |
| π§ͺ Model Test | Wake Word Research & Testing Environment |
| π€ Anique AI Voice | Text-to-Speech Server |
| π¬ Anique AI | Browser-Based AI Chatbot |
If you found this project useful,
please consider giving it a β on GitHub.
It helps support future development.



