Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The noise channel does not use the full envelope #5

Open
jotego opened this issue Feb 7, 2021 · 2 comments
Open

The noise channel does not use the full envelope #5

jotego opened this issue Feb 7, 2021 · 2 comments

Comments

@jotego
Copy link

jotego commented Feb 7, 2021

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

@nukeykt
Copy link
Owner

nukeykt commented Feb 8, 2021

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?

@jotego
Copy link
Author

jotego commented Feb 8, 2021

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants