summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDSP/Music.h
diff options
context:
space:
mode:
authorDavid Isaksson <davidisaksson93@gmail.com>2021-09-18 16:43:44 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-11-08 16:29:25 -0800
commitfa4255bcf11889f0ab0739e04502ff927e246f14 (patch)
tree27e61c71368fdc51fec7068e12cbdddcdbb79c30 /Userland/Libraries/LibDSP/Music.h
parent1e3e0477cbb06e7510523d4a24b2bf9f3a400434 (diff)
downloadserenity-fa4255bcf11889f0ab0739e04502ff927e246f14.zip
LibAudio: Refactor out linear_to_log function and add its inverse
The conversion from a linear scale (how we think about audio) to a logarithmic scale (how audio actually works) will be useful for other operations, so let's extract it to its own utility function. Its inverse will also allow reversible operations to be written more easily.
Diffstat (limited to 'Userland/Libraries/LibDSP/Music.h')
0 files changed, 0 insertions, 0 deletions