AirSoundAttenuation
AirSoundAttenuation[spec,frequency]
returns the sound attenuation coefficient in moist air for the specified parameters spec for frequency.
AirSoundAttenuation[spec,frequency, distance]
returns the sound attenuation factor for the specified parameters at distance.
AirSoundAttenuation[spec,frequency, distance,sl]
returns the sound level at distance given the source sound level sl.
AirSoundAttenuation[spec,audio, distance]
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.
Examples
open allclose allBasic Examples (3)
Scope (5)
Calculate the sound attenuation factor using distance and frequency:
Compute the attenuated sound level in octaves:
Visualize the attenuation coefficient as a function of frequency:
Examine how the sound attenuation coefficient changes with temperature:
Compare to the behavior of the sound attenuation coefficient with increasing relative humidity:
Options (4)
Method (2)
UnitSystem (2)
By default, results are in "Metric" units:
Set UnitSystem to "Imperial" to specify that results be in decibels per foot:
UnitConvert can also be used to adjust the units:
Text
Wolfram Research (2020), AirSoundAttenuation, Wolfram Language function, https://reference.wolfram.com/language/ref/AirSoundAttenuation.html.
CMS
Wolfram Language. 2020. "AirSoundAttenuation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AirSoundAttenuation.html.
APA
Wolfram Language. (2020). AirSoundAttenuation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AirSoundAttenuation.html