VOGONS

Common searches


Search results

Display options

Re: How to make my PC speaker emulation support PCM audio?

in PC Emulation
Well, if your PIT emulation and downsampling work correctly, you should just get a regular PCM stream as output. I think you have to take it one step at a time... How about converting a .WAV file with PCM data to a 1.19 MHz PWM stream first, and then convert it back, to see if it works? You can make …

Re: How to make my PC speaker emulation support PCM audio?

in PC Emulation
It doesn't make a difference if I process a loop calling tickPIT 1.19 million times per second or do it within the function itself? It will only generate more function overhead compared to the current method? (Function being called ~1190000 times a second) It does if you only record one PIT state …

Re: How to make my PC speaker emulation support PCM audio?

in PC Emulation
I just took a quick look at your PIT code, but I'm not sure if I understand correctly. You seem to only record a single status for the PIT. So you have one status, and one reload point. That doesn't work if tickPIT() is not called often enough. Worst case, the PIT is set to a count of 1, which means …

Page 197 of 242