acoustics Module

A module with routines for acoustics.


Uses

  • module~~acoustics~~UsesGraph module~acoustics acoustics module~forsynth forsynth module~acoustics->module~forsynth iso_fortran_env iso_fortran_env module~forsynth->iso_fortran_env

Used by

  • module~~acoustics~~UsedByGraph module~acoustics acoustics program~shepard_scale shepard_scale program~shepard_scale->module~acoustics

Functions

public pure function dB_to_linear(dB)

This function converts dB to an amplitude. At 0 dB, our amplitude reference value is 1. -6 dB is approximately 1/2 (~0.50118...). -20 dB is 1/10. https://en.wikipedia.org/wiki/Decibel

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: dB

Return Value real(kind=wp)