Personal Agent Auditory Acoustic Decibel Dosimeter Skill
by Alpha-Park
README.md
# Personal Agent Auditory Acoustic Decibel Dosimeter Skill
[](https://github.com/Alpha-Park)
[](https://github.com/alphaparkinc)
[](https://www.python.org/)
[](https://modelcontextprotocol.io/)
[](https://github.com/Alpha-Park)
Zero-dependency NIOSH/OSHA cumulative noise dose calculator, equivalent sound level (Leq) modeler, and Temporary Threshold Shift (TTS) cochlear recovery evaluator.
## Architecture
```mermaid
flowchart TD
SoundSegments[Acoustic Exposures: SPL dBA & Duration Hours] --> DosimeterEngine[Acoustic Dosimeter Engine]
DosimeterEngine --> NIOSHExchange[NIOSH 3dB / OSHA 5dB Exchange Rate]
NIOSHExchange --> NoiseDosePct[Cumulative Daily Noise Dose %]
DosimeterEngine --> LeqCalc[Equivalent Continuous Sound Level: Leq dBA]
DosimeterEngine --> TWACalc[8-Hour Time-Weighted Average: TWA dBA]
AcuteExposure[Peak Noise dBA & Duration Mins] --> TTSEngine[Ward Temporary Threshold Shift Modeler]
TTSEngine --> RecoveryHours[Quiet Ambient Recovery Time Hours < 55 dBA]
```
## Quickstart
```python
from client import PersonalAgentAuditoryAcousticDecibelDosimeter
agent = PersonalAgentAuditoryAcousticDecibelDosimeter()
res = agent.calculate_cumulative_noise_dose([{"sound_pressure_level_dba": 88.0, "duration_hours": 2.0}])
print(f"Dose: {res['cumulative_noise_dose_pct']}% | TWA: {res['eight_hour_time_weighted_average_twa_dba']} dBA")
```
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues