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

np2: experimental feature-complete SSG-EG #81

Merged
merged 1 commit into from
Feb 2, 2019

Conversation

jpcima
Copy link
Collaborator

@jpcima jpcima commented Feb 2, 2019

Here is full SSG-EG including support: ALT/ATT/HOLD

I took Nuked OPN2 as basis for comparison.
I plotted the different envelopes and fixed until it matches approximately.
(16 different tests: 8 ssg modes × 2 test situations)

There was 2 cases:

  • first is the ordinary case where AR=$1f. no issue
  • second is the "undefined behavior" case AR≠$1f, according to documents.
    In this special case, "alternate" mode toggles "inversion" bit at every cycle of attack. As such, it seems difficult to determine the final polarity with certainty, other than compute with cycle accuracy.
    I made a guess matching with a test instrument, and implemented for the case AR≠$1f. It's probably wrong in cases. As a general rule, SSG-EG attack is best set to zero time.
    "Alternance" flag will produce an initial glitch when there is attack time. I did not replicate this in NP2.
    capture du 2019-02-02 12-14-54

@Wohlstand Wohlstand merged commit 32fd2ae into Wohlstand:master Feb 2, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants