Update: To make matters more confusing, when I run the code segment above withing my larger Matlab script, I get this error message from audioread():
Error using audioread (line 127) Expected input number 2, range, to be integer-valued.
This is what prompted me in the first place to convert range as double type to int32.
