https://github.com/endolith/waveform-analysis/issues/36#issuecomment-2501854757
#36 (comment)