gasman / jsspeccy2

Ground-up rewrite of the Javascript Spectrum emulator
http://jsspeccy.zxdemo.org/
GNU General Public License v3.0
165 stars 43 forks source link

48k sound emulation routines #1

Closed dmcoles closed 11 years ago

dmcoles commented 11 years ago

Implemented sound emulation routines for the 48k spectrum buzzer using firefox audio data api.

dmcoles commented 11 years ago

added both 48k sound emulation and 128k sound emulation in firefox,chome and should work in safari too.

gasman commented 11 years ago

Excellent - I know this will make a lot of people very happy!

I've just done a spot of refactoring elsewhere in the code so that the sound module doesn't have to keep a handle to the display or processor. At the moment I do get a bit of sound break-up in Chrome, which I suspect is due to the frame timing in the rest of the emulator being not particularly accurate... will do some more experimenting to see if I can fix that.