Strange sound artifacts in Carnivore MSX cartridge
Closed this issue · 6 comments
Hi!
Your vm2413 model comprises a part of https://github.com/RBSC/Carnivore2 cartridge.
It produces some unwanted sound artefacts. They sound like high pitched buzz and the envelope of the buzz seems to have the same periodicity as the main waveform. Here are some signals that I have recorded:
Sounds like: https://instaud.io/19KV
Sounds like: https://instaud.io/19KX
I used Moonblaster 1.4 MSX tracker to set up the generators because I don't know a better way to test it. I think it's something in the model, because the amplitude of the envelope of the parasitic sound tends to have the same period as the main waveform.
Do you have any insight on what could be the problem here? Have you ever experienced anything similar? Thank you!
Hi,
This kind of problem depends on any stage: compile, synthesis and D/A conversion.
To isolate the place of the problem occurrence, please make sure MO and RO pin output with the model simulator.
If the problem occurs on hardware-level, D/A converter is very suspicious.
What kind of DAC is used with Carnivore?
The VM2413's MO/RO pin output is not a single audio stream. It's time division multiplexed. So it is possible that the pin output contains higher frequency signals which the DAC does not accept.
The detail of MO/RO output can be found in YM2413 specification.
Hi, thanks for the answer!
The DAC used in Carnivore 2 is YAC516-E.
Thank you very much for this insight. I have to pass this to the authors of the cartridge. I'm not intimately familiar with their code but from a quick glance over it, it seems that the data stream is passed directly to the DAC.
Thank you. I misunderstood you as an author of the firmware. Sorry for much technical details!!
I hope this information is useful for the author to investigate the problem.
Your technical details are precisely what I was hoping for. I'm very much into technical details of this kind, it's just in this particular case I'm not yet familiar with the specific project. I'm just trying to help solve a problem. Thanks again!