Arlorean / Casper

ZX Spectrum Emulator for C# Blazor WebAssembly
MIT License
17 stars 0 forks source link

Sound is stuttering #1

Open amigax opened 1 year ago

amigax commented 1 year ago

The sound seems to stutter when I build it, any ideas?

Arlorean commented 1 year ago

I've just built it locally from the source on github and (after retargeting to 4.6.2) got a WinForms build. I can't hear an obvious problem with the sound in ManicMiner. Are you trying a different game or are you targeting a different version of .NET that I can reproduce it on? As a side note, the approach I took to the sound reproduction may not be the best and was never part of our original C or Java versions.

amigax commented 1 year ago

Apologies, I wasnt thinking straight. I actually ported it to Unity c# and the sound is poor. Your winforms build seems to have pretty perfect sound. I dont suppose u know any reason why it may sound awful in unity :)

Arlorean commented 1 year ago

I've not done any dynamic sound generation in Unity to know the ins and outs of it I'm afraid. Do you the Unity version of the repository public on GitHub that I could take a look at?

amigax commented 1 year ago

I will set that up and let you know, thanks a lot.