samirkumardas / pcm-player

A minimalist javascript audio player for PCM streaming audio
Other
297 stars 85 forks source link

hi,when i play this audio in ios safari web, it will get "AudioContext.createBuffer NotSupportedError". and i found it because "Safari's Web Audio implementation does only support AudioBuffers with 22050 Hz and more" from the link "https://stackoverflow.com/questions/54620363/safari-webkitaudiocontext-createbuffer-api-raises-notsupportederror-exception", so can you please solve this issue?thanks. #5

Closed frankzhong closed 4 years ago

frankzhong commented 4 years ago

sorry,this is not the player's issue, if you want to play 8000 samplerate audio in safari, you must resample the audio samplerate to higher; so i use Audacity to resample the example's .raw file to 44100, and it play well