2026-03-26 17:00:58 +01:00
# Requirements: NetSynth
**Defined:** 2026-03-26
**Core Value:** Network traffic patterns are instantly recognizable as distinct sounds — a ping sounds different from HTTPS noise, which sounds different from a port scan.
## v1.1 Requirements
Requirements for custom sound mappings milestone. Each maps to roadmap phases.
### Config Loading
2026-03-26 20:59:46 +01:00
- [x] **CFG-01** : User can create a TOML config file that overrides default sound mappings
- [x] **CFG-02** : Tool auto-discovers config from `./netsynth.toml` or `~/.config/netsynth/config.toml` (silent if absent)
2026-03-26 21:05:50 +01:00
- [x] **CFG-03** : User can specify an explicit config path via `--config` flag (error if file missing)
2026-03-26 20:59:46 +01:00
- [x] **CFG-04** : User can override individual values without replicating the entire default config (partial override)
- [x] **CFG-05** : Unknown keys in config file produce a clear error with the typo'd key name
2026-03-26 17:00:58 +01:00
- [ ] **CFG-06** : User can run `netsynth --print-config` to see the effective config as commented TOML
### Waveforms
2026-03-26 17:35:54 +01:00
- [x] **WAVE-01** : User can set waveform type per traffic class (sine, square, sawtooth, triangle)
- [x] **WAVE-02** : Non-sine waveforms use bandlimited additive synthesis (no aliasing artifacts)
2026-03-26 17:00:58 +01:00
### Custom Rules
- [ ] **RULE-01** : User can define custom classification rules in TOML (match by port and/or protocol, assign class name and sound)
- [ ] **RULE-02** : User-defined rules take priority over built-in rules (prepend before defaults)
- [ ] **RULE-03** : User-defined class names automatically get a synthesis layer (no silent gaps)
## Future Requirements
Deferred to later releases.
### Audio Tuning
- **TUNE-01**: User can configure time window duration via `--window` flag
- **TUNE-02**: User can configure output duration when reading pcap files via `--duration` flag
### Distribution
- **DIST-01**: Single static binary with no runtime dependencies
## Out of Scope
| Feature | Reason |
|---------|--------|
| Stereo position configuration | Keeps v1.1 scope focused; add in future if requested |
| Real-time audio playback | File output only — established v1.0 constraint |
| GUI config editor | CLI-only tool; TOML is human-editable |
| JSON/YAML config format | TOML chosen for readability; one format keeps it simple |
| Config hot-reload | Non-interactive tool; config read once at startup |
## Traceability
Which phases cover which requirements. Updated during roadmap creation.
| Requirement | Phase | Status |
|-------------|-------|--------|
2026-03-26 20:59:46 +01:00
| CFG-01 | Phase 6 | Complete |
| CFG-02 | Phase 6 | Complete |
2026-03-26 21:05:50 +01:00
| CFG-03 | Phase 6 | Complete |
2026-03-26 20:59:46 +01:00
| CFG-04 | Phase 6 | Complete |
| CFG-05 | Phase 6 | Complete |
2026-03-26 17:04:26 +01:00
| CFG-06 | Phase 7 | Pending |
2026-03-26 17:35:54 +01:00
| WAVE-01 | Phase 5 | Complete |
| WAVE-02 | Phase 5 | Complete |
2026-03-26 17:04:26 +01:00
| RULE-01 | Phase 7 | Pending |
| RULE-02 | Phase 7 | Pending |
| RULE-03 | Phase 7 | Pending |
2026-03-26 17:00:58 +01:00
**Coverage:**
- v1.1 requirements: 11 total
2026-03-26 17:04:26 +01:00
- Mapped to phases: 11
- Unmapped: 0
2026-03-26 17:00:58 +01:00
---
*Requirements defined: 2026-03-26*
2026-03-26 17:04:26 +01:00
*Last updated: 2026-03-26 after roadmap creation (traceability complete)*