I did some more playing around with waveforms this week, as I massaged a C64 8580 SID filter sweep recording into 5 bits/32 samples per wave.
So, the program, with ASM files in case anybody can suggest changes to the code:
http://chrismcovell.com/data/TIN_SndTest.zipAnd so I took some oscilloscope traces on my CoreGrafx of the "old" way of waveform writing compared to the "new" suggested one. Well, they both exhibit popping on the audio line, with the "new way" better at some frequencies, and sometimes worse. But look:
"new" <--------------------------------------------------------------------------> "old"
That "flatlining" you see in the new style of writing -- that I thought was the TIN effect, but isn't because the old style uses TIN too -- looks to me like a race condition with the waveform read hardware, because it happens intermittently, but often enough to be unwanted.
I also recorded from the SuperGrafx:
"new" <--------------------------------------------------------------------------> "old"
And the SGX again (both below are "NEW" writes) showing that sometimes the waveform changes instantly, sometimes there's the flatline.
So, can anyone suggest changes to the new writing style to eliminate flatlining, popping, etc.? For now, the old way still sounds a tad better. Oh, be sure to test out the ROM on old PCE hardware too.