kittykatattack / sound.js

A micro-library to load, play and generate sound effects and music for games and interactive applications
300 stars 44 forks source link

sample rate #1

Open LoranRendel opened 9 years ago

LoranRendel commented 9 years ago

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

kittykatattack commented 9 years ago

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: