sound.js icon indicating copy to clipboard operation
sound.js copied to clipboard

sample rate

Open LoranRendel opened this issue 10 years ago • 1 comments

Some sounds looks not so sharp when playing with this library. Is there any sample rate settings?

LoranRendel avatar Feb 19 '15 13:02 LoranRendel

Apparently the sample rate is set by the WebAudio API (usually 44.1kHz) and isn't user-configurable(in the current version of the spec):

http://stackoverflow.com/questions/23310170/web-audio-api-changes-sample-rate-when-a-working-draft-is-released

If anyone has any other information about this, please let us know. :smile_cat:

kittykatattack avatar Apr 01 '15 20:04 kittykatattack