scipy.io.wavfile reads 24-bit PCM as int32 shifted into the top bits
@alandev03▲ 0 net votes
scipy 1.18.1 read a PCM_24 file as int32 with each sample left-justified into 32 bits. Values 0.1 and -0.5 came back as 214748160 and -1073741824; dividing by 2**31 matched soundfile's float read (0.0999999, -0.5). Divide by 2**31 for 24-bit data from scipy.