W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

Sample Rate Conversion

From: <phi2x@free.fr>
Date: Sat, 20 Jul 2013 10:14:50 +0200 (CEST)
To: public-audio@w3.org
Message-ID: <1436387773.303131754.1374308090127.JavaMail.root@zimbra73-e12.priv.proxad.net>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:23 UTC