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

Problem when switching AR=0 tone #12

Closed
okaxaki opened this issue Sep 19, 2022 · 1 comment
Closed

Problem when switching AR=0 tone #12

okaxaki opened this issue Sep 19, 2022 · 1 comment
Labels

Comments

@okaxaki
Copy link
Member

okaxaki commented Sep 19, 2022

emu2413 v1.5.7 can not correctly perform ar0test.vgm.zip.

  • emu2413: The tone is changed into pure sine from the 3rd note.
  • real chip: The tone is changed into pure sine from the 4th note.

ar0test.vgm.zip is genarated from the following MGSDRV MML.

#opll_mode 1
#tempo 150

@v15 = { ;
;       TL FB
        63, 7,
; AR DR SL RR KL MT AM VB EG KR DT
  15, 0, 0,10, 0,15, 0, 0, 1, 0, 0,
  15, 0, 0,10, 0, 1, 0, 0, 1, 0, 0 }

@v16 = { ;
;       TL FB
        63, 7,
; AR DR SL RR KL MT AM VB EG KR DT
   0, 0, 0,10, 0,15, 0, 0, 1, 0, 0,
  15, 0, 0,10, 0, 1, 0, 0, 1, 0, 0 }

9 v15
9 @15 o4 c4 r4 c4 r4 @16 c4 r4 c4 r4

The intention of the MML above is to change the tone from the 3rd note.
The behavior of the real chip is counter-intuitive, but this should be emulated for accuracy.

@okaxaki
Copy link
Member Author

okaxaki commented Sep 21, 2022

Reopen: This is not fixed depends on register access timing.

@okaxaki okaxaki reopened this Sep 21, 2022
okaxaki added a commit to digital-sound-antiques/libkss-js that referenced this issue Sep 21, 2022
@okaxaki okaxaki closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant