How to set a initial/default silent state in YM-2413 / MSX-MUSIC / FM

By Bengalack

Champion (394)

Bengalack's picture

23-05-2021, 12:46

I've made a replayer for playback for recordings of raw YM-2413-register writes.

This works brilliantly in many ways. But at times I need to mute the tune, and then slightly later on, stream other data.

What I have done, for mute, is to set registers 0x30-0x38 to 0xFF (0x0F produced poorer result, with my test-music).

What happens is that this does not give an immediate mute. In addition, when I start stream other data again, there are artifacts.

I wonder if anyone has some hints on some good values to send to all the other registers too, so that we can silence this little rascal? :-)

Login or register to post comments

By Pencioner

Scribe (1462)

Pencioner's picture

23-05-2021, 18:06

You might have a look into VGMplay by @Grauw source code, maybe you find what you need there

By Metalion

Paragon (1420)

Metalion's picture

23-05-2021, 18:18

In my replayer, I simply did a Key-Off on voices (0x00 on registers 0x20 - 0x28).

By Bengalack

Champion (394)

Bengalack's picture

23-05-2021, 19:32

Metalion wrote:

In my replayer, I simply did a Key-Off on voices (0x00 on registers 0x20 - 0x28).

Thanks, that seems to work well.