I now can stream and play an audio file. this works fine when the format of the audio file is 44100Hz PCM.
I want to stream and play an audio file whose format is 8000Hz ulaw. Converting the samples from 1 byte ulaw to 2 bytes PCM is trivial, but converting the ample rate from 8000 to 44100 is more complicated.
I'd like to the sound object to set the audio bitrate to 8000 but I can't find a method or property