distance_for_target_spl
Estimate the free-field distance where sound-pressure level drops to a target value, using inverse-square spreading and optional ISO 9613-1 atmospheric absorption.
Instructions
Estimate the free-field distance at which SPL equals a target level.
Solves the inverse of spl_at_distance numerically. Same model and caveats:
inverse-square spreading, plus ISO 9613-1 absorption when frequency_hz is
set.
Args:
source_spl_db: Free-field sound-pressure level at the reference
distance, in decibels.
ref_distance_m: Distance at which source_spl_db applies, in metres.
target_spl_db: Desired sound-pressure level, in decibels.
frequency_hz: Pure-tone frequency for ISO 9613-1 absorption. Leave
unset to apply spreading only.
temperature_c: Air temperature in degrees Celsius (default 20).
humidity_pct: Relative humidity in percent (default 70).
pressure_kpa: Atmospheric pressure in kilopascals (default 101.325).
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": {
"source_spl_db": "<source_spl_db>",
"ref_distance_m": "<ref_distance_m>",
"target_spl_db": "<target_spl_db>"
},
"name": "distance_for_target_spl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frequency_hz | No | ||
| humidity_pct | No | ||
| pressure_kpa | No | ||
| source_spl_db | Yes | ||
| target_spl_db | Yes | ||
| temperature_c | No | ||
| ref_distance_m | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||