Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_SOUND_H_
23 #define ZEPHYR_INCLUDE_ZSL_SOUND_H_
int zsl_phy_sound_dop_effect(zsl_real_t v, zsl_real_t vs, zsl_real_t vl, zsl_real_t fs, zsl_real_t *fl)
Calculates the frequency measured by a moving receptor while a sound emiting source moves towards it.
int zsl_phy_sound_beat(zsl_real_t fa, zsl_real_t fb, zsl_real_t *f)
Calculates the frequency of the beats created by the interference of two waves with different frequen...
API header file for zscilib.
int zsl_phy_sound_level(zsl_real_t i, zsl_real_t i0, zsl_real_t *b)
Calculates the sound intensity level in decibels based on the input intensity and a reference intensi...
int zsl_phy_sound_intensity(zsl_real_t b, zsl_real_t d, zsl_real_t p, zsl_real_t *i)
Calculates the sound intensity in watts per meter squared based on the Bulk Modulus (b) and density (...
int zsl_phy_sound_shock_wave_angle(zsl_real_t v, zsl_real_t vs, zsl_real_t *theta)
Calculates the angle of the mach wave created by a moving sound source of velocity 'vs'.
int zsl_phy_sound_press_amp(zsl_real_t b, zsl_real_t k, zsl_real_t a, zsl_real_t *p)
Calculates the mamimum acoustic pressure of a sound wave in pascals.