Calculate a microphone port's acoustic resonance
datasheetvend_calculate_mic_portHelmholtz resonance of the sound path in front of a MEMS microphone: tubes in order from the microphone outward (PCB hole, gasket, enclosure hole) and the air volume in front of the diaphragm. Returns the resonance frequency and, with band_upper_hz, the peaking at the top of your band; with max_peaking_db, a verdict. A lumped, UNDAMPED model: it gives the upper bound of the peaking, ignores mesh and viscous damping, and says nothing about rattle, wind noise or speaker echo. The front volume must come from the microphone's datasheet. Free with a DatasheetVend API key (no credits), no model call, reads no account data, stores nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"segments": "<segments>",
"front_volume_mm3": "<front_volume_mm3>"
},
"name": "datasheetvend_calculate_mic_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segments | Yes | The tubes in order, from the microphone outward. | |
| band_upper_hz | No | ||
| temperature_c | No | Default 20. | |
| max_peaking_db | No | ||
| front_volume_mm3 | Yes | Air volume in front of the diaphragm, mm^3: the microphone's front chamber plus any gasket cavity. |