Nuked-OPM icon indicating copy to clipboard operation
Nuked-OPM copied to clipboard

The noise channel does not use the full envelope

Open jotego opened this issue 5 years ago • 2 comments

It looks like the envelope gets serial data starts showing at chip cycle 5, but the noise channel is latched at cycle 12. After cycle 12, the EG serial bit keeps showing activity for the last two bits of the envelope.

I find this a bit suspicious. Is the synthesizer really throwing away the two LSBs of the envelope?

Here are time waveforms obtained directly from your code illustrating this:

imagen

jotego avatar Feb 07 '21 07:02 jotego

I think it is correct. Any timing issue in noise channel code would affect noise channel volume. Maybe worth testing this behavior on hardware tests though. Do you have ability to digitally capture noise channel output using real YM2151 chip?

nukeykt avatar Feb 08 '21 09:02 nukeykt

I used to have that setup several years ago. I took hundreds of measurements but for some reason, I couldn't get the noise to work (phase and envelope measurements ran well).

jotego avatar Feb 08 '21 11:02 jotego