Hi, I have a technical question related to the YM-2149. Hope any of you can help me to solve it.
The problem is that if I update the frecuency of any of it's tone generators successively using it's tone coarse and fine registers ( f.ex R0 and R1 in channel 1 ) sometimes I hear a bit of noise during a short period of time. It seems like the tone oscil.lator desinchronizes while I am updating those registers, and once I've finished it continues playing the right sound.
So for example if I continuously execute this operation to set a frecuency into one of the tone generators:
set ( R0,0xAA) ; //set freq on CH 1 (fine )
set ( R1,0x04) ; // (coarse)
Despite I'am updating all the times the Register with the same frequency, sometimes I hear a desinchronization in the oscillator ( I can see it with an oscilloscope ). What can I do to avoid this ?
I have posted a video to make my question easier to understand http://www.youtube.com/watch?v=ViK7b_1rNqA&feature=channel_page
Thanks in advance!