returns the sound attenuation coefficient in moist air for the specified parameters spec for frequency.
returns the sound attenuation factor for the specified parameters at distance.
returns the sound level at distance given the source sound level sl.
transforms audio based on the distance from the source.
Details and Options
- spec should be an association with keys corresponding to the following parameters:
"DewPointTemperature" dew point temperature "DryBulbTemperature" dry bulb temperature "HumidityRatio" humidity ratio "Pressure" air pressure "RelativeHumidity" relative humidity "WetBulbTemperature" wet bulb temperature
- "DryBulbTemperature" is necessary, as is the inclusion of one of the other temperature or humidity measures. "Pressure" is optional.
- Unless specified, "Pressure" is assumed to have the value of Quantity[101325,"Pascals"].
- In the case of inclusion of multiple humidity measures, values will be used in the following order of precedence: "DewPointTemperature", "RelativeHumidity", "HumidityRatio", "DewPointTemperature".
- frequency should be a Quantity within the range of 50 Hz to 20 kHz.
- distance should be a Quantity of dimension length.
- The sound attenuation coefficient is returned in units of decibels per unit length.
- The sound attenuation factor is the numerical factor by which the source sound level is scaled down.
- The following options can be given:
Method Automatic method to use UnitSystem $UnitSystem specify units in returned quantities
- UnitSystem supports the settings "Imperial" and "Metric". The sound attenuation coefficient is returned in units of decibels per meter in metric units and units of decibels per foot in imperial units.
- Method supports the method "IncludeDispersion" that adjusts to account for dispersion of sound due to distance traveled. The option "ReferenceDistance" allows the distance that the source sound level or audio was sampled at to be specified.
- sl should be a decibel Quantity or a unit compatible with decibels such as nepers, octaves or decades.
- Sound levels are returned in the same units as sl.
- audio should be a valid Audio object. The result will be an Audio object where the sound is attenuated according to frequency and distance.
Examplesopen allclose all
Basic Examples (3)
Wolfram Research (2020), AirSoundAttenuation, Wolfram Language function, https://reference.wolfram.com/language/ref/AirSoundAttenuation.html.
Wolfram Language. 2020. "AirSoundAttenuation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AirSoundAttenuation.html.
Wolfram Language. (2020). AirSoundAttenuation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AirSoundAttenuation.html