I made a fork of SoundPressureLevel which solves the problem: Release 20230527 · Emojigit/SoundPressureLevel · GitHub