Sample Rate Conversion

Hi,

I'm the author of CPCBox ( http://cpcbox.com ), a Javascript emulator of the Amstrad CPC 8-bit computer.
The soundchip used by the Amstrad is a GI AY-3-8910 @ 1MHz. It outputs sound at a 125kHz sample rate.

For now, I'm using Mozilla's Audio Data API to render sound.
I'm looking to migrate it to the Web Audio API, and I'm concerned with how to make it happen.

I've skimmed through the spec hunting for a sample rate converter module and didn't found any.
So, the question is: how can I output to the speakers the 125kHz sound stream that I generate?

I really hope that use case won't be neglected, because it's key for emulators.

Regards,
phi2x

Received on Sunday, 21 July 2013 19:48:42 UTC